1. Sometimes it takes more than 10 hours to get back to answering 
questions on a volunteer project.

2. The Resources in Components can never overlap. Remember Components 
are identified by their Guid and Resources are identified by their 
"installation path" (path for files, root/key/name for registry, etc). 
In your case, if you change the name of the File below then you *must* 
change the Component Guid otherwise the same Component would install two 
different files. Likewise, if you change the Guid then you must change 
the paths of all of the contained Resources (in this case the File path).

You might read: 
http://robmensching.com/blog/posts/2003/10/18/Component-Rules-101


Alex Ivanoff wrote:
> Anyone?
>
>
> -----Original Message-----
> From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com]
> Sent: Tuesday, June 09, 2009 11:13
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Component Id, Guid, file name and upgrade
>
> Let's say I have a component in v1:
>
> <Component Id="Comp1" Guid="45FB167E-4C14-4003-9C78-9ADBFC36321A">
>   <File Id="File1.exe "
>         KeyPath="yes"
>         Source="$(var.BinPath)\File1.exe" />
> </Component>
>
> In v1.1 the file name changes to File2.exe. Should I preserve component
> Id and Guid? Create new component Id? Generate new Guid? Both?
>
>
>
> ------------------------------------------------------------------------
> ------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to