Hello,
is there a simple way to get the path of the advanced installer executable?
I'm trying to create batch files to automate the build process. Currently I'm using the following line to build the installer project (which works fine):
"C:\Program Files (x86)\Caphyon\Advanced Installer 12.7.2\bin\x86\advinst.exe" /build "myproject.aip"
What bothers me is the hard coded path to advinst.exe, which also has the version number in it. I suppose after the next Advanced Installer SW update I will need to update all build scripts!?
I have seen that Advanced Installer creates some shell commands in the registry but apparently does not set an environment variable with the path. If there is a batch file with the up to date install path available (like e.g. Visual Studio provides one) I haven't found it. So - is there any best practice approach for creating batch builds that will work also with newer versions of Advanced Installer?
Thanks in advance,
Stevenson