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

Variables in Command-line Custom Action


1 reply to this topic

JeffMSJ79

JeffMSJ79
  • Members
  • 1 posts

Posted 22 November 2002 - 20:19

Okay, I have searched everywhere looking for an answer to this problem, but I haven't found one yet.

I am trying to launch an executable file in a custom action that takes parameters into it. I was wondering if anybody knows how to put variables into the command-line parameters???

Here's what I have:
Type: 82
Source: F24019_ChangingValues.exe
Target: I want to be able to put a variable (either a Property or a tuple from the String Table).

The Variable will be part of a directory, but not a full directory. So if I use a MsiSetTargetPath() function, an error comes up saying invalid directory.

Please, Any ideas or suggestions??

Jeff Sagel
Software Engineer



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 27 November 2002 - 07:12

Target: [INSTALLDIR]
for instance will pass the value of property INSTALLDIR on the command line to your exe.