How to change Installation directory in Install4j?

Viewed 168

The application is currently installed in C:\Program Files\<Application Name>

We changed the installer to install it into %LOCALAPPDATA%\<Application Name> instead.

Since sys.installationDir is excluded from the loaded response file:

enter image description here

I expected that the old directory would be deleted and the new one created. However, the application (update) is still installed into the previous directory. Why is that?

1 Answers

Go to "Installer->Update options" and deselect the "Detect previous installation" check box.

Related