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!

xmen
Posts: 4
Joined: Tue Mar 31, 2015 4:52 am

Why .net framework prequisites has so many choices

I need to build an installer for 32bit .net app. And it will run on both x64 and x86 PCs. And I want prequisite to be .net framework 2.0 SP2. But there is .net framework 2.0 SP2 x86 and .net framework 2.0 x64 SP2.

This is confusing, which one should I use ? if I use x86 one, will this work on x64 PC for x86 app ? and if I choose both, then both will be require to be installed. What should I choose ?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Why .net framework prequisites has so many choices

Hello and welcome to our forums,

To achieve what you want you can choose to include both, x64 and x86, version of the ".NET Framework 2.0 SP2" prerequisites. Please note that they will never be installed both at the same time. On the 32-bit machines it will be installed only the x86 prerequisite and on the 64-bit machines it will be installed only the x64 prerequisite. Please take a look on their "Install Conditions" tab -> "Supported Windows Versions" section

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
xmen
Posts: 4
Joined: Tue Mar 31, 2015 4:52 am

Re: Why .net framework prequisites has so many choices

But the application is 32 bit, will it download 64bit framework or 32 bit. I only selected 32bit one in preq. And it seems to be working fine, dont know the difference.
xmen
Posts: 4
Joined: Tue Mar 31, 2015 4:52 am

Re: Why .net framework prequisites has so many choices

Yes you are right, have to select both. Otherwise its download x86 .net framework on 64bit PC. Not good.
xmen
Posts: 4
Joined: Tue Mar 31, 2015 4:52 am

Re: Why .net framework prequisites has so many choices

There is a problem though, when installing. If no framework, its asking to install both. x86 and x64. It should only ask for what is relevant. How can I make it do that ?

Edit:

Nevermind, got it. Had to choose plate OS for each prereq.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Why .net framework prequisites has so many choices

I'm glad you sorted things out. If you have any questions just let us know.

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

Return to “Building Installers”