It was merely an example of passing a command line to %ComSpec%, which is what 
I am actually trying to accomplish.  It isn't clear to me that I can use 
ExeCommand with %ComSpec% since I am not installing that file myself.

So the question remains - is there a way to remove the quotes which cause 
Target to break?

Thanks for trying.

JVE

-----Original Message-----
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 09, 2007 8:55 PM
To: Jason Van Eaton
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Setting the target of a shortcut

Jason Van Eaton 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"
>

Why use %ComSpec% to start a .chm file? Here's what the WiX3.msi
shortcut authoring looks like:

<Component Id="ChmDocumentation"
Guid="6AA2591A-B5F8-44D9-91F4-3D7CD95635E0">
    <File Id="WiX.chm" Name="WiX.chm" KeyPath="yes" />
    <Shortcut Id="WixChmShortcut" Directory="WixShortcutFolder"
Name="WiX $(var.WixVersion) Documentation" Advertise="yes" />
</Component>

--
sig://boB
http://bobs.org



-------------------------------------------------------------------------
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

Reply via email to