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!

valtrain
Posts: 4
Joined: Wed Apr 04, 2007 6:54 am

Can I pass command line parameters to a custom search EXE?

Is it possible to pass command line parameters to an EXE that is being used as a custom search EXE for a prerequisite?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

This is not yet supported but we already have it on our TODO list and will be available in a future version of AI. Thank you for your suggestion.

Also could you please tell us what exactly you want to pass as argument for the custom search EXE and why?

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
valtrain
Posts: 4
Joined: Wed Apr 04, 2007 6:54 am

I have several prerequisites, each of which has a file called "version" in the root directory that contains version number. I'd like for my custom exe to be able to read this file and see if it's the right version, but I'd like to be able to pass command-line arguments so that I can give it the path to the version file to read instead of having to generate a search exe for each prerequisite.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

We have this added on our TODO list. For now you can access the version file directly from your custom EXE.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
valtrain
Posts: 4
Joined: Wed Apr 04, 2007 6:54 am

I can do this, but my project has a lot of dependencies. So if I have 8 dependencies, I would need 8 custom EXEs that are almost exactly the same except for the path to the version file that they read.

Do you know when the ability to pass command-line arguments to that custom search exe might be released?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

We have this feature triggered for the next version of Advanced Installer which is scheduled for release at the beginning of the next month.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
valtrain
Posts: 4
Joined: Wed Apr 04, 2007 6:54 am

Hi,

Is there any update on this?

Thanks!
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

This feature will be available in the next version of Advanced Installer scheduled for release at the end of this month.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”