Hello,
is there some advice how to deploy VSTA v1.0 under Windows Vista? We encounter some problems with registering the host id. This problem is not existent in deploying to Windows XP.
Actually the deploying happens als follows:
- vsta_aide.msi is installed using a bootstrapper installer for the application
- the application msi contains a merge module with all needed VSTA stuff
* proxy files are installed in the GAC
* a custom action with the command "[Path]vsta.exe /hostid Xtract_AddIn /setup" is executed
The problem is that the execution of the msi fails with the following error:
MSI (s) (B0:DC) [14:21:39:348]: Doing action: reg_VSTA.EB26FCB0_1BBC_4F33_828B_BF41BE956D10
Action 14:21:39: reg_VSTA.EB26FCB0_1BBC_4F33_828B_BF41BE956D10.
Action start 14:21:39: reg_VSTA.EB26FCB0_1BBC_4F33_828B_BF41BE956D10.
MSI (s) (B0:DC) [14:21:42:879]: Note: 1: 1722 2: reg_VSTA.EB26FCB0_1BBC_4F33_828B_BF41BE956D10 3: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ 4: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\vsta.exe /hostid Xtract_AddIn /setup
Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action reg_VSTA.EB26FCB0_1BBC_4F33_828B_BF41BE956D10, location: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\, command: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\vsta.exe /hostid Xtract_AddIn /setup
MSI (s) (B0:DC) [14:21:51:207]: Product: Xtract DCore DevPack 3.0.1rc1 -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action reg_VSTA.EB26FCB0_1BBC_4F33_828B_BF41BE956D10, location: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\, command: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\vsta.exe /hostid Xtract_AddIn /setup
Action ended 14:21:51: reg_VSTA.EB26FCB0_1BBC_4F33_828B_BF41BE956D10. Return value 3.
Action ended 14:21:51: INSTALL. Return value 3.
If one deinstalls the msi and installs ist again, it works. It looks like the VSTA.exe is able to some stuff during first execution of the msi so it is able to finish in the second try.
Remark: We are using WIX 3 for deploying and the custom action looks like:
<CustomAction Id="reg_VSTA" Directory="D_IDE" ExeCommand='[D_IDE]vsta.exe /hostid Xtract_AddIn /setup' Execute='deferred' Impersonate="no"/>