PDA

View Full Version : ProductGUID in Setup.ini



ceciltss
11-09-2011, 02:35 PM
I am trying to achieve some flexibility in a specific installation product and I would like to be sure that the assumption preventing my particular function is true.

As near as I can tell, why a project is compiled for distribution (built) the file Setup.ini is created. Inside this file is placed the value of the ProductGUID for the project. Changing this value within the Setup.ini file has no effect on Setup.exe. The actual ProductGUID cannot be changed without rebuilding.

Is this true.

Thanks in advance for any help.

MichaelU
11-23-2011, 12:42 PM
The ProductCode referenced in the Setup.ini should be considered like a local cache of a potentially expensive piece of information. Changing it will not help matters; it can only make them less correct. It's required to avoid extra work in scenarios where the .msi file may not be local to the .exe (such as in installations that download or extract the files in question).