Scripting advanced installer - Advanced Installer Community
Fulgan
Posts: 101
Joined: Mon Feb 27, 2012 10:42 am

Scripting advanced installer

Hello,

I'm writing an automation script for advancedinstaller and I'm having trouble with finding the application's installation path.

Every time AI is installed, it will do so in a different folder. If I don't want to have to edit the script file, I need to grab the exact path where ths application is installed (for instance, C:\Program Files (x86)\Caphyon\Advanced Installer 12.8\bin\) from the environment or from the registry.

I have failed to find any such registry entry so, how can I find out the correct path to use ?

Thanks
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Scripting advanced installer

Hello,

We don't have a system environment variable that redirects to AdvancedInstaller.com exe. We'll consider your suggestion for adding this feature, but for the moment there are not immediate plans. Thank you for your suggestion.
I have failed to find any such registry entry so, how can I find out the correct path to use ?
The Advanced Installer Path key from HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Caphyon\Advanced Installer will be set with the install folder of the latest version of Advanced Installer.

However, you can create a system environment on your machine that points to the installation folder.
If you don't perform a side by side installation of Advanced Installer and select the same installation path, you don't have to change the environment variable from a new version of Advanced Installer to another.

If you have other questions, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”