PDA

View Full Version : Shortcuts problem


cdundee
07-11-2007, 07:49 PM
I have two files in the package one an .exe and another .rtf. I went to file properties of .exe and enabled the shortcut. The build works fine. But, If I go to file properties of .rtf and set enable its shortcut also along with .exe shortcut the build fails. I get the following error message:
D:\temp\testsufwi\setup\setup.wxs(63) : error LGHT0091 : Duplicate symbol 'Component:sufupscid_0001' found.
D:\temp\testsufwi\setup\setup.wxs(48) : error LGHT0092 : Location of symbol related to previous error.

Error 5001: light.exe returned 92
Deleting temporary files

Build FAILED! Error: 5001

Does anyone know why the build is failing when I enable two shortcuts for two different files using the file properties?

The build does not fail if I create the shortcut to .rtf from the shortcuts dialog and I create shortcut for .exe from file properties.

Thanks.

Lorne
07-12-2007, 12:37 PM
There was a bug related to those IDs that was fixed in the recent update. Are you using the latest version (1.1.1004)? Was your project started in a previous version?

cdundee
07-12-2007, 04:46 PM
I am using 1.1.1004.0. I cannot remember if I started the project in previous version. I did create a new project just now in 1.1.1004 and the problem did not occur. I guess I created the project in previous version.

If I created the project in previous version how can I get rid of this problem without recreating the whole install package from scratch in new version? Can I export and then re-import or do I have to edit some file?

Thanks.

Lorne
07-13-2007, 10:29 AM
You might be able to fix it by removing the files in question (the ones that are causing the error) and re-adding them.

If that doesn't work, you could edit the .sufproj file in a text editor to change the conflicting user-profile shortcut IDs. (Make a copy first so you have a backup if anything goes wrong.)

Search in the .sufproj file for sufupscid_0001, and edit the file so there aren't any duplicates.