Hello, Error 1: You mention "<Directory Id='ProgramFilesFolder' Name='PFiles'>" where PFiles is the name of the link to the programfiles folder, further, you mention "Directory=ProgramMenuDir". Replace the last with the first and you're done.
Error 2: You have to include a reference to the icon itself (it is not native). Add this statement afte the last </directory> line : " <Icon Id="Test.exe" SourceFile="$(var.<yourpath>)\yourexe.exe" /> " where "yourpath" and "yourexe" are to be replaced by the data of your executable file (source folder!) Error 3: You need to add "<Directory Id="DesktopFolder" Name="Desktop" />" to the directory list Error 4 : similar to error 2 HTH, Tim ----- Originele e-mail ----- Van: "Johannes Hetzer" <johannes.het...@eckd.de> Aan: wix-users@lists.sourceforge.net Verzonden: Maandag 21 juni 2010 12:58:40 GMT +01:00 Amsterdam / Berlijn / Bern / Rome / Stockholm / Wenen Onderwerp: [WiX-users] Unresolved reference to symbol 'Directory:ProgramMenuDir' in section 'Product:{21303116-42B5-4428-9ED1-A20CDBDE2168}' Hi there, I'm getting started with WiX and I want to create just some simple icons on the desktop and the startmenu but I'm getting: Error 1 Unresolved reference to symbol 'Directory:ProgramMenuDir' in section 'Product:{21303116-42B5-4428-9ED1-A20CDBDE2168}'. Error 2 Unresolved reference to symbol 'Icon:Test.exe' in section 'Product:{21303116-42B5-4428-9ED1-A20CDBDE2168}'. Error 3 Unresolved reference to symbol 'Directory:DesktopFolder' in section 'Product:{21303116-42B5-4428-9ED1-A20CDBDE2168}'. Error 4 Unresolved reference to symbol 'Icon:Test.exe' in section 'Product:{21303116-42B5-4428-9ED1-A20CDBDE2168}'. My .wxs files looks like this: <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id="Firma" Name="Test"> <Directory Id="App" Name="Test"> <Directory Id="Server" Name="Test"> <Directory Id="INSTALLLOCATION" Name="19"> <Component Id="MainExecutable" Guid="0257BFC2-D661-4C24-9F1B-8B8E24F4A8FB"> <File Id="Testexe" Name="Test.exe" DiskId="1" Source="Test.exe" KeyPath="yes"> <Shortcut Id="startmenuTestTest19" Directory="ProgramMenuDir" Name="Test - Test - 19" WorkingDirectory='INSTALLLOCATION' Icon="Test.exe" IconIndex="0" Advertise="yes" /> <Shortcut Id="desktopTestTest19" Directory="DesktopFolder" Name="Test - Test - 19" WorkingDirectory='INSTALLLOCATION' Icon="Test.exe" IconIndex="0" Advertise="yes" /> </File> </Component> </Directory> </Directory> </Directory> </Directory> </Directory> </Directory> What am I doing wrong? Kind regards, J. Hetzer ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users