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

Passing parameters to a self-extracting executable


4 replies to this topic

gronchi

gronchi
  • Members
  • 71 posts

Posted 03 April 2003 - 14:58

Hi to all,
I used to call setup.exe within a DOS batch file passing some parameters.
Inside setup I extracted them using:
  StrGetTokens (listParameter, CMDLINE, " ");
Well, I'd like to package that setup into a self-extracting executable but I discovered that way doesn't work!
If I choose to package the setup into a self-extracting executable file with the Media wizard help I notice there is a setup command line parameters line to fill, but at build time I don't know the parameters, that's because I choose to start setup by a DOS batch file...
Are there others way to pass parameters to a self-extracting executable?


Thanks to all,
ciao Giuseppe

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 03 April 2003 - 16:35

To pass other parameters to the setup contained with a self-extracting excutable, use -a followed by your normal argument list.  The 'a' means additional.
user posted image

gronchi

gronchi
  • Members
  • 71 posts

Posted 16 April 2003 - 14:41

QUOTE (TacoBell00 @ 2003-04-03 15:35)
To pass other parameters to the setup contained with a self-extracting excutable, use -a followed by your normal argument list.  The 'a' means additional.

Thanks, it was very simple but I can't reach it by myself!

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 16 April 2003 - 15:19

QUOTE (gronchi @ 2003-04-16 09:41)
QUOTE (TacoBell00 @ 2003-04-03 15:35)
To pass other parameters to the setup contained with a self-extracting excutable, use -a followed by your normal argument list.  The 'a' means additional.

Thanks, it was very simple but I can't reach it by myself!

I think you mean that you couldn't "figure it out" by yourself. wink.gif
user posted image

gronchi

gronchi
  • Members
  • 71 posts

Posted 17 April 2003 - 07:17

QUOTE
I couldn't "figure it out" by myself
I can't reach it by myself


Aren't these two phrases the same?
If not, I apologize for my bad english...