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"