Re: [WiX-users] WixVariables and GUIDs
Thanks for the link Brian, that helps explain things. Russell On 18 Jul 2009, at 13:21, Bob Arnson wrote: > rh_maill...@mac.com wrote: >> Thanks Brian, this does work (I thought I'd tried this and it >> didn't before!) Odd that if I define the GUID as a pre-processor >> variable it doesn't require {}'s and if you enter the GUID manually >> Wix says it doesn't need them. >> > > http://www.joyofsetup.com/2008/07/17/beware-localization-variables/ > -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WixVariables and GUIDs
rh_maill...@mac.com wrote: > Thanks Brian, this does work (I thought I'd tried this and it didn't before!) > Odd that if I define the GUID as a pre-processor variable it doesn't require > {}'s and if you enter the GUID manually Wix says it doesn't need them. > http://www.joyofsetup.com/2008/07/17/beware-localization-variables/ -- sig://boB http://joyofsetup.com/ -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WixVariables and GUIDs
Hey Russell, I am not 100% sure but I believe the WiX team works some magic on GUIDs before the bind/link time. That might be why you are seeing this behavior. Thanks, Brian Rogers "Intelligence removes complexity." - Me http://blogs.msdn.com/icumove <-- NEW On Wed, Jul 15, 2009 at 9:37 AM, wrote: > Thanks Brian, this does work (I thought I'd tried this and it didn't > before!) Odd that if I define the GUID as a pre-processor variable it > doesn't require {}'s and if you enter the GUID manually Wix says it doesn't > need them. > > But it works so great. > > Thanks > > Russell > > On Wednesday, 15 July, 2009, at 04:59PM, "Brian Rogers" < > rogers.br...@gmail.com> wrote: > >Hey Russell, > > > >Have you tried putting brackets around the GUID? > > > >http://msdn.microsoft.com/en-us/library/aa368767(VS.85).aspx > > > >Thanks, > > > >Brian Rogers > >"Intelligence removes complexity." - Me > >http://blogs.msdn.com/icumove <-- NEW > > > > > > -- > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WixVariables and GUIDs
Thanks Brian, this does work (I thought I'd tried this and it didn't before!) Odd that if I define the GUID as a pre-processor variable it doesn't require {}'s and if you enter the GUID manually Wix says it doesn't need them. But it works so great. Thanks Russell On Wednesday, 15 July, 2009, at 04:59PM, "Brian Rogers" wrote: >Hey Russell, > >Have you tried putting brackets around the GUID? > >http://msdn.microsoft.com/en-us/library/aa368767(VS.85).aspx > >Thanks, > >Brian Rogers >"Intelligence removes complexity." - Me >http://blogs.msdn.com/icumove <-- NEW > -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WixVariables and GUIDs
Hey Russell, Have you tried putting brackets around the GUID? http://msdn.microsoft.com/en-us/library/aa368767(VS.85).aspx Thanks, Brian Rogers "Intelligence removes complexity." - Me http://blogs.msdn.com/icumove <-- NEW On Wed, Jul 15, 2009 at 6:31 AM, wrote: > I'm trying to put a GUID in to a wix variable but can't seem to make it > work. I've successfully put the same GUID in to a pre-processor define and > it works correctly. Is this a bug in Wix 3 or am I trying to use wix > variables incorrectly. > > I've declared the define like this: > > > > And was accessing it like this: > > > > Which worked fine. > > I've then tried to declare this as a wix variable so it can go in a library > project like this: > > > > But if I then try and use this variable in an upgrade section: > > > > I get the following 2 errors: > > Error 1 ICE03: Invalid GUID string (Be sure GUID is all UPPER > case); Table: Upgrade, Column: UpgradeCode, Key(s): > 5FC4DAE6-D1B9-42D6-BF3A-6DA600FB8A3F..0.2.0..256 > C:\russell\ServerTools\trunk.wix\IssueChooserWix\Common.wxi 7 1 > IssueChooserWix > Error 2 ICE61: In Upgrade table UpgradeCode > 5FC4DAE6-D1B9-42D6-BF3A-6DA600FB8A3F is not a valid GUID > C:\russell\ServerTools\trunk.wix\IssueChooserWix\Common.wxi 7 1 > IssueChooserWix > > Is this the correct syntax to use wix variables? > > Thanks > > Russell > > > > -- > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WixVariables and GUIDs
I'm trying to put a GUID in to a wix variable but can't seem to make it work. I've successfully put the same GUID in to a pre-processor define and it works correctly. Is this a bug in Wix 3 or am I trying to use wix variables incorrectly. I've declared the define like this: And was accessing it like this: Which worked fine. I've then tried to declare this as a wix variable so it can go in a library project like this: But if I then try and use this variable in an upgrade section: I get the following 2 errors: Error 1 ICE03: Invalid GUID string (Be sure GUID is all UPPER case); Table: Upgrade, Column: UpgradeCode, Key(s): 5FC4DAE6-D1B9-42D6-BF3A-6DA600FB8A3F..0.2.0..256 C:\russell\ServerTools\trunk.wix\IssueChooserWix\Common.wxi 7 1 IssueChooserWix Error 2 ICE61: In Upgrade table UpgradeCode 5FC4DAE6-D1B9-42D6-BF3A-6DA600FB8A3F is not a valid GUID C:\russell\ServerTools\trunk.wix\IssueChooserWix\Common.wxi 7 1 IssueChooserWix Is this the correct syntax to use wix variables? Thanks Russell -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users