Yes it does Rob, thank you. I looked at the documentation for the Preprocessor and do not see any examples of that syntax o_O
Steve Baker ---------------------------------------- From: Rob Mensching <[EMAIL PROTECTED]> Sent: Friday, July 18, 2008 3:25 AM To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>, General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Subject: RE: [WiX-users] Testing for existence of a Project Reference Does the following work...? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Baker Sent: Thursday, July 17, 2008 16:12 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Testing for existence of a Project Reference Thanks bob, i missed that syntax in the help file omits the $(var. ) So now I have broken this down to the simplest example i can think of and still seem to be having troubles. I created a new solution, added one class library and one wix installer project. I added a reference to ClassLibrary1 in the wix project. I added: when i try to compile i get this error: Error 1 preprocessor definition value: C:\code\Test\ClassLibrary1\bin\Debug\ what this tells me is that the check to see if the preprocessor definition exists says that it doesn't, but the value is expanded correctly in the error statement so it must. what am i doing wrong ? Steve Baker ---------------------------------------- From: Bob Arnson Sent: Thursday, July 17, 2008 5:51 PM To: [EMAIL PROTECTED], "General discussion for Windows Installer XML toolset." Subject: Re: [WiX-users] Testing for existence of a Project Reference Steve Baker wrote: > I am trying to test if a project reference has been defined from inside a wxi > file by testing one of the constants that should be defined like this: > > -------------------------------------------------------- > > $(var.id) is a variable resolution, to expand the id into its variable value. and are looking for the id itself, so just drop the $(var.) portion. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users