Item of 'Prerequisited' choose to install

In 'Publish' of VB2005 Express , Item of 'Prerequisited' choose to install '.Net Framework 2.0' . I choose option 'Download prerequisites from the same location as my application'. Because I need to package within Publish package.
(no need to use option 'Download prerequisites from the component vendor's web site')

It shows error message
'The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\dotnetfx.exe' in item '.NET Framework 2.0' can not be located on disk. See Help for more information'

How can I fix this problem?

[893 byte] By [Cockgle] at [2007-12-17]
# 1

I have the same error message and need the same answer

fixmycomputer at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 2

You probably need to download the .NET redistributable package first.
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en

You then need to place it the proper place, for me that would be
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\dotnetfx

It might be different for you.

AndreasJohansson at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 3

Hi

Thanks for the advice! I had the same problem, but I have this one

'The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\instmsia.exe' in item '.NET Framework 2.0' can not be located on disk. See Help for more information'

I went to that link and I'v got 3 diferent links to get that file.

Can you please tell witch is the right one?

Windows Installer 2.0 Redistributable for Windows 95, 98, and Me

The Microsoft? Windows? Installer is an application installation and configuration service. Instmsi.exe is the redistributable package for installing or upgrading Windows Installer.

9/25/2001

#70

Works 6.0 Converter for Works and Word Users

The Works 6.0 Converter allows you to convert word processor documents created in Microsoft Works 6.0 to Microsoft Word and other Works programs. Specifically, this converter works with Works 2000, 4.5, and 4.x, and Word 2002, 2000, and 97.

10/31/2000

#87

SharePoint Products and Technologies Templates: Web Part Templates for Visual Studio .NET

Use these templates to create Web Part libraries containing Web Parts and Tool Parts for Windows SharePoint Services.

2/27/2004

#646

E.Geg at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 4
I can not tell which is right but if you need .NET 2.0 you can get it from this link
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en
AndreasJohansson at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 5

Thank you!

I got that link.

I think instmsia.exe is for Microsoft Windows Installer older version win 98 and so.

Nice coding!

E.Geg at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 6

Hey guys,

I had the exact same "problem" and the fix mentioned above (about where to place those DotNetFX\ files) is correct.

I downloaded all of the prerequisites mentioned...

- instmsia.exe (Windows Installer 2.0 for Windows 98/Me, etc)
- WindowsInstaller-KB893803-v2-x86.exe (Windows Installer 3.1)
- dotnetfx.exe (.NET 2.0 redistributable for x86 applications (this just means it's for x86 built apps, not specifically x86 machines))

I then placed all of these files in J:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\DotNetFX\

I'm running Windows XP x64 Edition, thus the "Program Files (x86)" noted above. Also, Windows is installed on my J: drive... For the average user, that folder would be:

C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\DotNetFX\

Now when I run the publishing wizard, or go into my project's properties and use "Publish Now", it works!

I just thought I'd let everyone know the exact details so that they can solve this problem quicker than I did!

I hope this is of some help!!

'k2k6

Kindred2k6 at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 7

For my case, I had to copy the file WindowsInstaller-KB893803-v2-x86.exe to two locations to have things finally work. So, in summation, I copied the following 3 files in the directory \Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\DotNetFX\

- WindowsInstaller-KB893803-v2-x86.exe

- dotnetfx.exe

- InstMsiA.exe

Then, I had to copy WindowsInstaller-KB893803-v2-x86.exe once more, but this time in \Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\WindowsInstaller3_1\

So, basically, WindowsInstaller-KB893803-v2-x86.exe had to be in both \Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\DotNetFX\ and \Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\WindowsInstaller3_1\

patriot2 at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...