correct add path

This commit is contained in:
Mario Fetka 2014-12-23 12:08:12 +01:00
parent 2aca30dc30
commit 6f3ce051d5

View File

@ -80,6 +80,7 @@ else
Set $ProgExe$ = $Prog32$ Set $ProgExe$ = $Prog32$
DosInAnIcon_install winst /32bit DosInAnIcon_install winst /32bit
Sub_check_exitcode Sub_check_exitcode
Winbatch_addpath_32
comment "Copy files" comment "Copy files"
Files_install_32 /32Bit Files_install_32 /32Bit
comment "Patch Registry" comment "Patch Registry"
@ -98,6 +99,7 @@ else
Set $ProgExe$ = $Prog64$ Set $ProgExe$ = $Prog64$
DosInAnIcon_install winst /64bit DosInAnIcon_install winst /64bit
Sub_check_exitcode Sub_check_exitcode
Winbatch_addpath_64
comment "Copy files" comment "Copy files"
Files_install_64 /64Bit Files_install_64 /64Bit
comment "Patch Registry" comment "Patch Registry"
@ -136,6 +138,8 @@ REG ADD HKLM\Software\Policies\Microsoft\Windows\System /V DefaultAssociationsCo
[Winbatch_install_32] [Winbatch_install_32]
msiexec /i "$Install32Msi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress msiexec /i "$Install32Msi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress
[Winbatch_addpath_32]
addpath pre "$InstallDir32$" addpath pre "$InstallDir32$"
[Files_install_32] [Files_install_32]
@ -148,6 +152,8 @@ copy "$IniCfgFile$" "$InstallDir32$"
[Winbatch_install_64] [Winbatch_install_64]
msiexec /i "$Install64Msi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress msiexec /i "$Install64Msi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress
[Winbatch_addpath_64]
addpath pre "$InstallDir64$" addpath pre "$InstallDir64$"
[Files_install_64] [Files_install_64]