Rob Mensching wrote: > WcaGetComponentToDo() is a nice wrapper that cleans up > much of the confusion. >
You're welcome.<g> Every custom action that modifies the machine is tied, directly or indirectly, to a component. The compiler extension and schema make the authoring be a child of Component or a grandchild of Component such as File, CreateFolder, etc. Then the custom table in the .msi includes that component so the custom action can query for it and then use WcaGetComponentTodo (etc) to see if the component is active and if so, what's happening to it: enum WCA_TODO { WCA_TODO_UNKNOWN, WCA_TODO_INSTALL, WCA_TODO_UNINSTALL, WCA_TODO_REINSTALL, }; I'm biased, but I'd suggest looking at ca\wixca\dll\netshortcuts.cpp; it's a lot simpler than IIS but has the same kinds of things in it. -- sig://boB http://joyofsetup.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