Hello Attila and welcome to Advanced Installer forums,
In order to achieve what you want you can use a
custom launch condition which will check if your installation folder already exists on target machine or not.
Here's the step to proceed:
- Go to "Search" page and add a new search (i.e.
MY_SEARCH) using "New Search" context menu option.
- Select the added search and from its context menu option choose "Add Location -> Folder". Set the "Path" field, from "Directory Properties" right pane, with the path which is set in the "Application Folder" field from "Install Parameters" page (i.e.
[ProgramFilesFolder][Manufacturer]\[ProductName]).
- Go to "Launch Conditions -> Custom" tab ( or "Prerequisites -> Custom Launch Conditions" tab if you are using version 7.3.1 of Advenaced Installer) and add a new launch condition like this:
- Condition: NOT (MY_SEARCH)
Description: Desired description
- Build and run your project.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging