MSIEXEC Unregistered
Hello,
My application launches product's MSI using InstallProduct. This application needs to perform some validations before installing MSI. MSI Service state is one of those validations I need to know about. If the user does something like this from command prompt --- "msiexec /unreg", application fails to install. How can I validate whether the service is unregistered or not.
My application launches product's MSI using InstallProduct. This application needs to perform some validations before installing MSI. MSI Service state is one of those validations I need to know about. If the user does something like this from command prompt --- "msiexec /unreg", application fails to install. How can I validate whether the service is unregistered or not.
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
anonymous_9363
12 years ago
If your users have rights to register and unregister COM containers, then you deserve everything you get!
Anyway, even a passing knowledge of how registrations work would surely lead you to check the WindowsInstaller.Installer entry in the registry, HKEY_CLASSES_ROOT\WindowsInstaller.Installer\CLSID.
Anyway, even a passing knowledge of how registrations work would surely lead you to check the WindowsInstaller.Installer entry in the registry, HKEY_CLASSES_ROOT\WindowsInstaller.Installer\CLSID.
Posted by:
milindsm
12 years ago
Posted by:
anonymous_9363
12 years ago

so that the conversation will remain readable.