add File Type Assoc support to template neede on more and more packages
This commit is contained in:
parent
353445850d
commit
1f436ed826
@ -84,6 +84,9 @@ else
|
|||||||
comment "Create shortcuts"
|
comment "Create shortcuts"
|
||||||
LinkFolder_install
|
LinkFolder_install
|
||||||
|
|
||||||
|
comment "File Type Association"
|
||||||
|
FileTypeAssoc_install
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
[Winbatch_install]
|
[Winbatch_install]
|
||||||
@ -163,6 +166,16 @@ copy "$IniCfgFile$" "$InstallDir$"
|
|||||||
; icon_index: 2
|
; icon_index: 2
|
||||||
; end_link
|
; end_link
|
||||||
|
|
||||||
|
[FileTypeAssoc_install]
|
||||||
|
; Sample Usage:
|
||||||
|
; Set Acrobat Reader DC as Default .pdf reader:
|
||||||
|
;
|
||||||
|
; SFTA AcroExch.Document.DC .pdf
|
||||||
|
;
|
||||||
|
; Set Sumatra PDF as Default .pdf reader:
|
||||||
|
;
|
||||||
|
; SFTA Applications\SumatraPDF.exe .pdf
|
||||||
|
|
||||||
[Sub_get_licensekey]
|
[Sub_get_licensekey]
|
||||||
if opsiLicenseManagementEnabled
|
if opsiLicenseManagementEnabled
|
||||||
comment "License management is enabled and will be used"
|
comment "License management is enabled and will be used"
|
||||||
|
@ -93,6 +93,8 @@ else
|
|||||||
Registry_install /32Bit
|
Registry_install /32Bit
|
||||||
comment "Create shortcuts"
|
comment "Create shortcuts"
|
||||||
LinkFolder_install
|
LinkFolder_install
|
||||||
|
comment "File Type Association"
|
||||||
|
FileTypeAssoc_install
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
|
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
|
||||||
@ -107,6 +109,8 @@ else
|
|||||||
Registry_install /64Bit
|
Registry_install /64Bit
|
||||||
comment "Create shortcuts"
|
comment "Create shortcuts"
|
||||||
LinkFolder_install
|
LinkFolder_install
|
||||||
|
comment "File Type Association"
|
||||||
|
FileTypeAssoc_install
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
@ -223,6 +227,16 @@ copy "$IniCfgFile$" "$InstallDir64$"
|
|||||||
; icon_index: 2
|
; icon_index: 2
|
||||||
; end_link
|
; end_link
|
||||||
|
|
||||||
|
[FileTypeAssoc_install]
|
||||||
|
; Sample Usage:
|
||||||
|
; Set Acrobat Reader DC as Default .pdf reader:
|
||||||
|
;
|
||||||
|
; SFTA AcroExch.Document.DC .pdf
|
||||||
|
;
|
||||||
|
; Set Sumatra PDF as Default .pdf reader:
|
||||||
|
;
|
||||||
|
; SFTA Applications\SumatraPDF.exe .pdf
|
||||||
|
|
||||||
[Sub_get_licensekey]
|
[Sub_get_licensekey]
|
||||||
comment "License management is enabled and will be used"
|
comment "License management is enabled and will be used"
|
||||||
|
|
||||||
|
@ -84,6 +84,9 @@ else
|
|||||||
comment "Create shortcuts"
|
comment "Create shortcuts"
|
||||||
LinkFolder_install
|
LinkFolder_install
|
||||||
|
|
||||||
|
comment "File Type Association"
|
||||||
|
FileTypeAssoc_install
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
[Winbatch_install]
|
[Winbatch_install]
|
||||||
@ -163,6 +166,16 @@ copy "$IniCfgFile$" "$InstallDir$"
|
|||||||
; icon_index: 2
|
; icon_index: 2
|
||||||
; end_link
|
; end_link
|
||||||
|
|
||||||
|
[FileTypeAssoc_install]
|
||||||
|
; Sample Usage:
|
||||||
|
; Set Acrobat Reader DC as Default .pdf reader:
|
||||||
|
;
|
||||||
|
; SFTA AcroExch.Document.DC .pdf
|
||||||
|
;
|
||||||
|
; Set Sumatra PDF as Default .pdf reader:
|
||||||
|
;
|
||||||
|
; SFTA Applications\SumatraPDF.exe .pdf
|
||||||
|
|
||||||
[Sub_get_licensekey]
|
[Sub_get_licensekey]
|
||||||
if opsiLicenseManagementEnabled
|
if opsiLicenseManagementEnabled
|
||||||
comment "License management is enabled and will be used"
|
comment "License management is enabled and will be used"
|
||||||
|
@ -36,3 +36,9 @@ requiredProduct: sereby.aio
|
|||||||
requiredStatus: installed
|
requiredStatus: installed
|
||||||
requirementType: before
|
requirementType: before
|
||||||
|
|
||||||
|
[ProductDependency]
|
||||||
|
action: setup
|
||||||
|
requiredProduct: danysys.sfta
|
||||||
|
requiredStatus: installed
|
||||||
|
requirementType: before
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user