Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Execute EXE and pass path information with "s


2 replies to this topic

jhancock

jhancock
  • Members
  • 5 posts

Posted 25 November 2001 - 17:49

I'm trying to run a custom action that shares a network path automatically.

Here's what I do now:

Custom Action to call net.exe from the system path.

net share EDI=[EDI]

This results in an error because [EDI] is a long path with spaces, so then I tried it like this:

net share EDI="[EDI]" and its actually running it litterally instead of converting [EDI] to the path.

So how exactly do I get the litteral "s in and the path parsed? I can't find any information anywhere on this!

Any help would be greatly appreciated!

Thanks,
James Hancock


Irina

Irina
  • Members
  • 227 posts

Posted 26 November 2001 - 16:44

Hi,
Try to set the EDI property as "drive:\path" with "s directly.

TAL

TAL
  • Members
  • 77 posts

Posted 27 November 2001 - 10:28

Hi,

What i did was using a single " before the property, so it would be something like "[BLABLABLA]
As wierd as it sounds, it is working!.