Use Session.GetMode(InstallRunMode) -- it's just a very thin wrapper around the MsiGetMode Win32 API (http://msdn.microsoft.com/en-us/library/aa370125.aspx)
-----Original Message----- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Wednesday, February 18, 2009 2:51 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] DTF - install, rollback and uninstall I a DTF authored custom action how can you tell the mode it is running in, e.g. install, rollback or uninstall? Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com <mailto:n...@x2systems.com> ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users