[wix-users] GUIDs

Phill Hogland phill.hogland at rimage.com
Wed Mar 2 05:38:21 PST 2016

For 'most' situations I use a construct like this:
<File Id=" somefile.exe " KeyPath="yes" Source="somepath\ somefile.exe"/>

Which is equivalent to using Guid="*", which causes the wix tools to generate a GUID.   The GUID generation is in part based on the source path and the Id so if those do not change then the same GUID is generated for different builds of the package.   There may be limitations to this approach which affect creating a patches but I have avoided those issues by doing MajorUpgrades.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Winter,Stijn S. de
Sent: Wednesday, March 02, 2016 4:00 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] GUIDs

Hello all,

I'm making an installer for a program which is updated very often.

When making the installer for an upgrade, do i have to create new GUIDs for existing components?


in V1.0.0.0 the "someFile" is different from the "someFile" in V1.1.0.0, do i keep the same GUID or do i have to change it?


<Component Id="someFile" Directory="someDir" Guid="someGuid" >


<Component Id="someFile" Directory="someDir" Guid="someGuid" >?


Stijn de Winter

Op deze e-mail zijn de volgende voorwaarden van toepassing:
The above disclaimer applies to this e-mail message.

WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list