install for all users and correct install dir
This commit is contained in:
parent
30c893e63c
commit
84cbdd214e
@ -39,27 +39,11 @@ comment "Delete program shortcuts"
|
||||
LinkFolder_uninstall
|
||||
|
||||
[Winbatch_uninstall_old]
|
||||
; Choose one of the following examples as basis for program uninstall
|
||||
;
|
||||
; === Nullsoft Scriptable Install System ================================================================
|
||||
; maby better Call as
|
||||
; Winbatch_uninstall /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
||||
; "$UninstallProgramOld$" /S
|
||||
;
|
||||
; === Inno Setup ========================================================================================
|
||||
; "$UninstallProgramOld$" /silent /norestart /SUPPRESSMSGBOXES /nocancel
|
||||
"$UninstallProgramOld$" /silent /uninstall
|
||||
|
||||
|
||||
[Winbatch_uninstall]
|
||||
; Choose one of the following examples as basis for program uninstall
|
||||
;
|
||||
; === Nullsoft Scriptable Install System ================================================================
|
||||
; maby better Call as
|
||||
; Winbatch_uninstall /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
||||
; "$UninstallProgram$" /S
|
||||
;
|
||||
; === Inno Setup ========================================================================================
|
||||
; "$UninstallProgram$" /silent /norestart /SUPPRESSMSGBOXES /nocancel
|
||||
"$UninstallProgram$" /silent /uninstall
|
||||
|
||||
|
||||
[Files_uninstall]
|
||||
|
@ -8,7 +8,7 @@ VERSION=version
|
||||
AddUninstall=1
|
||||
AddUninstallShortcut=1
|
||||
DesktopShortcut=1
|
||||
InstallTo=2
|
||||
InstallTo=1
|
||||
StartMenuShortcut=1
|
||||
NoUserInteraction=1
|
||||
InstallFolder=%zi.ProgramFiles%\%zi.ProductName%
|
||||
|
@ -39,7 +39,7 @@ Set $LogDir$ = "%SystemDrive%\tmp"
|
||||
; no white space use '-' as a seperator
|
||||
Set $MinimumSpace$ = "4 MB"
|
||||
; the path were we find the product after the installation
|
||||
Set $InstallDir$ = "%ProgramFiles32Dir%\Melk\CapsLock Goodbye"
|
||||
Set $InstallDir$ = "%ProgramFiles32Dir%\CapsLock Goodbye"
|
||||
; ----------------------------------------------------------------
|
||||
|
||||
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
|
||||
|
@ -33,7 +33,7 @@ Set $LogDir$ = "%SystemDrive%\tmp"
|
||||
; ----------------------------------------------------------------
|
||||
; - Please edit the following values -
|
||||
; ----------------------------------------------------------------
|
||||
Set $InstallDir$ = "%ProgramFiles32Dir%\Melk\CapsLock Goodbye"
|
||||
Set $InstallDir$ = "%ProgramFiles32Dir%\CapsLock Goodbye"
|
||||
; ----------------------------------------------------------------
|
||||
|
||||
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
|
||||
|
@ -28,7 +28,7 @@ ICON_DL_INDEX=0
|
||||
|
||||
OPSI_INI_SECTION[0]="X86"
|
||||
OPSI_INI_OPTION[0]="UninstallProg"
|
||||
OPSI_INI_VALUE[0]="capslockgoodbye.exe"
|
||||
OPSI_INI_VALUE[0]="zipinst.exe"
|
||||
|
||||
OPSI_INI_SECTION[1]="install"
|
||||
OPSI_INI_OPTION[1]="ProductVersion"
|
||||
|
Loading…
Reference in New Issue
Block a user