add the tcc.exe dir to the system path
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user