You cannot chain dotnetfx.exe in this way. Use a bootstrapper instead:
http://wix.mindcapers.com/wiki/Bootstrapper
________________________________
Van: [EMAIL PROTECTED] namens mounir mds
Verzonden: do 8-5-2008 17:51
Aan: wix-users@lists.sourceforge.net
Onderwerp: [WiX-users] Problem when trying to install .NET framwork 2.0
duringMSI install , plz any idea
hello All ,
i am using Wix 2 , and i try to do a test on the version of .net framwork if
is is lower then 2.0.50727 , i 'll install it during the msi install her is my
code
here is some parts of my wxs file
<Directory Id="dotnet" Name="dotnet">
<Component Id="dotnet" DiskId="1"
Guid="58E34A31-44B9-46E2-9AF7-40AB28A18168">
<File Id="dotnetfx.exe" Name="dotnetfx.exe"
Source="dotnet\dotnetfx.exe" DiskId="1" />
</Component>
</Directory>
<CustomAction Id="InstallDotNet" FileKey="dotnetfx.exe" ExeCommand="/Q"
Return="ignore" Execute="commit"/>
<InstallExecuteSequence>
<!--
<Custom Action="InstallDotNet" Sequence="1 " ><![CDATA[
MsiNetAssemblySupport >= "2.0.50727" ]]> </Custom>
-->
<Custom Action="InstallDotNet" Sequence="1"> </Custom>
</InstallExecuteSequence>
and log file :
Action start 15:48:13: InstallDotNet.
DEBUG: Error 2731: Selection Manager not initialized.
The installer has encountered an unexpected error installing this package. This
may indicate a problem with this package. The error code is 2731. The arguments
are: 0, ,
MSI (s) (BC:D4) [15:48:16:897]: Product: IpDesktopSoftPhone v2.0.8 -- The
installer has encountered an unexpected error installing this package. This may
indicate a problem with this package. The error code is 2731. The arguments
are: 0, ,
Action ended 15:48:16: InstallDotNet. Return value
Thanks in advance
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an intended
recipient then please promptly delete this e-mail and any attachment and all
copies and inform the sender. Thank you.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users