'.NET Framework 3.5 SP1 Client Profile' prerequisites

habakuk picture habakuk · Jan 17, 2011 · Viewed 7.9k times · Source

I have a .Net Setup Project and set the install location for prerequisites to 'download from same location as my application'.

I downloaded the 'Microsoft .NET Framework Client Profile Offline Installer' from https://www.microsoft.com/downloads/en/details.aspx?FamilyID=992cffcb-f8ce-41d9-8bd6-31f3e216285c and put it in the directories:

C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35Client and C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\DotNetFx35Client

But I still get the error message "prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFx35Client\DotNetFx35ClientSetup.exe' in item '.NET Framework 3.5 SP1 Client Profile' can not be located on disk."

Any idea?

I have windows 7 and visual studio 2010...

Thanks! Stefan

Answer

Hans Passant picture Hans Passant · Jan 17, 2011

Note the name mismatch, "Setup" is missing from the one you downloaded. Rename the file so its name matches the name VS is complaining about.