none
Clickonce install error RRS feed

  • 问题

  • I am using VS2005 to deploy my application. Net framework 2.0 install packages is included.
    On a clean client PC,installation goes without error. Net framework 2.0 and language package
    are both installed.
    On a PC that has net framework 1.1, install is interrupted with error.
    The error log is:

    The following properties have been set:
    Property: [AdminUser] = true {boolean}
    Property: [ProcessorArchitecture] = Intel {string}
    Property: [VersionNT] = 5.1.2 {version}
    Running checks for package '.NET Framework 2.0', phase BuildList
    Running external check with command line "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\dotnetfx\dotnetchk.exe" -lcid:1041
    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 '6.0.2900.2180'
    Setting value '6.0.2900.2180 {string}' for property 'IEVersion'
    The following properties have been set for package '.NET Framework 2.0':
    Property: [DotNetInstalled] = 1 {int}
    Property: [IEVersion] = 6.0.2900.2180 {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'
    Running checks for command 'dotnetfx\langpack.exe'
    Result of running operator 'ValueEqualTo' on property 'DotNetInstalled' and value '2': false
    Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
    Skipping FailIf because Property 'Version9X' was not defined
    Result of running operator 'ValueNotExists' on property 'IEVersion': false
    Result of running operator 'VersionLessThan' on property 'IEVersion' and value '5.01': false
    Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.00': false
    Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
    Result of checks for command 'dotnetfx\langpack.exe' is 'Install'
    '.NET Framework 2.0' RunCheck result: Install Needed
    Running checks for package 'PostgreSQL8.2', phase BuildList
    The following properties have been set for package 'PostgreSQL8.2':
    Running checks for command 'postgresql\postgresqlsetup.exe'
    Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
    Result of checks for command 'postgresql\postgresqlsetup.exe' is 'Install'
    'PostgreSQL8.2' RunCheck result: Install Needed
    Copying files to temporary directory "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\"
    Downloading files to "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\"
    (10/01/21 屵屻 01:51:04) Downloading 'dotnetfx\langpack.exe' from 'http://192.168.1.251/YDMSForLocalLauncher/dotnetfx/langpack.exe' to 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\'
    Download completed at 10/01/21 屵屻 01:51:15
    Verifying file integrity of C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\dotnetfx\langpack.exe
    WinVerifyTrust returned 0
    File trusted
    (10/01/21 屵屻 01:51:35) Downloading 'postgresql\postgresqlsetup.exe' from 'http://192.168.1.251/YDMSForLocalLauncher/postgresql/postgresqlsetup.exe' to 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\'
    Download completed at 10/01/21 屵屻 01:51:35
    Verifying file integrity of C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\postgresql\postgresqlsetup.exe
    Verifying file hash
    (10/01/21 屵屻 01:51:35) Downloading 'postgresql\interop.windowsinstaller.dll' from 'http://192.168.1.251/YDMSForLocalLauncher/postgresql/interop.windowsinstaller.dll' to 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\'
    Download completed at 10/01/21 屵屻 01:51:35
    Verifying file integrity of C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\postgresql\interop.windowsinstaller.dll
    Verifying file hash
    (10/01/21 屵屻 01:51:35) Downloading 'postgresql\createtable.sql' from 'http://192.168.1.251/YDMSForLocalLauncher/postgresql/createtable.sql' to 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\'
    Download completed at 10/01/21 屵屻 01:51:36
    Verifying file integrity of C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\postgresql\createtable.sql
    Verifying file hash
    (10/01/21 屵屻 01:51:36) Downloading 'postgresql\postgresql-8.2-int.msi' from 'http://192.168.1.251/YDMSForLocalLauncher/postgresql/postgresql-8.2-int.msi' to 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\'
    Download completed at 10/01/21 屵屻 01:51:42
    Verifying file integrity of C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\postgresql\postgresql-8.2-int.msi
    Verifying file hash
    Running checks for package '.NET Framework 2.0', phase BeforePackage
    Running external check with command line "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\dotnetfx\dotnetchk.exe" -lcid:1041
    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 '6.0.2900.2180'
    Setting value '6.0.2900.2180 {string}' for property 'IEVersion'
    The following properties have been set for package '.NET Framework 2.0':
    Property: [DotNetInstalled] = 1 {int}
    Property: [IEVersion] = 6.0.2900.2180 {string}
    Running checks for command 'dotnetfx\langpack.exe'
    Result of running operator 'ValueEqualTo' on property 'DotNetInstalled' and value '2': false
    Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
    Skipping FailIf because Property 'Version9X' was not defined
    Result of running operator 'ValueNotExists' on property 'IEVersion': false
    Result of running operator 'VersionLessThan' on property 'IEVersion' and value '5.01': false
    Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.00': false
    Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
    Result of checks for command 'dotnetfx\langpack.exe' is 'Install'
    '.NET Framework 2.0' RunCheck result: Install Needed
    Verifying file integrity of C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\dotnetfx\langpack.exe
    WinVerifyTrust returned 0
    File trusted
    Installing using command line '"C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD6.tmp\dotnetfx\langpack.exe"  /q:a /c:"install /l /q"'
    Process exited with code -2147024891
    Status of package '.NET Framework 2.0' after install is 'InstallFailed'
    Status of package 'PostgreSQL8.2' after install is 'InstallNeeded'

    2010年1月23日 13:26

答案