Hi, I have a problem in my installer with creating shortcuts : basically, I need to create a shortcut where the executable isn't part of my installer and I just need to provide parameters.
I retrieve the executable path using : <Property Id="PROWCINI_PATH"> <RegistrySearch Id="ProwcIniPath" Root="HKLM" Key="Software\PSC\WebClient" Name="ProwciniPath" Type="file"/> </Property> And I add icon using : <Shortcut Id="Shortcut1" Advertise="no" Directory="DesktopFolder" Name="MyShortcut" Target="[$PROWCINI_PATH]" Arguments="http://localhost/foo/bar"/> Problem is that when running the installer, I get my icon created in desktop folder, but executable path isn't the value of PROWCINI_PATH, but to its parent directory. WiX help says for target attribute that the value will be defaulted to the parent File when nested under a File element. So how is it possible to create a shortcut using the correct executable path ? Best regards -- Gilles QUERRET ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users