change LogDir; add ProductProperty desktoplink, custom-post-install, custom-post-uninstall

fix incorrect path for the InstallDir64
fix 64 Bit System uninstall - change to GetRegistryStringValue32
This commit is contained in:
Dominik Daehn
2019-06-19 07:02:16 +02:00
parent aa2db092f8
commit 9180c4c50e
4 changed files with 104 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ DefVar $OLD_RELEASE$
Set $INST_SystemType$ = GetSystemType
set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
Set $LogDir$ = "%SystemDrive%\tmp"
Set $LogDir$ = "%opsiLogDir%"
; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh
; and adds the following variables:
@@ -41,7 +41,7 @@ Set $LogDir$ = "%SystemDrive%\tmp"
; - Please edit the following values -
; ----------------------------------------------------------------
Set $InstallDir32$ = "%ProgramFiles32Dir%\Brackets"
Set $InstallDir64$ = "%ProgramFiles64Dir%\Brackets"
Set $InstallDir64$ = "%ProgramFiles32Dir%\Brackets"
; ----------------------------------------------------------------
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"