Hi,

I have a custom action which need a reboot. If I do not ignore the return, my 
installer will fail due to error 1603. But if I do ignore the return, it is 
risky that this custom action fails due to other reason and the installer does 
not rollback.

Is there a way to constraint this custom action to only ignore 1603 return 
value and check any other values?

Here is an example of my custom actions ignoring return value:

    <CustomAction Id="AllowRemoteDesktopFirewallException"
                  Property="AllowRemoteDesktopFirewallExceptionDeferred"
                  Value='"[WindowsFolder]system32\netsh.exe" advfirewall 
firewall set rule group="remote desktop" new enable=Yes'
                  Execute='immediate'/>
    <CustomAction Id="AllowRemoteDesktopFirewallExceptionDeferred"
                  BinaryKey='WixCA'
                  DllEntry="CAQuietExec"
                  Execute="deferred"
                  Return="ignore"
                  Impersonate="no" />

Appreciate your help.


Thanks
Lian
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to