PDA

View Full Version : Setting File Id attributes to be different from the FileName Attribute


DavidL
07-18-2008, 06:36 PM
I am trying to port our existing WiX project into MSI Factory. The existing WiX FileIDs were in the original 8 character lenght format in WiX 1.0. Our product has already been out to our customers so there is already an install base.

In testing the "upgrade" features of MSI Factory, I can build a patch/upgrade of our code and it updates the code fine.

However, when I try to uninstall the "upgraded" product (from MSI Factory) the Window Service that is installed does not get removed and the files are not deleted from the install directory.

Is there any way in MSI Factory to set the FileID attribute of the <File> element to be something other than the FileName attribute?

Lorne
07-22-2008, 01:00 PM
Right now there is no way to edit the file id from within the design environment, but that is a feature we will most likely add in a future update. (REF: 17609)

In the mean time you can always edit the file IDs directly in the project (.msifact) file -- the .msifact file is XML.