Hello Derrin,
You could implement this by a custom
Launch Condition determined by a file search operation result. If a file contained by a previous install is not found, your installation continues. Otherwise a message is displayed and the installation stops.
To do this you need to take the following steps:
- Go to "Searches" page and create a new file search. This file search result will be stored in a property named RESULT_PROPERTY. Enter the name of a file contained by the installation you want to search for.
- Right click on the search and click "Add Location" - "Folder". In the "Path" field you should enter, for example "[SystemDrive]" and in the "Depth" field "6". In this way the search will occur in the system drive with a depth of 6 sub directories.
- Go to "Launch Conditions", Custom tab. Create a new Custom launch condition with the following condition : NOT RESULT_PROPERTY. In the "Description" field enter the message the user will receive when the setup detects the previous install.
Hope this helps!
Best regards,
Sorin
FOLLOW US
Get the latest news in Application Packaging