I tried to install .NET Framework with this AutoIt-Script
CODE
;.NET Framework 2.0 is installed before
;RunWait("wcu\dotnetFramework\dotnetfx.exe /q /c:""install.exe /Q /l """"" & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_dotnetfx20.log""""""", @ScriptDir)
RunWait("msiexec -i wcu\MSXML\msxml6.msi /qn /norestart ADDLOCAL=ALL REBOOT=ReallySuppress /log """ & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_msxml.log""", @ScriptDir)
RunWait("msiexec -i wcu\RGBRAST\x86\RGB9RAST_x86.msi /qn /norestart ADDLOCAL=ALL REBOOT=ReallySuppress /log """ & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_rgbrast.log""", @ScriptDir)
RunWait("wcu\WIC\WIC_X86_ENU.exe /quiet /norestart /nobackup /overwriteoem NOVSUI=1 ADDLOCAL=ALL REBOOT=ReallySuppress /log """ & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_wic.log""", @ScriptDir)
RunWait("msiexec -i vs_setup.msi /qn /norestart NOVSUI=1 ADDLOCAL=ALL REBOOT=ReallySuppress /log """ & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_dotnetfx30.log""", @ScriptDir)
RunWait("wcu\XPS\XPSEPSC-x86-en-US.exe /quiet /norestart /nobackup /overwriteoem /log:""" & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_xps.log""", @ScriptDir)
RunWait("wcu\WCF\wcf.exe /q /l """ & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_wcf.log""", @ScriptDir)
RunWait("msiexec -i wcu\WPF\wpf.msi /qn /norestart STANDALONE=no ADDLOCAL=ALL REBOOT=ReallySuppress /log """ & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_wpf.log""", @ScriptDir)
RunWait("msiexec -i wcu\WF\WF_3.0_x86.msi /n /norestart ARPSYSTEMCOMPONENT=1 STANDALONE=no ADDLOCAL=ALL REBOOT=ReallySuppress /log """ & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_wf.log""", @ScriptDir)
;RunWait("wcu\dotnetFramework\dotnetfx.exe /q /c:""install.exe /Q /l """"" & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_dotnetfx20.log""""""", @ScriptDir)
RunWait("msiexec -i wcu\MSXML\msxml6.msi /qn /norestart ADDLOCAL=ALL REBOOT=ReallySuppress /log """ & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_msxml.log""", @ScriptDir)
RunWait("msiexec -i wcu\RGBRAST\x86\RGB9RAST_x86.msi /qn /norestart ADDLOCAL=ALL REBOOT=ReallySuppress /log """ & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_rgbrast.log""", @ScriptDir)
RunWait("wcu\WIC\WIC_X86_ENU.exe /quiet /norestart /nobackup /overwriteoem NOVSUI=1 ADDLOCAL=ALL REBOOT=ReallySuppress /log """ & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_wic.log""", @ScriptDir)
RunWait("msiexec -i vs_setup.msi /qn /norestart NOVSUI=1 ADDLOCAL=ALL REBOOT=ReallySuppress /log """ & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_dotnetfx30.log""", @ScriptDir)
RunWait("wcu\XPS\XPSEPSC-x86-en-US.exe /quiet /norestart /nobackup /overwriteoem /log:""" & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_xps.log""", @ScriptDir)
RunWait("wcu\WCF\wcf.exe /q /l """ & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_wcf.log""", @ScriptDir)
RunWait("msiexec -i wcu\WPF\wpf.msi /qn /norestart STANDALONE=no ADDLOCAL=ALL REBOOT=ReallySuppress /log """ & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_wpf.log""", @ScriptDir)
RunWait("msiexec -i wcu\WF\WF_3.0_x86.msi /n /norestart ARPSYSTEMCOMPONENT=1 STANDALONE=no ADDLOCAL=ALL REBOOT=ReallySuppress /log """ & EnvGet("SYSTEMDRIVE") & "\dotnetfx30_wf.log""", @ScriptDir)
But unfortunately WCF, WPF and WF fails (seen in logs).
I know that the installer support the switches "/q /norestart" but there are no logging-arguments available, which I want to use.
Does anybody know why WCF, WPF and WF install fails (there are no infos in the logs)?
--> .NET Framework 3.0 ist the last app in svcpack.inf
If I start the Script after logon again that three components will be installed sucessfully.
I don't want to another switchless installer - I only want to know why setup fails for this three components and how can I fix this.
Can anybody help me?
Thanks
Al