I've just started evaluating your product and I like it very much!
But I have some problems converting my existing installations.
My application installs some data to the folder CommonAppData\CompanyName\ProductName\FolderName and sets user rights for that folder (using Custom Action DLL) only when it is first created.This folder is not uninstalled. So if it already exists, no Custom Action should be taken.
How can I set the condition for the custom action correctly and where should I place it?
I added the action to InstallFinalize, set the condition for it, based on Custom Property. Then I tried to set this Property in PropertySource action in InstallInitialize, checking the state of the component, which installs the folder (?FolderComp = 2). But this doesn't work. What am I doing wrong? Or maybe there is another way to do what I need?
Best regards,
Mikhail
FOLLOW US
Get the latest news in Application Packaging