Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Checking an installation


2 replies to this topic

codec

codec
  • Full Members
  • 8 posts

Posted 03 January 2006 - 23:19

Is there a way to check if a product is installed correctly, or has been changed? Some combination of msiexec command line options to check if all files are present and unchanged?

I know there is the repair option, but I'd like a way to see if a repair is actually required, and if so by what. A sort of "make -n" option - tell me what you would repair, or I guess even to do the repair but report what is not correctly installed if anything?




mandy

mandy
  • Members
  • 121 posts

Posted 04 January 2006 - 16:44

"MsiInstallMissingComponent" sounds closest to what you may be looking for?


Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 05 January 2006 - 00:14

I don't know of such a program or script. Ultimately you could create your own, just enumerate all components, and ask their states. For all installed components, check their key paths.

You can always force a repair with logging on, then examine the log file.