Ok a couple of things I've noticed, all your commands are exactly the
same for install, repair and uninstall, not sure if that will cause
any issues (I only ever set the InstallCommand). Also I set the LCID
in the InstallCommand as I had an issue where dotNet wasn't installing
correctly without it (sorry can't remember why).

It maybe worth removing the /q flag to check that dotnet is actually
being installed correctly.

Richard Mayes
Blog: http://blog.slinkysoftware.com
Twitter: http://twitter.com/caveman_dick

On 22 May 2012 10:27, Simon Chromow <simon.chro...@bewotec.de> wrote:
> I need to reboot, because I have to install a third party setup which fails, 
> if I do not reboot after installing dotnet.
> Omitting the value attribute, has been the first thing I tried, but that led  
> to a weird behavior.
> It seems that the dotnet setup is returning an exitcode after each step it 
> solved?!
>
> -----Ursprüngliche Nachricht-----
> Von: Richard Mayes [mailto:caveman.d...@gmail.com]
> Gesendet: Dienstag, 22. Mai 2012 11:07
> An: General discussion for Windows Installer XML toolset.
> Betreff: Re: [WiX-users] Rebooting System and Continuing with Bundle 
> immediatly after .Net 4.0 was installed
>
> I would assume that the exitcode values are not working correctly as I force 
> a reboot when installing Windows Installer 4.5 but I don't bother checking 
> the exit codes (omit the value attribute). Do you really need to reboot after 
> installing dotnet?
>
>
> Richard Mayes
>
> On 22 May 2012 08:17, Simon Chromow <simon.chro...@bewotec.de> wrote:
>> Hello everyone,
>> Has anyone done something like that? I need to force the reboot after 
>> Framework has been installed.
>>
>> This where I got.
>>
>>          <ExePackage Id="Netfx4Full"
>>                      Cache="no"
>>                      Compressed="yes"
>>                      PerMachine="yes"
>>                      Permanent="yes"
>>                      Protocol="netfx4"
>>                      Vital="yes"
>>                      SourceFile="C:\Program Files (x86)\Microsoft 
>> SDKs\Windows\v7.0A\Bootstrapper\Packages\DotNetFX40\dotNetFx40_Full_x86_x64.exe"
>>                      InstallCommand="/q /norestart /chainingpackage TESTPACK"
>>                      RepairCommand="/q /norestart /chainingpackage TESTPACK"
>>                      UninstallCommand="/q /norestart /chainingpackage 
>> TESTPACK"
>>                      InstallCondition="NOT Netfx4FullVersion AND NOT 
>> Netfx4x64FullVersion"
>>                      DetectCondition="Netfx4FullVersion AND (NOT
>> VersionNT64 OR Netfx4x64FullVersion)" >
>>            <ExitCode Behavior="forceReboot" Value="0"/>
>>            <ExitCode Behavior="forceReboot" Value="1641"/>
>>            <ExitCode Behavior="forceReboot" Value="3010"/>
>>          </ExePackage>
>>
>> What am I doing wrong?
>>
>> Thanks for your efforts,
>> Simon
>> ----------------------------------------------------------------------
>> --------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond.
>> Discussions will include endpoint security, mobile security and the
>> latest in malware threats.
>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and threat 
> landscape has changed and how IT managers can respond. Discussions will 
> include endpoint security, mobile security and the latest in malware threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to