VMware Horizon Community
ActiveX
Contributor
Contributor

View Composer Installation fail

Hi,

I have just updatet my View Environment to 4.6.

But when I try to update (reinstall) my View Composer I got the Error message:

The wizard was interrupted before VMware View Composer could be completely installed.

In the vmmsi.log I found this error:

Action 11:09:38: VM_SaveConfig.
MSI (s) (D8:9C) [11:09:38:358]: Executing op: CustomActionSchedule(Action=VM_SaveConfig,ActionType=9217,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (D8:74) [11:09:38:370]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI7A34.tmp, Entrypoint: VMSaveConfig
CustomAction VM_SaveConfig returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 11:09:40: InstallFinalize. Return value 3.
MSI (s) (D8:9C) [11:09:40:333]: User policy value 'DisableRollback' is 0
MSI (s) (D8:9C) [11:09:40:333]: Machine policy value 'DisableRollback' is 0

In the vminst:

svm: 03/12/11 13:11:07 Begin Logging
svm: 03/12/11 13:11:07 --- CA exec: VMSaveConfig
svm: 03/12/11 13:11:09 ERROR: SviCfgHelper_InitializeRSAKey() returned value: 4
svm: 03/12/11 13:11:10 Unexpected problem arisen.
svm: 03/12/11 13:11:10 End Logging
svm: 03/12/11 13:11:10 Begin Logging
svm: 03/12/11 13:11:10 --- CA exec: VMSaveConfigRB
svm: 03/12/11 13:11:10 Getting Property CustomActionData = C:\Users\ADMINI~1\AppData\Local\Temp\2\{E5551EC5-436E-4A9D-AB4E-81DCA7403FB5};C:\Program Files (x86)\VMware\VMware View Composer\
svm: 03/12/11 13:11:11 ERROR: SviCfgHelper_UnbindCertificate() returned value: 8
svm: 03/12/11 13:11:12 Certificate can not be found.
svm: 03/12/11 13:11:12 End Logging
vdmInstUtil: 03/12/11 13:11:12 Begin Logging
vdmInstUtil: 03/12/11 13:11:12 --- CA: VMCloseFirewall
vdmInstUtil: 03/12/11 13:11:12 Getting property CustomActionData = 18443;VMware View Composer;TCP
vdmInstUtil: 03/12/11 13:11:12 Inst_QueryServiceRunningStatus: Attempting to query service: MpsSvc
vdmInstUtil: 03/12/11 13:11:12 Inst_QueryServiceRunningStatus: Service Manager successfully opened
vdmInstUtil: 03/12/11 13:11:12 Inst_QueryServiceRunningStatus: Service successfully opened
vdmInstUtil: 03/12/11 13:11:12 Inst_QueryServiceRunningStatus: service status: SERVICE_RUNNING cp=0x00000000
vdmInstUtil: 03/12/11 13:11:12 The firewall(Domain) is currently off. Will turn it on.
vdmInstUtil: 03/12/11 13:11:12 The firewall(Domain) is now turned on.
vdmInstUtil: 03/12/11 13:11:12 The firewall(Private) is currently off. Will turn it on.
vdmInstUtil: 03/12/11 13:11:12 The firewall(Private) is now turned on.
vdmInstUtil: 03/12/11 13:11:12 The firewall(Public) is currently off. Will turn it on.
vdmInstUtil: 03/12/11 13:11:12 The firewall(Public) is now turned on.
vdmInstUtil: 03/12/11 13:11:12 RemoveException: 18443
vdmInstUtil: 03/12/11 13:11:12 Firewall(Domain) exception removed.
vdmInstUtil: 03/12/11 13:11:12 Firewall(Standard) exception removed.
vdmInstUtil: 03/12/11 13:11:12 Firewall(Current) exception removed.
vdmInstUtil: 03/12/11 13:11:12 RemoveException done
vdmInstUtil: 03/12/11 13:11:12 The firewall(Domain) is currently on. Will turn it off.
vdmInstUtil: 03/12/11 13:11:12 The firewall(Domain) is now turned off.
vdmInstUtil: 03/12/11 13:11:12 The firewall(Private) is currently on. Will turn it off.
vdmInstUtil: 03/12/11 13:11:12 The firewall(Private) is now turned off.
vdmInstUtil: 03/12/11 13:11:12 The firewall(Public) is currently on. Will turn it off.
vdmInstUtil: 03/12/11 13:11:12 The firewall(Public) is now turned off.
vdmInstUtil: 03/12/11 13:11:12 End Logging

In the svicfg.log :

svicfg: 03/12/11 13:11:07  Begin Logging
svicfg: 03/12/11 13:11:07  C:\Users\ADMINI~1\AppData\Local\Temp\2\{E5551EC5-436E-4A9D-AB4E-81DCA7403FB5}\SviConfig.exe -installer -operation=QueryKeyContainer -KeyContainerName="SviKeyContainer"
svicfg: 03/12/11 13:11:08  [Result]Exists=false

[ExitStatus]0|Operation completed successfully.


svicfg: 03/12/11 13:11:08  C:\Users\ADMINI~1\AppData\Local\Temp\2\{E5551EC5-436E-4A9D-AB4E-81DCA7403FB5}\SviConfig.exe -installer -operation=InitializeRSAKey -KeyContainerName="SviKeyContainer"  -KeySize=2048 -Force=true
svicfg: 03/12/11 13:11:09  [ExitStatus]4|Das Objekt ist bereits vorhanden.


svicfg: 03/12/11 13:11:09  C:\Users\ADMINI~1\AppData\Local\Temp\2\{E5551EC5-436E-4A9D-AB4E-81DCA7403FB5}\SviConfig.exe -installer -operation=FetchErrorMessage -ErrorCode=4
svicfg: 03/12/11 13:11:10  [Result]ErrorMessage="Unexpected problem arisen."

[ExitStatus]0|Fetching error message successfully.


svicfg: 03/12/11 13:11:10  Begin Logging
svicfg: 03/12/11 13:11:10  C:\Users\ADMINI~1\AppData\Local\Temp\2\{E5551EC5-436E-4A9D-AB4E-81DCA7403FB5}\SviConfig.exe -installer -operation=CollectData -ConfigPath="C:\Program Files (x86)\VMware\VMware View Composer\SviWebService.exe.config"
svicfg: 03/12/11 13:11:10  [Result]TcpPort=8443

[Result]CertificateThumbprint="B632769D553604A14361142016189BD5F5722267"

[Result]KeySize=2048

[Result]KeyContainerName="SviKeyContainer"

[ExitStatus]0|Configuration collected successfully.


svicfg: 03/12/11 13:11:10  C:\Users\ADMINI~1\AppData\Local\Temp\2\{E5551EC5-436E-4A9D-AB4E-81DCA7403FB5}\SviConfig.exe -installer -operation=BindCertificate -IP=0.0.0.0 -Port=8443 -Delete=true
svicfg: 03/12/11 13:11:11  [ExitStatus]8|Certificate to be deleted is not found.


svicfg: 03/12/11 13:11:11  C:\Users\ADMINI~1\AppData\Local\Temp\2\{E5551EC5-436E-4A9D-AB4E-81DCA7403FB5}\SviConfig.exe -installer -operation=FetchErrorMessage -ErrorCode=8
svicfg: 03/12/11 13:11:12  [Result]ErrorMessage="Certificate can not be found."

[ExitStatus]0|Fetching error message successfully.

I have tried the kb1026513 but with no success... 😞

Has anyone a solution or an idea for me?

Thanks

Stefan

Server: Windows 2008R2 Enterprise German

Database: SQL2008

0 Kudos
9 Replies
markbenson
VMware Employee
VMware Employee

This looks like the same as this http://communities.vmware.com/message/1708897

0 Kudos
ActiveX
Contributor
Contributor

I have restarted the server serveral times, but the issue still exists.

0 Kudos
a_p_
Leadership
Leadership

Did you verify the MD5 checksum of the downloaded composer package yet?

André

0 Kudos
ActiveX
Contributor
Contributor

I've did it now. The checksum is correct.

0 Kudos
a_p_
Leadership
Leadership

This is more a guess because error 1603 could mean anything. It's one of those installer errors that does not really help. Maybe the "C:\Windows\Installer\MSI7A34.tmp" file is a left over from the old Composer version. If the installer has any references to this file, it may use this one instead of the new installer. Take a look at the tmp file to see if it is related to the old or new composer version. I attached a small vbs script which will show you files in the installer directory which are related with installed products.

Syntax: cscript ReadCachedMSI.vbs VMware

André

0 Kudos
ActiveX
Contributor
Contributor

A very good idea, zhank you for the nice script,  but the installaer has no reference to the file:

Microsoft (R) Windows Script Host, Version 5.8
Copyright (C) Microsoft Corporation 1996-2001. Alle Rechte vorbehalten.

ProductName: VMware vCenter Server
MSI-Paket  : C:\Windows\Installer\d7e03.msi

ProductName: VMware vSphere Client 4.1
MSI-Paket  : C:\Windows\Installer\d7e10.msi

ProductName: VMware vCenter Converter
MSI-Paket  : C:\Windows\Installer\5f796f.msi

ProductName: VMware License Server
MSI-Paket  : C:\Windows\Installer\5f796a.msi

ProductName: VMware vCenter Update Manager
MSI-Paket  : C:\Windows\Installer\f67b443.msi

ProductName: VMware Tools
MSI-Paket  : C:\Windows\Installer\212c7.msi

The File C:\Windows\Installer\MSI7A34.tmp doesn't exist.

Stefan

0 Kudos
ActiveX
Contributor
Contributor

I found another log: vmware-sviconfig.log:

2011-03-14 11:52:24,958 | INFO  | SimConfig.Operation.OdbcManager - Current driver:sqlncli10.dll
2011-03-14 11:52:25,009 | INFO  | SimConfig.Operation.OdbcManager - Current driver:sqlncli10.dll
------------SviConfig Log End-------------
------------SviConfig Log Start-----------
------------SviConfig Log End-------------
------------SviConfig Log Start-----------
2011-03-14 11:52:54,287 | FATAL | CommonLib.Crypto.RSAKeyContainer - Error occured while key container was deleted.
System.Security.Cryptography.CryptographicException: Das Objekt ist bereits vorhanden.

   bei System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)
   bei System.Security.Cryptography.Utils._CreateCSP(CspParameters param, Boolean randomKeyContainer, SafeProvHandle& hProv)
   bei System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
   bei System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle)
   bei System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair()
   bei System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 dwKeySize, CspParameters parameters, Boolean useDefaultKeySize)
   bei VMware.Sim.CommonLib.Crypto.RSAKeyContainer.Delete(String keyContainerName)
