.Net Framework prereq: not working as expected - 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!

grahampc
Posts: 1
Joined: Sun Jul 30, 2006 8:12 am

.Net Framework prereq: not working as expected

I'm in "Prerequisites", "Software" tab. I select ".NET Framework", and I get a mostly blank dialog. It seems to be asking me to point to an file on my own server (mysite.com/netframework.exe), instead of working from dotnetfx.exe off the Microsoft Web site. Either I'm missing something, or AdvancedInstaller is asking me to configure the prerequisite entirely on my own. (Cf. when I add .Net Framework as a prerequisite in a VS.NET setup and deployment project, it's all taken care of for me, no fuss.)

So... how do I use Advanced Installer to require .NET Framework 2.0 on the end-user's system, and install it if it's not present? (This is such a common and trivial need that I think perhaps this software is not functioning correctly.) An an aside, the manual could be a little more explicit on this.

Thanks for any help,

g.

P.S. I'm using the trial version of professional.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

By default when you add a common prerequisite the information for "Install Conditions" are added for you. You need to fill the "URL" and "Size" fields. You can use the "Browse..." button and AI will calculate the size and MD5 for you (you msut have the file on your computer).

But in a future version we will consider to improve this and add all default values for a common prerequisites. We add this on our TODO list. Thank you for bringing this to our attention.

There is a post on the forum on how to add .Net Framework as prerequisite, please take a look here:
http://www.advancedinstaller.com/forums ... +framework

Regards,
Gigi
__________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
charlesbullis
Posts: 2
Joined: Fri Dec 08, 2006 8:48 am

What value should I place in the URL field? I need .net 2.0 to be installed as a prerequisite. Thanks
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
What value should I place in the URL field? I need .net 2.0 to be installed as a prerequisite.
The URL field represents where the setup file for the prerequisite is located: online at an URL. So type in this filed the URL from where the prerequisite file to be downloaded. For .Net Framework 2.0 the URL is this:
http://download.microsoft.com/download/ ... tnetfx.exe

For more details about prerequisites please see:
http://www.advancedinstaller.com/user-g ... tware.html

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
charlesbullis
Posts: 2
Joined: Fri Dec 08, 2006 8:48 am

Thanks Gigi,

Is this the x86 or x64 .net?

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

Hi Chuck,

Is Microsoft .NET Framework Version 2.0 Redistributable Package (x86).

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

So instead of having it as a prerequisite, I need to install .NET 2.0 from the redistributable (almost all of my customers are guaranteed to have a completely fresh install of XP with no service packs, so they won't have any .NET installed). I was going to setup the install of the .NET 2.0 as a custom action, but I don't know what to check for as the condition on it (and no, saying "check the .NET" version won't help, I mean what do I really put as the condition).
Thanks,
Jebrew
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Jebrew,

The recommended way to install .Net Framework 2.0 with you application is add it as prerequisite. Switch to "Prerequisites" page, "Software" tab and choose "Add->.Net Framework". The "Install Condition" is automatically added by Advanced Installer.

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

Return to “Common Problems”