Hi Bob,

This did work, although it then found (and used) the first instance of
cmd.exe that it came across.

The solution to use a custom action to define the SystemFolder property and
use that ended up working just fine.

Thanks,
Alicia


On Tue, Jan 20, 2009 at 1:59 PM, Bob Arnson <b...@joyofsetup.com> wrote:

> Alicia Holloway wrote:
> > I have a Wix project in which I am trying to add a shortcut to a command
> > prompt which calls a batch file as a command line argument.  With the
> code I
> > have so far (see below), I can get it to work on Windows XP only, because
> > the environment variable it's using to find the cmd.exe program is
> > determined at compile time (and it's being compiled on an XP).
> >
>
> Use a FileSearch instead, then reference that property in your Shortcut
> target.
>
> --
> sig://boB
> http://joyofsetup.com/
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
Alicia Holloway
Software Engineer
Sound Design Technologies, Ltd.
905-635-0804 x3056
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to