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

Locally cached msi


1 reply to this topic

etippelt

etippelt
  • Members
  • 6 posts

Posted 03 September 2003 - 12:19

When you install an MSI, a locally cached copy ends up in c:\windows\installer, but it has what appears to be a hexadecimal name of 4-7chars with the msi file extension.

How is the hexadecimal name for this msi determined ?

Also, at what point in the InstallExecute sequence, is this locally cached msi actually written to disk?

Thanks
EdT
ERT

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 05 November 2003 - 19:47

As far as I know this name is completely random. Here is what I have read: After the installation is invoked (one way or another), Windows Installer puts a copy of the MSI file with a random name in %USERPROFILE%Local Settings\Temp and then sets the value of the property called DATABASE to the name and location of the temp folder MSI file. Finally the MSI file is loaded into memory in the client process. When control is passed to the service process the database is cached in %SystemRoot%\Installer (in other words the database is apparently cached at the beginning of InstallExecute Sequence).
Regards
-Stein Åsmul