Hello and welcome to Advanced Installer forums,
If you want to create an installer package that will install the application only once and that cannot modify, repair or remove the application after installation, then you can proceed like this:
- From "Product Details" ->
"Product Details" tab uncheck "Register product with Windows Installer" option.
- Go to
"Registry" page and create a new value (i.e. MY_VALUE) under "HKLM\Software\[Manufacturer]\[ProductName]" registry key using the [ New Value ] toolbar button.
- Go to
"Search" page and add a "New Extended Search" (i.e. SEARCH_REGISTRY_VALUE) like this:
- Criteria: Registry value does not exist
Registry Value: HKLM\Software\[Manufacturer]\[ProductName]\MY_VALUE
- Go to "Launch Conditions" ->
"Custom" tab and create a custom launch condition, using the [New] button, like this:
- Condition: SEARCH_REGISTRY_VALUE
Description: Your custom launch condition description
- Build and run your project.
Let us know if this helps, otherwise give us more details about the scenario.
All the best,
Daniel