PDA

View Full Version : Adding a file


tdexter
06-13-2007, 11:44 AM
I have 990 files in a MSI (226MB). If I add another file such as a .TXT (1KB), everything builds without an issue. If I try adding a .EXE (4.5MB) the build fails:
.wxs(1348) : error LGHT0091 : Duplicate symbol 'Component:sufupscid_0003' found.
.wxs(8208) : error LGHT0092 : Location of symbol related to previous error.

Error 5001: light.exe returned 92
Deleting temporary files

Build FAILED! Error: 5001
________________________________________
Are there some size limits that I am not seeing?

Lorne
06-13-2007, 03:30 PM
That error has to do with the default IDs selected for that file's user-profile shortcuts. Do you remember if you removed any other .exe files before adding that one?

The easiest way around this error would be to uncheck the shortcut options for that .exe file (in the file properties). If you still want to install a shortcut for that file, you could add a shortcut action to the same component -- i.e. define the shortcut yourself, instead of using the automatic one that gets defined via the checkboxes in the file properties.

The user-profile shortcut ID isn't exposed in the interface, but it is stored in the project file as XML, so another alternative (if you wanted) would be to edit the project file XML to use a different ID.

In any case we'll look into this. REF: 15973

tdexter
06-18-2007, 03:45 PM
Every .EXE had the shortcut info filled in by SFWI. I took all the shortcut info out and things work like a charm.

Thank you much