1) I want a Windows application to determine if an MSI should be run
based off what the user has installed. Is something stored in the
registry to keep track of which version of an MSI was run? I'm
assuming I could just check the version I specifically set in the
registry for the application version. I also wanted to see if there
was a Windows Installer API that could check the version number of an
MSI. Someone Windows installer does this since if you run the same
version of an MSI it knows to bring up the Modify / Repair screen. I
want be able to do the same. What is the easiest way to do this?
2) Where is uninstall information stored for an MSI which was run. Is
a copy of the MSI kept in the Windows temp directory? How does it know
what to do when the uninstall process is run. I couldn't find any
documenation on MSDN about this. Any help would be appreciated.
Thanks in advance for any help.
Tim.