I'm not sure if I'm doing it the right way.

What I need is that a CustomAction only runs if a certain condition is true
and then check for the result to see if the action worked. (btw, I don't
really understand the syntax for command line calls to programs... seems
kinda weird)

I get DOTNET35SP from the Registry....

<Property Id="DOTNET35SP1INST">SomeDir\dotnetfx35.exe</Property>
<CustomAction Id="DOTNET35SP1Act" Execute="deferred"
Property="DOTNET35SP1INST" ExeCommand="/q /norestart" Return="check"
Error="There was an error installing sp1 of the .NET Framework 3.5">
   <![CDATA[DOTNET35SP <> "#1"]]>
</CustomAction>
<InstallExecuteSequence>
   <Custom Action="DOTNET35SP1Act" After="InstallFiles" />
</InstallExecuteSequence>

I'm trying with something like this. How wrong am I doing it?

Thanks in advance :)
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to