This may seem like a silly question, but is this change global? Now my output paths are exhibiting the same escaping behavior, for non WiX projects. Was this a change in 2008, or did your change have other effects?
Chris On Wed, Jun 25, 2008 at 1:42 PM, Jason Ginchereau <[EMAIL PROTECTED]> wrote: > >>I'd rather see it not escaped, but that's just me. I don't even know if > that's a WiX thing, or a VS2008 thing. > Auto-escaping special chars is a recent change I implemented in the Votive > properties dialogs. It is intended to prevent one from getting into a state > where the project file can't be loaded, or is loaded incorrectly, because > special characters can unintentionally confuse the parser. > > So, certain MSBuild special characters are auto-escaped as a %hex code when > they are entered in the properties dialogs. But the $() characters should > not be escaped for properties that support MSBuild variables. Currently > those are: > Compiler/Linker/Lib Additional Options > Preprocessor Variables > WiX Variables > Output Path > Pre/Post Build Event > > Output Name is not in that list, but it probably should be. I agree with > your feedback that the Output Name value should allow embedded MSBuild > variables. > > -Jason- > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] On Behalf Of Christopher Karper > Sent: Wednesday, June 25, 2008 10:17 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Question about $(Platform) in Votive Output name > > So, here's the part where I answer my own question. Sheepishly, I have to > admit that when I changed the .wixproj file by hand, I put in ($Platform) > instead of $(Platform).. So, once that was corrected, I got the behavior I > was looking for. > > The fact remains that the 2008 version seems to be escaping the non > alphanumeric characters, but whether you consider that a bug or a feature > is > up to you, I guess. I'd rather see it not escaped, but that's just me. > I > don't even know if that's a WiX thing, or a VS2008 thing. > > Chris > > On Wed, Jun 25, 2008 at 1:00 PM, Christopher Karper < > [EMAIL PROTECTED]> wrote: > > > In a project I created in VS2005 I used "Installer $(Platform)" as my > > output name... It worked fine by created "Installer x64.msi" > > > > Now, I've converted to VS2008, and it still works fine. > > > > However, I created a new project, and set up a merge module WiX project, > > with "Module $(Platform)" as the output name, and it creates "Module > > $(Platform).msm" as the output. > > > > In the .wixproj XML, I noticed it had escaped the $() characters, so I > > replaced those manually and reopened it, but to no avail. It's still > > creating the name without replacement. > > > > Is this a change in platform functionality? Was I relying on a bug that > > was fixed? Is this a bug that was introduced? Am I a great big fat > idiot? > > Any and all advice would be appreciated. :-) > > > > Thanks! > > Chris > > > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users