Perhaps you could try backslashing the forward-slash characters? (i.e. '\/'
for each instance of '/' you want to show up)
At least for ampersand (&), I've noticed I have to use & because WiX is
an XML format. Perhaps it would also accept some hex representation of the
forward-slash.
On 1/9/07, Jason Van Eaton <[EMAIL PROTECTED]> wrote:
I want to set the Target of a Shortcut as follows (please not the location
of the quotes and direction of the forward slash)...
%ComSpec% /k "C:\Program Files\<MyApp>\wix\doc\wix.chm"
<Shortcut Id='Shortcut_Desktop'
Directory='DesktopFolder'
Name='MyApp'
WorkingDirectory='WorkingDirectory'
Icon='Icon_MyApp.ico'
Target='[ShortcutTarget]'>
</Shortcut>
<Property Id='WorkingDirectory' Value='INSTALLDIR'/>
<CustomAction Id='SetWorkingDirectory' Property='WorkingDirectory'
Value='[INSTALLDIR]'/>
<Property Id='ShortcutTarget' Value='WorkingDirectory'/>
<CustomAction Id='SetShortcutTarget' Property='ShortcutTarget'
Value='%ComSpec% /k [WorkingDirectory]wix\doc\wix.chm'/>
What I get is...
"%ComSpec% \k C:\Program Files\<MyApp>\wix\doc\wix.chm"
So the 2 problems I need to overcome are the location of the double quote
and the changing of the direction of the forward slash to a back slash.
Furthermore, I am a little confused why the WorkingDirectory attribute of
the Shortcut accepts a Property Id without the []'s and the Target attribute
does not. That is more of an inconsistency in my current understanding.
Thanks!
JVE
-------------------------------------------------------------------------
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
--
===========
Brian Patton
http://people.bu.edu/bjp/
http://people.bu.edu/reallife/ourstories.html
-------------------------------------------------------------------------
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