Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Dotnet framework 3.5 SP1 as prerequisite
 

Dotnet framework 3.5 SP1 as prerequisite

hi

i have vs.net 2008 and i have installed sp1 ( for vs and the .net framework3.5) but when i try to add the .net framework 3.5 sp1 as a prerequisite i go the following errors when i build the setup program

there are 57 serrors : here are some sample

Error1The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\aspnet.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information.C:\Documents and Settings\Sami\My Documents\Visual Studio 2008\Projects\WindowsApplication1\Setup1\Setup1.vdprojSetup1

Error24The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\RGB9RAST_x86.msi' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information.C:\Documents and Settings\Sami\My Documents\Visual Studio 2008\Projects\WindowsApplication1\Setup1\Setup1.vdprojSetup1

Error26The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WCF_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information.C:\Documents and Settings\Sami\My Documents\Visual Studio 2008\Projects\WindowsApplication1\Setup1\Setup1.vdprojSetup1

Error29The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WF.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information.C:\Documents and Settings\Sami\My Documents\Visual Studio 2008\Projects\WindowsApplication1\Setup1\Setup1.vdprojSetup1

Error38The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX30\WPF2_64.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information.C:\Documents and Settings\Sami\My Documents\Visual Studio 2008\Projects\WindowsApplication1\Setup1\Setup1.vdprojSetup1

Error51The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetMSP\x64\NetFX2.0-KB936704-v6000-x64_RTM_en.msu' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information.C:\Documents and Settings\Sami\My Documents\Visual Studio 2008\Projects\WindowsApplication1\Setup1\Setup1.vdprojSetup1


when i remove the sp1 and add only 3.5 it builds ok

thanx

Sami Karaeen  Wednesday, November 12, 2008 1:44 PM

The reason is that we shipped the .NET Frameworks 3.5 SP1 package as Homesite Only, i.e. only supports "Install Prerequisites from Component Vendor's Website". We did this to keep the size of VS 2008 SP1 from being too large.

We did put info in the SP1 readme on how to get the files put on your machine to enable the samesite scenario. Look for "Enable Samesite".

http://download.microsoft.com/download/A/2/8/A2807F78-C861-4B66-9B31-9205C3F22252/VS2008SP1Readme.htm

I hope this helps.

David Guyer MSFT  Thursday, November 13, 2008 6:31 AM

What happens if you set the download location in the Prerequisites dialog to "Download from vendor's web site" ?

RobinS.

GoldMail.com

RobinDotNet  Thursday, November 13, 2008 4:03 AM

The reason is that we shipped the .NET Frameworks 3.5 SP1 package as Homesite Only, i.e. only supports "Install Prerequisites from Component Vendor's Website". We did this to keep the size of VS 2008 SP1 from being too large.

We did put info in the SP1 readme on how to get the files put on your machine to enable the samesite scenario. Look for "Enable Samesite".

http://download.microsoft.com/download/A/2/8/A2807F78-C861-4B66-9B31-9205C3F22252/VS2008SP1Readme.htm

I hope this helps.

David Guyer MSFT  Thursday, November 13, 2008 6:31 AM
The readme for SP1 is for an error that occurs... this is not an error, but just me trying to figure out how to bundle the 3.5 framework files along with my setup/msi for a deployment project.
travich  Monday, November 24, 2008 7:40 PM
I resolved the 57 errors the same way as stated in the SP1 documentation section 2.3.1.1
but now I have one remaining for Crystal Reports

Error12The install location for prerequisites has not been set to 'component vendor's web site' and the file 'CrystalReports 12.0\CRRuntime_12_0_mlb.msi' in item 'Crystal Reports 2008' can not be located on disk. See Help for more information.IVtoQuestInterface

This is for Crystal Reports 2008 (not the basic version)

So how is this resolved please?
msny  Monday, June 01, 2009 7:36 PM
In order to fix this problem with crystal reports I downloaded Service Pack 1 for CR2008
and also a clickOnce service packfor CR2008.

Both are located here.

https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm

The first one is found ubder tyoe "service packs" for CR2008, the latter is found
under "utility" for CR2008.

(this is NOT for the basic CR edition that comes with VS2008!)

After installing these programs, my one click install option under publish/prerequisites

"download prerequites from same location as application" then worked.

So while this is not exactly a VS2008 fix, it will fix it for CR 2008 you must make sure
Click Once sees you redistribable..
msny  Tuesday, June 02, 2009 1:24 PM
Mr. Guyer,

Thanks for that note. I'm sure several other developers are like me, and they just never look at the ReadMe files anymore.

I have VS2008 on a number of machines, and going through these steps for each machine would be tedious, error prone, and costly. Considering our company's policy is to specify "Install All Components" at the initial setup screen, it is also irritating.

We will likely avoid VS2008 SP1 on other machines (and the one we did it on will likely be rolled back for compatibility with other machines).

Will Microsoft's development team address this differently when VS2010/.NET Framework 4.0 is released? That would be a nice question to ask during the setup so that an automated process can perform these steps, reducing the chance of human error.

Regards,
Joe Pool
jp2msft  Tuesday, August 25, 2009 1:43 PM
Frankly, installing all components is not a recommended practice. Why would you waste disk space and effort installing Crystal Reports if you aren't going to use it? The "install all components" also installs SQLServer Express, which not only takes up disk space, but also runs as a service on your machine.And this is just Visual Studio.Do they "install all components" when installing Java?Are you enjoyingthat crapware (Google Toolbar) that comes with it?

It's a shame not to install SP-1 for VS2008 on your machines. It has a lot of improvements to VS2008 as well as enhancements.

Good luck.

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Monday, August 31, 2009 3:20 AM
I agree with RobinDotNet. I think I could probably deploy the fixas outlined in the notes to my entire depart with about 5 lines of code. And I'm not even that good at coding... :)
skimanji  Monday, August 31, 2009 7:55 PM
LOL. Thanks! :-)

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Tuesday, September 01, 2009 3:08 AM

You can use google to search for other answers

Custom Search

More Threads

• Migrate clickonce deployed application from 2005 to 2008
• Configuration file '<file>' is being used to configure all executables
• Click Once with content .mdf file
• a problem with msi file
• Setup bootstrapper ByPassIf question
• auto uninstall
• deployment on web site
• ClickOnce - (Linux backend)
• Windows Installer & Legacy DLL's (VB6)
• WSUS Remote Storage error