2011-03-14 11:52:54,550 | FATAL | SimConfig.Operation.InitializeRsaKeyOperation - System.Security.Cryptography.CryptographicException: Das Objekt ist bereits vorhanden.

   bei System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)
   bei System.Security.Cryptography.Utils._CreateCSP(CspParameters param, Boolean randomKeyContainer, SafeProvHandle& hProv)
   bei System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
   bei System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle)
   bei System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair()
   bei System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 dwKeySize, CspParameters parameters, Boolean useDefaultKeySize)
   bei VMware.Sim.CommonLib.Crypto.RSAKeyContainer.Initialize(String keyContainerName, Int32 keySize)
   bei VMware.Sim.SimConfig.Operation.InitializeRsaKeyOperation.Execute(IOutput output)
------------SviConfig Log End-------------
------------SviConfig Log Start-----------
------------SviConfig Log End-------------
------------SviConfig Log Start-----------
------------SviConfig Log End-------------
------------SviConfig Log Start-----------
2011-03-14 11:52:56,218 | FATAL | SimConfig.Operation.BindCertificateOperation - Failed to bind certificate.
System.ComponentModel.Win32Exception: Das System kann die angegebene Datei nicht finden
   bei VMware.Sim.SimConfig.Operation.BindCertificateOperation.Execute(IOutput output)
------------SviConfig Log End-------------
------------SviConfig Log Start-----------
------------SviConfig Log End-------------

Hope that anyone can help me!

Stefan

0 Kudos
esloof
Expert
Expert

Check the C drive of the vCenter server it's full

0 Kudos
ActiveX
Contributor
Contributor

Hello, I just want to inform everyone that I found the solution by myself.

I had a look in the folder "C:\Users\All Users\Microsoft\Crypto\RSA\MachineKeys"

There I have seen that permissions are given to a speciefied user. I used this user for the vCenter Installation last year.

Then I logged in with this user account, and then the Composer Installer finished with success.

🙂

🙂

🙂

Thanks for the support!

Stefan

0 Kudos