In article <1243447694545-2982772.p...@n2.nabble.com>,
    achandrapano <achan...@panologic.com>  writes:

> I have a custom action that occurs right before InstallFinalize. Pressing
> cancel and selecting 'yes' doesn't seem to cause a rollback. Is this a
> timing issue since no rollbacks are allowed after InstallFinalize? The MSI
> log shows the cancel dlg was created but nothing else (I did a diff of 2 msi
> logs, one with cancel and one without)

It is up to the custom action to return ERROR_INSTALL_USEREXIT if you
want your custom action to cause a rollback.

Are you calling MsiProcessMessage in your custom action?  You need to
check the return value of this function and look for indications that
the user clicked cancel (return value IDCANCEL) and then bubble out
the cancel from your custom action back to the install engine.  If you
don't do this, the cancel action will be lost.
-- 
"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/>

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to