Hi,
I'm trying to add a launch condition to my installer. I don't want it to run if the installer has already installed something on the PC.
I have tried using (Not Installed), but that doesn't work: I run the installer once, it installs correctly; I run the installer again, but I get the Modify/Repair/Remove dialogue box. This is not what I want - I want it to fail and give a message to the user that the previous installation needs to be uninstalled.
I tried a search looking for the installation folder, but that doesn't work either - I get the same Modify/Repair/Remove dialogue box. I'm using a search for the installer folder, and using the condition NOT search_result. Strangely, if I take away the NOT and manually create the installation folder, it won't install and shows the Launch Condition Description. It is finding the folder then.
I manually created the installation folder and ran the installer (with NOT search_result as the condition) but the installer didn't install and showed the Launch Condition Description, as I hoped. I then renamed the manually created installation folder (I appended an underscore), and ran the installer - it installs as I expect. The installation folder appears, next to the manually created one with only an underscore differentiating the names. I can't remove the underscore, as the files will then have the same names. Now when I run the installer, I get the Modify/Repair/Remove dialogue box again.
Help, this is driving me mad.
Arthur
FOLLOW US
Get the latest news in Application Packaging