Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > .NET Framework 3.5 SP1 prerequisite not being installed
 

.NET Framework 3.5 SP1 prerequisite not being installed

Visual Studio 2008(Publish tab):

Even though

1. I have the checkbox checked as a prerequisite to install .NET Framework 3.5 SP1 (not .NET Framework 3.5)

2. I have the radiobutton checked to Download prerequisites from the component vendor's web site.

I found this out after many attempts to deploy/install by .NET 3.5 app but received a repeated error/popup message box with the messagebox title saying "System Update Required" and

"Unable to install or run the application. The application requires that assembly System.Core.Version 3.5.0.0 be installed in the Global Assembly Cache (GAC) first. Please contact your system administrator."

Why won't Clickonce go to the microsoft website automatically if it detects the absence of the .NET 3.5 runtime and then download it before proceeding with the remainder of the installation?

Thank you,

Greg

hazz  Thursday, November 13, 2008 10:56 PM

I'm guessing that you are clicking a link for the ClickOnce .application file, instead of the setup.exe link. As a result, you are not running the setup.exe bootstrapper that installs the 3.5 package.

If it is running setup.exe, then it's possible your 3.5 SP1 installation is corrupted. Check Add Remove Programs and see if 3.5 Sp1 is listed, and if it is try to repair it.

If that's not it, then post the install.log found in the temp folder in the newest vsd* folder, and what the values in HKLM\Software\Microsoft\NET Framework Setup\NDP\v3.5 say :-)

David Guyer MSFT  Friday, November 14, 2008 4:56 AM

Does your application target the .Net 3.5 framework? I think that setting is under the Application tab.

Does the machine on which you are trying to install it already have the .Net 3.5 framework installed?

What happens if you try to install the .Net 3.5 sp1 framework from microsoft.com instead of pushing it as a prerequisite?

This should work, we just have to figure out why it won't.

RobinS.

GoldMail.com

RobinDotNet  Friday, November 14, 2008 4:26 AM

I'm guessing that you are clicking a link for the ClickOnce .application file, instead of the setup.exe link. As a result, you are not running the setup.exe bootstrapper that installs the 3.5 package.

If it is running setup.exe, then it's possible your 3.5 SP1 installation is corrupted. Check Add Remove Programs and see if 3.5 Sp1 is listed, and if it is try to repair it.

If that's not it, then post the install.log found in the temp folder in the newest vsd* folder, and what the values in HKLM\Software\Microsoft\NET Framework Setup\NDP\v3.5 say :-)

David Guyer MSFT  Friday, November 14, 2008 4:56 AM

Thanks for the ideas Robin.

The machine I was trying to install it on did NOT have .NET 3.5 installed.

We did download the 50 or 60 MB runtime manually and then the clickonce deployment app worked.

hazz  Friday, November 14, 2008 3:28 PM

Thanks David.

I can't seem to find the install.log. Is it maybe called something else?

-greg

hazz  Friday, November 14, 2008 8:10 PM

It is always called install.log
David Guyer MSFT  Friday, November 14, 2008 9:41 PM
Having the same problem here!

you can file the install.log file under
XP: C:\Documents and Settings\<user>\Local Settings\Temp\VDSxxxx.tmp\
Vista: C:\Users\<user>\AppData\Local\Temp\VSD1E97.tmp\

My instal.log file looks like:

'.NET Framework 3.5 SP1' RunCheck result: Install Needed
EULA for components 'Windows Installer 3.1' was accepted.
EULA for components '.NET Framework 3.5 SP1' was accepted.
Installation of components 'Queaso QFinger Deployment Setup' was accepted.
Copying files to temporary directory "C:\DOCUME~1\Queaso\LOCALS~1\Temp\VSDC.tmp\"
Downloading files to "C:\DOCUME~1\Queaso\LOCALS~1\Temp\VSDC.tmp\"
(28/07/2009 11:19:50) Downloading 'QFingerControl\queaso.qfinger.deployment.setup.msi' from 'http://dvl.qfinger.queaso.be/deployment/QFingerControl/queaso.qfinger.deployment.setup.msi' to 'C:\DOCUME~1\Queaso\LOCALS~1\Temp\VSDC.tmp\'
Download completed at 28/07/2009 11:20:05
Verifying file integrity of C:\DOCUME~1\Queaso\LOCALS~1\Temp\VSDC.tmp\QFingerControl\queaso.qfinger.deployment.setup.msi
Verifying file hash
(28/07/2009 11:20:07) Downloading 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' from 'http://go.microsoft.com/fwlink/?LinkId=49256' to 'C:\DOCUME~1\Queaso\LOCALS~1\Temp\VSDC.tmp\'
Download completed at 28/07/2009 11:20:31
Verifying file integrity of C:\DOCUME~1\Queaso\LOCALS~1\Temp\VSDC.tmp\WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe
WinVerifyTrust returned 0
File trusted

(28/07/2009 11:20:31) Downloading 'DotNetFX35SP1\dotNetFx35setup.exe' from 'http://go.microsoft.com/fwlink/?linkid=118076' to 'C:\DOCUME~1\Queaso\LOCALS~1\Temp\VSDC.tmp\'
Download completed at 28/07/2009 11:20:35
Verifying file integrity of C:\DOCUME~1\Queaso\LOCALS~1\Temp\VSDC.tmp\DotNetFX35SP1\dotNetFx35setup.exe
WinVerifyTrust returned 0

File trusted
Running checks for package 'Queaso QFinger Deployment Setup', phase BeforePackage
The following properties have been set for package 'Queaso QFinger Deployment Setup':
Running checks for command 'QFingerControl\queaso.qfinger.deployment.setup.msi'
Result of checks for command 'QFingerControl\queaso.qfinger.deployment.setup.msi' is 'Install'
'Queaso QFinger Deployment Setup' RunCheck result: Install Needed
Verifying file integrity of C:\DOCUME~1\Queaso\LOCALS~1\Temp\VSDC.tmp\QFingerControl\queaso.qfinger.deployment.setup.msi
Verifying file hash
Installing using command 'C:\WINDOWS\system32\msiexec.exe' and parameters ' -I "C:\DOCUME~1\Queaso\LOCALS~1\Temp\VSDC.tmp\QFingerControl\queaso.qfinger.deployment.setup.msi" -q '
Process exited with code 1603
Status of package 'Queaso QFinger Deployment Setup' after install is 'InstallFailed'
Status of package 'Windows Installer 3.1' after install is 'InstallNeeded'
Status of package '.NET Framework 3.5 SP1' after install is 'InstallNeeded'



can anyone help me?

the download of the Windows Installer and the .net framework 3.5 SP1 is correct.
LudwigGhislain  Tuesday, July 28, 2009 9:38 AM

You can use google to search for other answers

Custom Search

More Threads

• Can I set the Installation directory (INSTALLDIR property) of a merge module via a cutom action which is in the merge module
• Deployment File Type settings not overwriting existing association
• No way to change deployment url on client install
• 2 installed ClickOnce packages....with 1 certificate, is this possible?
• Deploying Mapobjects using Clickonce
• Bootstrapper tries to reach customer.teliacarrier.com while ComponentsLocation="Absolute"
• Uninstall fails due to lack of privileges in Vista
• ClickOnce app no longer installing under Publisher Name folder in Start Menu
• Debugging Security exceptions
• Start a new instance of ClickOnce application from running application?