Re: DWG True View 2011 - ExitCode 1603
Verfasst: 24 Sep 2010, 07:40
Problem konnte gelöst werden. Wenn man die Produkte einzeln installiert und nicht alle auf einmal läuft es sauber durch 

Code: Alles auswählen
comment "Start setup program"
Message "Configure DefaultUser"
;DosBatch_DefaultUser
Message "Installing DirectX"
;Winbatch_DirectX
;Sub_check_exitcode
Message "Installing VCRedist"
;Winbatch_VCRedist
;Sub_check_exitcode
Message "Installing msxml6"
;Winbatch_msxml6
;Sub_check_exitcode
Message "Installing DWGTrueView"
Winbatch_DWGTrueView
Sub_check_exitcode
Message "Installing DWGTrueView"
;Winbatch_DWGTrueViewTest
;Sub_check_exitcode
endif
; ----------------------------------------------------------------
; - Installationsanweisungen -
; ----------------------------------------------------------------
[DosBatch_DefaultUser]
cscript %scriptpath%\default_user.vbs
[Winbatch_DirectX]
"$InstallSource$\$InstallSourceOS$\support\DirectX\DXSETUP.EXE" /silent
[Winbatch_VCRedist]
msiexec /i "$InstallSource$\$InstallSourceOS$\support\VCRedist\2008\x86\vc_red.msi" /qb! /l* "$LogDir$\vc_red.log"
[Winbatch_msxml6]
msiexec /i "$InstallSource$\$InstallSourceOS$\support\msxml\msxml6_$InstallSourceOS$.msi" /qb! /l* "$LogDir$\msxml6-$InstallSourceOS$.log"
[Winbatch_DWGTrueView]
"%ScriptPath%\files\setup.exe" /w /t /qb "%ScriptPath%\files\setup.ini"
;msiexec /i "%ScriptPath%\files\DWGVIEWR.msi" ADR_DONOTSHOWAGAIN=1 ADR_NEXT_INITIAL_CHECK=1 PREFERENCELOCKED=1 INSTALLDIR="c:\program files\DWG_TrueView_2011" /qb! ALLUSERS=2 /l* "$LogDir$\DWG_TrueView_2011.log"
;msiexec /i "%ScriptPath%\files\DWGVIEWR.msi" ADDLOCAL=ALL ALLUSERS=1 REBOOT=REALLYSUPPRESS /qb /log c:\tmp\dwg.txt
;DWGVIEWR.msi ADDLOCAL=ALL ALLUSERS=1 REBOOT=REALLYSUPPRESS /qb /log c:\tmp\dwg.txt
;msiexec /i "%ScriptPath%\files\DWGVIEWR.msi" /passive /norestart