Hey Alex,

According to Pyro error PYRO0243 (in comments on Peter's blog
http://blogs.msdn.com/pmarcu/archive/2007/06/28/sample-patch.aspx) "
'ComponentX' has a changed keypath. Patches cannot change the keypath of a
component. " So, if you changed the File Id you would void this. I am not
sure about changing the actual file name but I think that how we generate
the 8.3 names (which affect patching) comes from the name of the file (don't
quote me on that).

Also, it is best not to delete components as mentioned by Peter on the same
comment area.

Hope that helps,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Tue, Jun 9, 2009 at 6:01 PM, Alex Ivanoff <alex.ivan...@shavlik.com>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