Install specific parts of installation based on platform - 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!

Trevor
Posts: 3
Joined: Wed Jan 30, 2008 6:41 pm

Install specific parts of installation based on platform

Hi,

I'm not sure I can do what I want to do but thought I would ask the question anyway.

I have an application which is partly written in VB6 and partly in VB.Net, I need the install to check whether a specific version of the .NET framework is present (e.g. version 2) and if not display a dialogue screen which gives the person installing the ability to choose whether or not to install the .NET parts (which will require the .NET framework to be installed) or the just to install the other parts of the system

I can't use the Prerequisites as this prevents any part of the installion if the correct framework version is not present, I know I can check for the existence of the .Net Framework quite easily by running either a VB script or exe etc... which could write or create a file based on whether it found the correct version,but I'm not sure how to then get the install to pick up on this and display the options.

Regards
Trevor
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Install specific parts of installation based on platform

Hello,

You can achieve this using the "Prerequisite Software Tab" on the Prerequisites page. For more details about how to achieve this, please consult our comprehensive tutorial on "Adding a JRE or .NET Framework as a prerequisite". The user will be able to choose whether to install the prerequisite or not.
Please note that this feature is available in the Professional and Enterprise editions of Advanced Installer.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”