Hi Rob,
I am learning WIX recently, but ran into a problem with custom actions using
WIX 3.6. I want to build an installation package that would deploy an ASP.NET 4
application on Windows 7/8 machines, and here is the script I use to install
IIS & ASP.NET:<Product>....<CustomAction Id="InstallIISCA"
Property="InstallIISCADeferred"
Value='"[WindowsFolder]Sysnative\dism.exe" /Online /Enable-Feature /all
/FeatureName:IIS-ASPNET' Execute='immediate'/>
<CustomAction Id="InstallIISCADeferred" BinaryKey='WixCA'
DllEntry="CAQuietExec" Execute="deferred"
Return="check" Impersonate="no" />
<InstallExecuteSequence> <Custom Action="InstallIISCADeferred"
Before="InstallFinalize"><![CDATA[Installed OR (IISMAJORVERSION AND
(IISMAJORVERSION = "#8" OR IISMAJORVERSION = "#7"))]]></Custom> .....
</InstallExecuteSequence></Product>
And here are the errors from the log file:MSI (s) (6C:70) [16:23:10:552]:
Executing op: ActionStart(Name=InstallIISCADeferred,,)MSI (s) (6C:70)
[16:23:10:553]: Executing op:
CustomActionSchedule(Action=InstallIISCADeferred,ActionType=3137,Source=BinaryData,Target=CAQuietExec,)MSI
(s) (6C:38) [16:23:10:595]: Invoking remote custom action. DLL:
C:\Windows\Installer\MSICB8D.tmp, Entrypoint: CAQuietExecCAQuietExec: Error
0x80070057: failed to get command line dataCAQuietExec: Error 0x80070057:
failed to get Command LineCustomAction InstallIISCADeferred returned actual
error code 1603 but will be translated to success due to continue marking
Any thoughts how I could fix the problem? In addition, how can I install IIS &
ASP.NET 4 using Burn instead? Thanks for your thoughts in advance!
Best regards,Yuanming
------------------------------------------------------------------------------
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