Get the path to AI executable - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

seaurchin
Posts: 2
Joined: Fri Feb 22, 2008 9:51 am

Get the path to AI executable

Hi,
I use a bat file to build msi and have a command like:

C:\Program Files\Caphyon\Advanced Installer 6.1\AdvancedInstaller.com /build test.aip

This works fine until I update AI to 6.1.1..... now I have to manually change the path in the bat file to Advanced Installer 6.1.1. I found that this clearly is not a smart way since I am not sure if other people who use my bat file have upgraded AI or not.

So I am wondering if there is a way to get the path of AdvancedInstaller executable through command line commands automatically?

Thanks.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

I'm afraid that "AdvancedInstaller.com" can be launched only by using it's path in the command line. However, please note that when installing Advanced Installer you can set the installation path.

In your case, you can always set this path to "C:\Program Files\Caphyon\Advanced Installer" and you won't have to modify the BAT file.

I have added on our TODO list a feature which will add AdvancedInstaller.com in the PATH environment variable and this feature will be available in a future version of Advanced Installer.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
seaurchin
Posts: 2
Joined: Fri Feb 22, 2008 9:51 am

Dear cosmin, thanks for your reply.
I'll try to modify my installation path. :)

Return to “Common Problems”