Pass values to custom prerequisite exe - 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!

Jebrew
Posts: 53
Joined: Thu Jan 18, 2007 8:53 pm

Pass values to custom prerequisite exe

I was wondering if there is a way to pass values to a custom exe for prerequisite checking. i.e. if I want to check for a specific version of .NET (presently want 2.0, may move to 3.0 later), but would prefer to modify the installer instead of my custom exe.
Not a terribly urgent request, and I'm sure it's limited in use, but it would make my life a little easier.

Thanks,
Jebrew
Jebrew
Posts: 53
Joined: Thu Jan 18, 2007 8:53 pm

Oh, also, it'd be nice to be able to fail out of the prerequisites based on processor type (since the .NET installers only work on their respective platforms, running the 32-bit installer on a 64-bit system causes problems).

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

Hi Jebrew,
I was wondering if there is a way to pass values to a custom exe for prerequisite checking. i.e. if I want to check for a specific version of .NET (presently want 2.0, may move to 3.0 later), but would prefer to modify the installer instead of my custom exe.
I don't understand this. Since your application requires .Net 2.0 why you want to pass the Minimum version as argument? For example your application was released with the .Net 2.0 as minimum requirement. Why you want to pass 3.0 as argument later?
Oh, also, it'd be nice to be able to fail out of the prerequisites based on processor type (since the .NET installers only work on their respective platforms, running the 32-bit installer on a 64-bit system causes problems).
In the next version of AI you can specify the OS type (32-bit or 64-bit) as prerequisite condition.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Jebrew
Posts: 53
Joined: Thu Jan 18, 2007 8:53 pm

I don't want to pass the value into the installer, I want to use the Properties from the Install Parameters to pass values to the executable the prerequisite program is using. Again, it's not a really big deal, just something I'd like.

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

Hi Jebrew,

If I understand correctly, you have a custom EXE detection for .Net prerequisite and you want to pass command line parameters (like the minimum version) to this EXE?

We shall consider to implement this in a future version of AI. I add it on our TODO list. Thank you for your suggestion.

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

Return to “Common Problems”