Less specifically <smile/> the syntax I provided was something like XPath that 
says, "Look at the CustomAction element with the Return attribute" (@ == 
attribute)

-----Original Message-----
From: Jianjun An (Person Consulting) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2008 00:16
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] terminate installation based on the CA result


Please refer attributes Execute and Return of CustomAction in Wix.chm





Hi Rob!

Could you please clarify a bit your answer? I'm newbie in wix.

Thanks!

-----Original Message-----
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 6:16 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] terminate installation based on the CA result

CustomAction/@Return

-----Original Message-----
From: Egor Sinkevich [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 03:05
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] terminate installation based on the CA result

Hi All!

We're executing several custom actions after files installed (from custom 
action we're registering some files and doing other things)
<InstallUISequence>
      <Show Dialog="ProgressDlg" Before="ExecuteAction" />
      <Custom Action="AfterInstallCustomAction" After="ExecuteAction">
<![CDATA[Not Installed AND &SomeFeature>2]]>
</Custom>
</InstallUISequence>

Sometimes custom action returns ActionResult.Failure but installation continues 
like there was no error.

Questions:

1.  Why installation continue even if custom action return ActionResult.Failure?

2.       How is this possible to roll back installation if custom action fails?

Thanks!
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to