add the tcc.exe dir to the system path

This commit is contained in:
Mario Fetka
2013-05-06 19:50:54 +02:00
parent cca00db569
commit 22c16d32ef
3 changed files with 21 additions and 4 deletions

View File

@@ -57,6 +57,8 @@ Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
Set $RealInstall32Msi$ = $LogDir$ + "\" + $Extract32Dir$ + "\" + $Install32Msi$
Set $RealInstall64Msi$ = $LogDir$ + "\" + $Extract64Dir$ + "\" + $Install64Msi$
Set $RealPath32Dir$ = $InstallDir32$ + "\" + $Path32Dir$
Set $RealPath64Dir$ = $InstallDir64$ + "\" + $Path64Dir$
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProductId$
@@ -112,6 +114,7 @@ endif
[Winbatch_install_32]
msiexec /i "$RealInstall32Msi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb ALLUSERS=1 REBOOT=ReallySuppress
addpath pre "$RealPath32Dir$"
[Files_install_32]
; copy the ini file to the InstallDir
@@ -126,6 +129,7 @@ copy "$IniCfgFile$" "$InstallDir32$"
[Winbatch_install_64]
msiexec /i "$RealInstall64Msi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb ALLUSERS=1 REBOOT=ReallySuppress
addpath pre "$RealPath64Dir$"
[Files_install_64]
; copy the ini file to the InstallDir