add File Type Assoc support to template neede on more and more packages

This commit is contained in:
Mario Fetka 2019-09-20 11:49:37 +02:00
parent 353445850d
commit 1f436ed826
4 changed files with 46 additions and 0 deletions

View File

@ -84,6 +84,9 @@ else
comment "Create shortcuts"
LinkFolder_install
comment "File Type Association"
FileTypeAssoc_install
endif
[Winbatch_install]
@ -163,6 +166,16 @@ copy "$IniCfgFile$" "$InstallDir$"
; icon_index: 2
; 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]
if opsiLicenseManagementEnabled
comment "License management is enabled and will be used"

View File

@ -93,6 +93,8 @@ else
Registry_install /32Bit
comment "Create shortcuts"
LinkFolder_install
comment "File Type Association"
FileTypeAssoc_install
endif
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
comment "Create shortcuts"
LinkFolder_install
comment "File Type Association"
FileTypeAssoc_install
endif
endif
@ -223,6 +227,16 @@ copy "$IniCfgFile$" "$InstallDir64$"
; icon_index: 2
; 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]
comment "License management is enabled and will be used"

View File

@ -84,6 +84,9 @@ else
comment "Create shortcuts"
LinkFolder_install
comment "File Type Association"
FileTypeAssoc_install
endif
[Winbatch_install]
@ -163,6 +166,16 @@ copy "$IniCfgFile$" "$InstallDir$"
; icon_index: 2
; 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]
if opsiLicenseManagementEnabled
comment "License management is enabled and will be used"

View File

@ -36,3 +36,9 @@ requiredProduct: sereby.aio
requiredStatus: installed
requirementType: before
[ProductDependency]
action: setup
requiredProduct: danysys.sfta
requiredStatus: installed
requirementType: before