Re: [WiX-users] Set a Condition in custom action

2013-09-21 Thread Christopher Painter
There isn't a custom action type that sets a condition. In fact custom actions and conditions aren't directly related. ControlEvent Table entries and Sequence Table entries have conditions. DoAction ControlEvents can reference the custom action. The condition is merely the evaluation of an e

[WiX-users] Uninstall removing user data

2013-09-21 Thread Christopher Painter
I'm having a senior moment with what seemed like a pretty simple and well established concept in windows installer: don't uninstall user data. I created a very simple installer with a single component / file ( test.txt ). I tested with test.txt as the key file and with no key file ( directory

[WiX-users] Set a Condition in custom action

2013-09-21 Thread Chaitanya
Hi, Iam setting a custom action for creating IIS virtual Directories.when i install the MSI the IIS virtual directory is creating Fine no issue. In, custom action i gave a condition called "NOT Installed and NOT PATCH" when i give this condition the custom action will run only the time when