I have a similar problem myself.  The way round it is to create a response file 
for each language 
which defines the relevant Guids.  You can then use a $(var.variable) instead 
of a $(loc.variable), 
which is set by using the correct response file on the command line to candle.

Rob

Pat Higgins wrote:
> Hi Folks,
> 
>  
> 
> I’m new to WiX & hope this is not too stupid a question for you all.
> 
>  
> 
> My group started using WiX, and in particular WXI files, each based on 
> old Merge Modules we used to build.
> 
> Each WXI contains *Components* & of course *Components* need *GUID’s*.
> 
> I work on localized builds so we want to change the GUID’s because the 
> files in the* Components* are localized – if the files in the Component 
> are different, the component GUID should be different.
> 
>  
> 
> Normally for a string we wanted to localize, we’d have something like 
> string="$(loc.mystring1)"  in the WXI  file & the mystring1 value in a 
> WXL file where we translate it.
> 
> But for the GUID it doesn’t work  
> 
> e.g. <Component Id="AcCalendar" Guid="$(loc.Cal_mm1-AcCalendar)" 
> SharedDllRefCount="yes" DiskId="1">
> 
> Because, as I understand it, when I state it’s a GUID, WiX expects  only 
> a /real/ GUID or a series of ????’s (unmanaged GUID, which is a security 
> risk).
> 
>  
> 
> So can I change GUID’s in a build using WXL files, if so, how? (Or have 
> I answered the question myself? It can’t be done!)
> 
> I hope that’s a clear explanation & question.
> 
>  
> 
> Thanks &  have a good weekend.
> 
> Pat Higgins
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to