We see the same issue with the 3.0 release. To summarize, we get a warning from Candle when building an MSI that requests a long-named file to be removed via RemoveFile.
I can't check the bug tracker right now as SourceForge is throwing up 500's when I try - would this be reasonable to file a bug on if one is not there? Thanks, Michael C. Bazarewsky -----Original Message----- Sent: Tuesday, June 16, 2009 7:41 PM I apologize, I should have specified: 3.0.5217.0. -----Original Message----- Sent: Tuesday, June 16, 2009 5:10 PM Bazarewsky, Michael C. wrote: > Hello, > > I have a WIX MSI that removes a runtime-generated file. The applicable > fragment looks like this: > > <RemoveFile Id="DeploymentGeneratedSQL" > LongName="FrameworkDeploy.sql" > Name="Fr*.sql" > On="uninstall" > /> > > This works right now, but is messy, because of the wildcard. I originally > just used > > <RemoveFile Id="DeploymentGeneratedSQL" > Name="FrameworkDeploy.sql" > On="uninstall" > /> > > But that did not work, presumably because Name is supposed to be a short > name. If I put in just a "LongName", I get a complaint that I need a "Name". > Because I don't know the short name (it would be generated when the file was > created if it was generated at all) I can't use a specific name. > > As I said, this works at runtime, but it causes a warning from WiX that > LongName is depreciated - I should use Name: > > warning CNDL1069: The RemoveFile/@LongName attribute has been > deprecated. Since Windows Installer XML now has the ability to generate > short file/directory names, the desired name should be specified in the Name > attribute instead. If the name specified in the Name attribute is a short > name, then Windows Installer XML will not generate a short name. If the name > specified in the Name attribute is a long name and you want to manually > specify the short name, please set the short name value in the ShortName > attribute. > > However, as I said, using a long name in Name doesn't seem to work. > > Any ideas? ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users