install for all users and correct install dir

This commit is contained in:
Mario Fetka 2013-08-21 11:45:36 +02:00
parent 30c893e63c
commit 84cbdd214e
5 changed files with 6 additions and 22 deletions

View File

@ -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]

View File

@ -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%

View File

@ -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"

View File

@ -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"

View File

@ -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"