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]
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?
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
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\