I've made an application that uses .NET framework 3.5 SP1 and SQL Server 2008 Express.
Application is fine and now i'm going to to make a setup project for this.
When I first build my setup it was fine as all the prerequisites were not included in setup.
But I want my setup to install .NET 3.5 SP1 and SQL SERVER 2008 Express also. So for this I've changed the options in setup project's properties from "Download prerequisites from following location" to "Download prerequisites from the same location as my application". In addition to that I've also checked the options above like .NET 3.5 SP1 and SQL Server 2008 Express etc.
After doing all this I build my project again. This time I'm Getting 57 Errors.
- Error 1 The 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. D:\MindStrike
Setup\MindStrike
Setup.vdproj MindStrike Setup - Error 2 The install location for
prerequisites has not been set to
'component vendor's web site' and the
file
'DotNetFX35SP1\dotNetFX20\aspnet_64.msp'
in item '.NET Framework 3.5 SP1' can
not be located on disk. See Help for
more information. D:\MindStrike
Setup\MindStrike
Setup.vdproj MindStrike Setup
Error 3 The install location for
prerequisites has not been set to
'component vendor's web site' and the
file
'DotNetFX35SP1\dotNetFX20\clr.msp' in
item '.NET Framework 3.5 SP1' can not
be located on disk. See Help for more
information. D:\MindStrike
Setup\MindStrike
Setup.vdproj MindStrike Setup - Error 4 The install location for
prerequisites has not been set to
'component vendor's web site' and the
file
'DotNetFX35SP1\dotNetFX20\clr_64.msp'
in item '.NET Framework 3.5 SP1' can
not be located on disk. See Help for
more information. D:\MindStrike
Setup\MindStrike
Setup.vdproj MindStrike Setup
As the question will become too large so I'm just pasting 3 errors but there are totally 57 errors.
Thanks in advance
Best Answer
A quick search suggests you might want to take a look at this: http://social.msdn.microsoft.com/forums/en-US/vssetup/thread/d3c1991a-9353-43f0-be82-2dacedc1ceba/
Pertinent Info from section 2.3.1.1 of the VS2008SP1Readme.htm:
To resolve this issue:
Update the Package Data
<PackageFile Name="TOOLS\clwireg.exe"/>
<PackageFile Name="TOOLS\clwireg_x64.exe"/>
<PackageFile Name="TOOLS\clwireg_ia64.exe"/>
Download and Extract the Core Installation Files
dotNetFx35.exe /x:
. This will extract the Framework files to a folder named “WCU” in the current directory.Copy the contents of the WCU\dotNetFramework folder and paste them in the
%Program Files%\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35SP1
folder (%ProgramFiles(x86)%\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35SP1
on x64 operating systems). Note: Do not copy the WCU\dotNetFramework folder itself.There should be 5 folders under the WCU folder, and each of these should now appear in the DotNetFx35SP1 folder. The folder structure should resemble the following:
You may now delete the files and folders you downloaded and extracted in steps 2 and 4.