You could try
<ExitCode Value="3010" Behavior="scheduleReboot" />

instead of having it as  success but there is a built-in packagegroup for
.net 4 anyway. See the help for "wixnetfxextension".

<PackageGroupRef Id="NetFx40Redist" />

-----Original Message-----
From: Ross M. Del Busso [mailto:rdelbu...@optimum-power.com] 
Sent: 30 July 2012 16:42
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Suppress .NET Framework 4.0 Reboot

I am trying to suppress the reboot after installing .NET Framework 4.0.
Its log shows that it is returning 3010.  I have coded the .NET Framework 4.0
as an ExePackage and have coded an ExitCode with Behavior="success" for the
3010, yet the bundle wants to reboot after installing .NET Framework 4.0.

 

I think that CheckForRestartErrorCode in wiutil.cpp overrides the ExitCode
checking.  Is this a bug?

 

Ross M. Del Busso
VP Software Architecture
OPTIMUM Power Technology
3117 Washington Pike
Bridgeville, PA 15017-1496
412.257.9070 ext 34
www.optimum-power.com
rdelbu...@optimum-power.com
  

 

-----------------------------------------------------------------------------
-
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
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
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