Can .Net prerequisite have multiple install locations? - 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!

Jedidja
Posts: 10
Joined: Sat Apr 17, 2010 6:20 pm

Can .Net prerequisite have multiple install locations?

When adding a prerequisite for .Net, there are three options for the setup file location: URL, File in Package, and Open Site.

The .Net 4.0 redistributable is 48 MB (which we would like to include on the install CD for computers not on the internet). However, for people who are downloading the installer, we would like to only include the .Net web installer, which is 896kb.

How can we create an installer that will either use the full .NET 4.0 redistributable installer if it present, or if not, then use the web installer?

Just to be clear - the MSI that is output from Advanced Installer will *always* include the .Net web installer. However, if the full redistributable file is available in the same directory as the MSI (as would happen on CD), then we want it to use that instead.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Can .Net prerequisite have multiple install locations?

Hi,

Currently this feature is not supported by Advanced Installer. However, we have it on our TODO list and it will be available in a future version. Until then a solution is to use two builds in the Media page: one for the online version and another for offline. In the "Prerequisites" page you can have two .NET Framework prerequisites, each included in only one build.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”