vb program deployment- .NET framework SP2 install fail

ridhwaans

Active member
Joined
Jun 1, 2012
Messages
34
Programming Experience
3-5
Certain aspects of my vb application needs .NET framework 2 Service pack 2 to operate. My setup & deployment prerequisites for now currently includes .NET framewrk 2 SP 2, because the core .NET framework 2 is already included in SP 2

When installing the .NET framework SP 2 DURING the vb application installation, I get the error 'Setup cannot continue until all system components have been successfully installed'

VB.NET:
Component .NET Framework 2.0 SP2 has failed to install with the following error message:
"This action is only valid for products that are currently installed. "

The following components failed to install:
- .NET Framework 2.0 SP2

See the setup log file located at 'C:\Users\User\AppData\Local\Temp\VSD6B93.tmp\install.log' for more information.

Here is the log file

VB.NET:
The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 6.1.1 {version}
Running checks for package 'Microsoft Data Access Components 2.8', phase BuildList
Reading value 'FullInstallVer' of registry key 'HKLM\Software\Microsoft\DataAccess'
Read string value '6.1.7601.17514'
Setting value '6.1.7601.17514 {string}' for property 'MDACVersion'
The following properties have been set for package 'Microsoft Data Access Components 2.8':
Property: [MDACVersion] = 6.1.7601.17514 {string}
Running checks for command 'MDAC28\mdac_typ.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'MDACVersion' and value '2.80': true
Result of checks for command 'MDAC28\mdac_typ.exe' is 'Bypass'
'Microsoft Data Access Components 2.8' RunCheck result: No Install Needed
Running checks for package '.NET Framework 2.0', phase BuildList
Running external check with command line "C:\Users\User\AppData\Local\Temp\VSD6B93.tmp\dotnetfx\dotnetchk.exe"
Process exited with code 1
Setting value '1 {int}' for property 'DotNetInstalled'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\Internet Explorer'
Read string value '9.0.8112.16421'
Setting value '9.0.8112.16421 {string}' for property 'IEVersion'
The following properties have been set for package '.NET Framework 2.0':
Property: [DotNetInstalled] = 1 {int}
Property: [IEVersion] = 9.0.8112.16421 {string}
Running checks for command 'dotnetfx\instmsia.exe'
Result of running operator 'ValueExists' on property 'VersionNT': true
Result of checks for command 'dotnetfx\instmsia.exe' is 'Bypass'
Running checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.0.3': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.0': true
Result of checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
Running checks for command 'dotnetfx\dotnetfx.exe'
Result of running operator 'ValueNotEqualTo' on property 'DotNetInstalled' and value '0': true
Result of checks for command 'dotnetfx\dotnetfx.exe' is 'Bypass'
'.NET Framework 2.0' RunCheck result: No Install Needed
Running checks for package 'Crystal Reports for .NET Framework 2.0', phase BuildList
Reading value 'BuildNum' of registry key 'HKLM\SOFTWARE\Crystal Decisions\10.2\Crystal Reports'
Read string value '570'
Setting value '570 {string}' for property 'CRBuildNum'
The following properties have been set for package 'Crystal Reports for .NET Framework 2.0':
Property: [CRBuildNum] = 570 {string}
Running checks for command 'CrystalReports\CRRedist2005_x86.msi'
Result of running operator 'ValueEqualTo' on property 'CRBuildNum' and value '570': true
Result of checks for command 'CrystalReports\CRRedist2005_x86.msi' is 'Bypass'
'Crystal Reports for .NET Framework 2.0' RunCheck result: No Install Needed
Running checks for package 'Microsoft Visual Studio 2005 Report Viewer', phase BuildList
Running external check with command line "C:\Users\User\AppData\Local\Temp\VSD6B93.tmp\ReportViewer\ReportViewerChk.exe"
Process exited with code 1
Setting value '1 {int}' for property 'ReportViewerInstalled'
The following properties have been set for package 'Microsoft Visual Studio 2005 Report Viewer':
Property: [ReportViewerInstalled] = 1 {int}
Running checks for command 'ReportViewer\ReportViewer.exe'
Result of running operator 'ValueNotEqualTo' on property 'ReportViewerInstalled' and value '0': true
Result of checks for command 'ReportViewer\ReportViewer.exe' is 'Bypass'
'Microsoft Visual Studio 2005 Report Viewer' RunCheck result: No Install Needed
Running checks for package 'Windows Installer 3.1', phase BuildList
The following properties have been set for package 'Windows Installer 3.1':
Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
'Windows Installer 3.1' RunCheck result: No Install Needed
Running checks for package '.NET Framework 2.0 SP2', phase BuildList
Reading value 'SP' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v2.0.50727'
Read integer value 2
Setting value '2 {int}' for property 'InstalledSP'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\Internet Explorer'
Read string value '9.0.8112.16421'
Setting value '9.0.8112.16421 {string}' for property 'IEVersion'
Running external check with command line "C:\Users\User\AppData\Local\Temp\VSD6B93.tmp\DotNetFx20SP2\PatchCheck.exe" {C09FB3CD-3D0C-3F2D-899A-6A1D67F2073F} {BEEBFC3C-48B1-4A38-A3C5-81BA19DF5F40}
Process exited with code 0
Setting value '0 {int}' for property 'KB958481x86Installed'
Running external check with command line "C:\Users\User\AppData\Local\Temp\VSD6B93.tmp\DotNetFx20SP2\PatchCheck.exe" {C09FB3CD-3D0C-3F2D-899A-6A1D67F2073F} {EEF5136C-7DDD-4E13-8F5B-3735C7858434}
Process exited with code 0
Setting value '0 {int}' for property 'KB958481x64Installed'
The following properties have been set for package '.NET Framework 2.0 SP2':
Property: [IEVersion] = 9.0.8112.16421 {string}
Property: [InstalledSP] = 2 {int}
Property: [KB958481x64Installed] = 0 {int}
Property: [KB958481x86Installed] = 0 {int}
Running checks for command 'DotNetFx20SP2\NetFx20SP2_x86.exe'
Result of running operator 'ValueGreaterThanEqualTo' on property 'InstalledSP' and value '2': true
Result of checks for command 'DotNetFx20SP2\NetFx20SP2_x86.exe' is 'Bypass'
Running checks for command 'DotNetFx20SP2\ndp20sp2-kb958481-x86.exe'
Result of running operator 'ValueEqualTo' on property 'KB958481x86Installed' and value '1': false
Result of running operator 'ValueGreaterThan' on property 'InstalledSP' and value '2': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of checks for command 'DotNetFx20SP2\ndp20sp2-kb958481-x86.exe' is 'Install'
Running checks for command 'DotNetFx20SP2\NetFx20SP2_x64.exe'
Result of running operator 'ValueGreaterThanEqualTo' on property 'InstalledSP' and value '2': true
Result of checks for command 'DotNetFx20SP2\NetFx20SP2_x64.exe' is 'Bypass'
Running checks for command 'DotNetFx20SP2\ndp20sp2-kb958481-x64.exe'
Result of running operator 'ValueEqualTo' on property 'KB958481x64Installed' and value '1': false
Result of running operator 'ValueGreaterThan' on property 'InstalledSP' and value '2': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'amd64': true
Result of checks for command 'DotNetFx20SP2\ndp20sp2-kb958481-x64.exe' is 'Bypass'
'.NET Framework 2.0 SP2' RunCheck result: Install Needed
EULA for components '.NET Framework 2.0 SP2' was accepted.
Copying files to temporary directory "C:\Users\User\AppData\Local\Temp\VSD6B93.tmp\"
Copying from '\\BHODC1\APPS\SOFTWARE\iQuery\Workstation_Install\DotNetFx20SP2\ndp20sp2-kb958481-x86.exe' to 'C:\Users\User\AppData\Local\Temp\VSD6B93.tmp\DotNetFx20SP2\ndp20sp2-kb958481-x86.exe'
Running checks for package '.NET Framework 2.0 SP2', phase BeforePackage
Reading value 'SP' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v2.0.50727'
Read integer value 2
Setting value '2 {int}' for property 'InstalledSP'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\Internet Explorer'
Read string value '9.0.8112.16421'
Setting value '9.0.8112.16421 {string}' for property 'IEVersion'
Running external check with command line "C:\Users\User\AppData\Local\Temp\VSD6B93.tmp\DotNetFx20SP2\PatchCheck.exe" {C09FB3CD-3D0C-3F2D-899A-6A1D67F2073F} {BEEBFC3C-48B1-4A38-A3C5-81BA19DF5F40}
Process exited with code 0
Setting value '0 {int}' for property 'KB958481x86Installed'
Running external check with command line "C:\Users\User\AppData\Local\Temp\VSD6B93.tmp\DotNetFx20SP2\PatchCheck.exe" {C09FB3CD-3D0C-3F2D-899A-6A1D67F2073F} {EEF5136C-7DDD-4E13-8F5B-3735C7858434}
Process exited with code 0
Setting value '0 {int}' for property 'KB958481x64Installed'
The following properties have been set for package '.NET Framework 2.0 SP2':
Property: [IEVersion] = 9.0.8112.16421 {string}
Property: [InstalledSP] = 2 {int}
Property: [KB958481x64Installed] = 0 {int}
Property: [KB958481x86Installed] = 0 {int}
Running checks for command 'DotNetFx20SP2\ndp20sp2-kb958481-x86.exe'
Result of running operator 'ValueEqualTo' on property 'KB958481x86Installed' and value '1': false
Result of running operator 'ValueGreaterThan' on property 'InstalledSP' and value '2': false
Result of running operator 'ValueNotEqualTo' on property 'InstalledSP' and value '2': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of checks for command 'DotNetFx20SP2\ndp20sp2-kb958481-x86.exe' is 'Install'
'.NET Framework 2.0 SP2' RunCheck result: Install Needed
Verifying file integrity of C:\Users\User\AppData\Local\Temp\VSD6B93.tmp\DotNetFx20SP2\ndp20sp2-kb958481-x86.exe
WinVerifyTrust returned 0
File trusted
Installing using command line '"C:\Users\User\AppData\Local\Temp\VSD6B93.tmp\DotNetFx20SP2\ndp20sp2-kb958481-x86.exe" /q /norestart'
Process exited with code -2147023291
Status of package '.NET Framework 2.0 SP2' after install is 'InstallFailed'

If I include the .NET framework 2 in the installer, and exclude the service pack 2 prerequisite, the program installs successfully, but I wish to install service pack 2 also

Can someone please point out how to fix this?
 

Lotok

Well-known member
Joined
Jan 17, 2012
Messages
198
Location
Scotland
Programming Experience
5-10
Include the framework and service packs. The service pack error is telling you it needs .net 2 to install

Sent from my XT910 using Tapatalk 2
 
Top Bottom