I agree with Pally.  It would be best to use the feature as documented in the
chm.

In general when using the ExePackage/@DetectCondition the chm says "Burn
uses this condition to determine how to treat this package during a bundle
action; for example, if this condition is false or omitted and the bundle is
being installed, Burn will install this package. "  So it would seem that it
is good that your DetectCondition returned false in the scenario which you
described.  You further indicated "It shows the message "Microsoft .NET
framework setup" but then goes on to show the popup as below that shows the
various usage options: Setup[switches] "  which proves that Burn DID launch
the exe, but that the EXE did not like the command line switches which were
provided in the InstallCommand.  So this is not a Wix issue, but a matter of
which command line switches are the correct switches for that EXE.   I would
open a CMD box on a target system and manually enter the path to the exe and
the command line switches to figure out which switches are correct, before
trying to integrate the command into Burn.

But again in this case Wix makes it very easy to install .Net 4.0 without
authoring a ExePackage, so just do as Pally suggested.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bootstrapper-for-NET-framework-4-0-install-does-not-work-properly-tp7593004p7593050.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to