You can test rollback by putting a custom action of type 19 (fail) at
the end of your install transaction, right before InstallFinalize.
Put a condition on this action this is normally false, so you can set
a public property from the command line to force rollback.  This is
the best way to test custom actions that modify the system and have a
corresponding rollback action to undo the modification.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      <http://www.xmission.com/~legalize/book/download/index.html>

        Legalize Adulthood! <http://blogs.xmission.com/legalize/>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to