Archive: How to get GUID on install?


How to get GUID on install?
I want to get the GUIDs when i'm installing a another software with mine and store them. How can i get it(GUID)?


You need to provide some more information about where these guids come from...


Using this line can generate a GUID:
System::Call `ole32::CoCreateGuid(g.R0)`
MessageBox MB_OK $R0


Actually, we are installing SQL server express 2005 edition with our software and i need The SQL server express 2005 GUID. The problem is that we are calling (executing) the installation with SQL server's default setup. I need to find a way to get the SQL server GUID. Any idea?


Install SQL server express 2005, and find its key name under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, or open the msi file with Orca to search its GUID.


That's exactly what i did ! Thank you very much!! Oh by the way it is easier to Uninstall a sofware with is GUID,the key has the uninstall string as a value, if anybody else has the issue.;)