Prerequisite Didn't Catch Missing .Net 3.5 - 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!

invalidptr
Posts: 79
Joined: Thu Nov 18, 2010 7:10 pm

Prerequisite Didn't Catch Missing .Net 3.5

We had a customer install on Windows Server 2008 R2 today. They didn't have .Net 3.5 installed. Our setup .aip file has .Net 3.5 as a prerequisite. During the UI phase a WixCA DLL executed that needed .Net 3.5 and crashed because it wasn't present.

What is going on? Does prerequisite only apply to the install (non-UI) phase? Is there a way to prevent this crash? Do I enable "Force installation of this prerequisite"?
invalidptr
Posts: 79
Joined: Thu Nov 18, 2010 7:10 pm

Re: Prerequisite Didn't Catch Missing .Net 3.5

Note to future self:

* "Force installation of this prerequisite" was not the answer I was looking for. But the help page for that dialog has a hint "[] also specify a Launch Condition for global prerequisites of this type".

So the solution was Requirements -> Launch Conditions -> Software Launch Conditions -> Minimum .NET version.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Prerequisite Didn't Catch Missing .Net 3.5

Hello,

Also, you can add the related prerequisite package as a pre-install prerequisite to your project. In this way if it missing then it will be installed before the Wizard Dialogs Stage sequence.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”