force an generic installdir without version in name

This commit is contained in:
Mario Fetka 2013-03-25 05:25:23 +01:00
parent a343059d23
commit 8311443dac
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ Set $LogDir$ = "%SystemDrive%\tmp"
; no white space use '-' as a seperator
Set $MinimumSpace$ = "50 MB"
; the path were we find the product after the installation
Set $InstallDir$ = "%ProgramFiles32Dir%\MySQL Workbench 5.2 CE"
Set $InstallDir$ = "%ProgramFiles32Dir%\MySQL\Workbench"
; ----------------------------------------------------------------
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
@ -75,7 +75,7 @@ else
endif
[Winbatch_install]
msiexec /i "$InstallMsi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress
msiexec /i "$InstallMsi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress INSTALLDIR=$InstallDir$
[Files_install]
; copy the ini file to the InstallDir

View File

@ -32,7 +32,7 @@ Set $LogDir$ = "%SystemDrive%\tmp"
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
Set $InstallDir$ = "%ProgramFiles32Dir%\MySQL Workbench 5.2 CE"
Set $InstallDir$ = "%ProgramFiles32Dir%\MySQL\Workbench"
; ----------------------------------------------------------------
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"