I am trying to find out how to stop msiexec.exe from unregistering after I uninstall a recently captured application. Has anyone run into this? If so, what is the best way to fix it?

Currently I have to boot into SafeMode in order to re-register msiexec.exe.

Thank you!
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
You must have captured the msiexec getting registered in your snapshot. Normally you wouldn't want to do that. You have to find where that is happening and remove it from being installed in your MSI.

Just for fun, I did a regmon and found these interesting results:

C:\WINNT\System32\msiexec.exe /REGSERVER

msiexec.exe:1548 CreateKey HKCR\.msi
msiexec.exe:1548 CreateKey HKCR\.msp
msiexec.exe:1548 CreateKey HKCR\APPID\{000C101C-0000-0000-C000-000000000046}
msiexec.exe:1548 CreateKey HKCR\CLSID\{000C101C-0000-0000-C000-000000000046}
msiexec.exe:1548 CreateKey HKCR\IMsiServer
msiexec.exe:1548 CreateKey HKCR\IMsiServer\CLSID
msiexec.exe:1548 CreateKey HKCR\Msi.Package\DefaultIcon
msiexec.exe:1548 CreateKey HKCR\Msi.Patch\DefaultIcon
msiexec.exe:1548 SetValue HKCR\.msi\(Default)
msiexec.exe:1548 SetValue HKCR\WindowsInstaller.Installer\(Default)
msiexec.exe:1548 SetValue HKCR\WindowsInstaller.Installer\CLSID\(Default)
msiexec.exe:1548 SetValue HKCR\WindowsInstaller.Message\(Default)
msiexec.exe:1548 SetValue HKCR\WindowsInstaller.Message\CLSID\(Default)
msiexec.exe:1548 SetValue HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\InstallerLocation
SERVICES.EXE:212 CreateKey HKLM\System\CurrentControlSet\Services\MSIServer
SERVICES.EXE:212 CreateKey HKLM\System\CurrentControlSet\Services\MSIServer\Security


This is by no means exhaustive - and use at your own risk! But it might help you in looking for the components where this stuff is being installed.

Personally, I'd just do the snapshot process again from the beginning, only this time make sure that msiexec is already registered before you begin.

Regards,
William


ORIGINAL: tneubauer

I am trying to find out how to stop msiexec.exe from unregistering after I uninstall a recently captured application. Has anyone run into this? If so, what is the best way to fix it?

Currently I have to boot into SafeMode in order to re-register msiexec.exe.

Thank you!
Answered 02/06/2006 by: williamp
Orange Belt

Please log in to comment
0
Thanks. I did it again from scratch insuring the that it was registered and it worked.
Answered 02/07/2006 by: tneubauer
Senior Yellow Belt

Please log in to comment
0
ORIGINAL: tneubauer

Thanks. I did it again from scratch insuring the that it was registered and it worked.


Excellent!

Also, please read:
http://itninja.com/question/powerquest-deploycentre/deploylibrary-problems4

if you have a minute.... [;)]
Answered 02/07/2006 by: williamp
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity