SetupBuilder Community  

Go Back   SetupBuilder Community > SetupBuilder Software Installation System > SetupBuilder - NNTP

Reply
 
Thread Tools Display Modes
  #1  
Old 06-13-2012, 01:23 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,147
Default How to extract command line parameters

Hi Friedrich,

before I start to develop my own script, I ask for ideas or an already
existing solution.

If I start my setup like this:

setup.exe /abc /xf ab|c /yz "123/123"

I have 4 parameters

/abc

/xf with value ab|c

/yz with value 123/123

Because of the "|" character and the "/" between the "", i can't use the
simple "split string" soultion.

Any suggestions?

Thanks for your answer.

Markus
Reply With Quote
  #2  
Old 06-13-2012, 01:24 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,147
Default Re: How to extract command line parameters

Of course "3 parameters"...

Markus Zander
Reply With Quote
  #3  
Old 06-13-2012, 01:24 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,147
Default Re: How to extract command line parameters

Markus,

>
> Any suggestions?
>

I have developed a (VERY) quick-and-dirty demo:

http://www.lindersoft.com/projects/extract_cl.zip

To retrieve the "real" command line from a setup.exe, comment-out Line 27
and comment-in Line 28.

Friedrich
Attached Images
 
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 09:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © 2004-2012 Lindersoft