This doesn't happen on all machines. It seems to happen on some Vista machines. We have a server.msi that calls a client.msi and the client.msi does the custom action and this is failing during the uninstall. The stand alone client.msi (which also calls the custom action) uninstalls fine. Also, the uninstall works fine on many machines, even on some Vista machines. If I run the server.msi uninstall from an elevated command line on a machine where I get the failure the uninstall works fine. Here is part of the debug log:
Code: Select all
MSI (s) (08:2C) [16:01:16:497]: Doing action: VsipClientCustomActions.exe_1
Action 16:01:16: VsipClientCustomActions.exe_1. Removing Visual Studio Integration components, DO NOT CANCEL...
Action start 16:01:16: VsipClientCustomActions.exe_1.
MSI (s) (08:2C) [16:01:16:544]: Note: 1: 2753 2: VsipClientCustomActions.exe
DEBUG: Error 2753: The File 'VsipClientCustomActions.exe' is not marked for installation.
EDIT: one more thing...I just tested it some more and the uninstall works fine on Vista when logged onto the machine as the built in "Administrator", but not as a user in the administrators group. So, is it possible that something isn't elevating the client uninstall custom action correctly when it is called from another .msi? Again, the stand alone client.msi uninstall works fine and the server.msi uninstall just calls the client.msi uninstall.