.NET Framework Client Profile Installation exiting with error code 1058
-
Wednesday, August 20, 2008 5:43 AM
I have deployed a test application using ClickOnce and .NET Framework Client Profile is prerequisite. I am getting the following error on few machines
Property: [AdminUser] = true {boolean}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 6.0.1 {version}
Running checks for package '.NET Framework Client Profile', phase BuildList
Reading value 'Install' of registry key 'HKLM\SOFTWARE\Microsoft\NET Framework Setup\DotNetClient\v3.5'
Unable to read registry value
Not setting value for property 'DotNetFxClient35InstallSuccess'
The following properties have been set for package '.NET Framework Client Profile':
Running checks for command 'DotNetFx35Client\DotNetFx35ClientSetup.exe'
Skipping ByPassIf because Property 'DotNetFxClient35InstallSuccess' was not defined
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.0': false
Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false
Result of checks for command 'DotNetFx35Client\DotNetFx35ClientSetup.exe' is 'Install'
'.NET Framework Client Profile' RunCheck result: Install Needed
EULA for components '.NET Framework Client Profile' was accepted.
Copying files to temporary directory "C:\Users\Naeem\AppData\Local\Temp\VSDFE1C.tmp\"
Downloading files to "C:\Users\Naeem\AppData\Local\Temp\VSDFE1C.tmp\"
(8/20/2008 5:27:26 AM) Downloading 'DotNetFx35Client\DotNetFx35ClientSetup.exe' from ' http://go.microsoft.com/fwlink/?LinkId=119637' to 'C:\Users\Naeem\AppData\Local\Temp\VSDFE1C.tmp\'
Download completed at 8/20/2008 5:27:32 AM
Verifying file integrity of C:\Users\Naeem\AppData\Local\Temp\VSDFE1C.tmp\DotNetFx35Client\DotNetFx35ClientSetup.exe
WinVerifyTrust returned 0
File trusted
Running checks for package '.NET Framework Client Profile', phase BeforePackage
Reading value 'Install' of registry key 'HKLM\SOFTWARE\Microsoft\NET Framework Setup\DotNetClient\v3.5'
Unable to read registry value
Not setting value for property 'DotNetFxClient35InstallSuccess'
The following properties have been set for package '.NET Framework Client Profile':
Running checks for command 'DotNetFx35Client\DotNetFx35ClientSetup.exe'
Skipping ByPassIf because Property 'DotNetFxClient35InstallSuccess' was not defined
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.0': false
Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false
Result of checks for command 'DotNetFx35Client\DotNetFx35ClientSetup.exe' is 'Install'
'.NET Framework Client Profile' RunCheck result: Install Needed
Verifying file integrity of C:\Users\Naeem\AppData\Local\Temp\VSDFE1C.tmp\DotNetFx35Client\DotNetFx35ClientSetup.exe
WinVerifyTrust returned 0
File trusted
Installing using command 'C:\Users\Naeem\AppData\Local\Temp\VSDFE1C.tmp\DotNetFx35Client\DotNetFx35ClientSetup.exe' and parameters ' /lang:enu /passive /norestart'
Process exited with code 1058
Status of package '.NET Framework Client Profile' after install is 'InstallFailed'
All Replies
-
Thursday, August 21, 2008 12:09 AMModerator
Did you modify the package for the prerequisite in any way, or are you selecting it from the Prerequisites box in Visual Studio, or did you roll you own?
I'm asking because of this: /passive /norestart'
When I pushed this as a prerequisite, it worked fine, but it did a restart after installing the client framework and before continuing with the ClickOnce deployment.
RobinS.
GoldMail.com
-
Saturday, August 23, 2008 7:43 AM
I didnt modified the package, instead I specified to download it from the vendor site...Thats why we have these lines in the error log
Downloading files to "C:\Users\Naeem\AppData\Local\Temp\VSDFE1C.tmp\"
(8/20/2008 5:27:26 AM) Downloading 'DotNetFx35Client\DotNetFx35ClientSetup.exe' from ' http://go.microsoft.com/fwlink/?LinkId=119637' to 'C:\Users\Naeem\AppData\Local\Temp\VSDFE1C.tmp\'
Download completed at 8/20/2008 5:27:32 AM
Verifying file integrity of C:\Users\Naeem\AppData\Local\Temp\VSDFE1C.tmp\DotNetFx35Client\DotNetFx35ClientSetup.exe
WinVerifyTrust returned 0
File trusted -
Monday, August 25, 2008 3:18 AMModerator
Hi Khurram
Unable to read registry value
Not setting value for property 'DotNetFxClient35InstallSuccess'
This error message indicated that you don’t have permission to read or write the value to the registry for the .Net Framework installation. Although you don’t need the administrator account to install ClickOnce application, when you want to install the .Net Framework as prerequisite, you should have an administrator account to install the .Net Framework first.
Because you have succeed in installing that application in other machine, it show that the deployment is ok. You can try to install this application in the problem machine with admin account.
Best Regards,
Kira Qian
Windows Forms General FAQs
Windows Forms Data Controls and Databinding FAQs


