add ProductProperty desktoplink, defaultassociations, custom-post-install, custom-post-uninstall to control-File

This commit is contained in:
Dominik Daehn 2019-06-13 06:48:03 +02:00
parent 71c5b93a52
commit 603d7d60d3
2 changed files with 34 additions and 4 deletions

View File

@ -86,8 +86,8 @@ else
; Sub_check_exitcode
comment "Copy files"
Files_install_32 /32Bit
; Files_install_config /AllNtUserProfiles
; DosInAnIcon_set_config
Files_install_config /AllNtUserProfiles
DosInAnIcon_set_config
Set $InstallDir$ = $InstallDir32$
Set $ProgExe$ = $Prog32$
Set $Property_defaultassociations$ = GetProductProperty("defaultassociations","true")
@ -113,8 +113,8 @@ else
; Sub_check_exitcode
comment "Copy files"
Files_install_64 /64Bit
; Files_install_config /AllNTUserProfiles
; DosInAnIcon_set_config
Files_install_config /AllNTUserProfiles
DosInAnIcon_set_config
Set $InstallDir$ = $InstallDir64$
Set $ProgExe$ = $Prog64$
Set $Property_defaultassociations$ = GetProductProperty("defaultassociations","true")

View File

@ -30,6 +30,36 @@ description: which architecture (32/64 bit) has to be installed
values: ["32 only", "64 only", "both", "system specific"]
default: ["system specific"]
[ProductProperty]
type: bool
name: desktoplink
description: Show Desktop Link on/off
default: False
[ProductProperty]
type: bool
name: defaultassociations
description: Set defaultassociations true/false (BMP-bmp DDS-dds GIF-gif JPG-jpg JPE-jpe JPEG-jpeg PCX-pcx PNG-png PSD-psd 8PSD-8psd TGA-tga TIF-tif TIFF-tiff DCX-dcx EMF-emf EXR-exr FLC-flc FLI-fli ICO-ico JBG-jbg JBIG-jbig JP2-jp2 JPC-jpc J2K-j2k MNG-mng BPM-bpm PCD-pcd RGB-rgb WBMP-wbmp WBM-wbm WEBP-webp WMF-wmf WPG-wpg XBM-xbm XCF-xcf XPM-xpm)
default: True
[ProductProperty]
type: unicode
name: custom-post-install
multivalue: False
editable: True
description: Define filename for include script in custom directory after installation
values: ["none"]
default: ["none"]
[ProductProperty]
type: unicode
name: custom-post-uninstall
multivalue: False
editable: True
description: Define filename for include script in custom directory after uninstallation
values: ["none"]
default: ["none"]
[ProductDependency]
action: setup
requiredProduct: sereby.aio