a) - from http://msdn.microsoft.com/library/aa368281.aspx - UILevel property (read from session). Note that you can always safely call MsiProcessMessage. If the UI does not allow your message, it will be added to any log AND some sort of default response will be returned.
b) - Not sure, but you can schedule actions such that they exist in both sequences yet only run once. c) - one solution to this is found here: http://code.dblock.org/ShowPost.aspx?id=42. The "canonical" way is to wait until after CostFinalize and then use either component or feature action/status states (pick either a feature or a component that relates to the action's target, and act based on both the current and the action state). -----Original Message----- From: Lukas Haase [mailto:lukasha...@gmx.at] Sent: Saturday, July 31, 2010 10:30 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] From DLL: UI mode and setup mode Hi, I looked at the docs at http://msdn.microsoft.com/en-us/library/aa368250%28VS.85%29.aspx but I could not find any information: Within a DLL extension for MSI, how can I found out ... a) In which UI mode I am (full, reduced, simple, no) b) If I am called in InstallUISequence or InstallExecuteSequence c) If I am called in setup mode, repair mode or uninstall mode? I need at least (c) because my function should only be called on a fresh install. I need (a) because in case of a full/reduced UI I want to have MsiProcessMessage, in the other cases I want to do "silent" action. Regards, Luke ---------------------------------------------------------------------------- -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users