Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Command-line options for SETUP1.EXE

1,530 views
Skip to first unread message

eros...@my-deja.com

unread,
Jun 30, 1999, 3:00:00 AM6/30/99
to
Is it possible to allow the user to give command-line options to
SETUP.EXE and have it pass them on to SETUP1.EXE, where I can use them
to control installation?


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

Dave Gallant

unread,
Jun 30, 1999, 3:00:00 AM6/30/99
to
That's a damn good question.

Right now, I just have a form appear with the installation options and
choices, but the answer to your question would be nice to know as well

eros...@my-deja.com wrote in message <7ld8l3$f5u$1...@nnrp1.deja.com>...

Donald A. Herman

unread,
Jul 1, 1999, 3:00:00 AM7/1/99
to
It already does that. Read the source to see what they are, or modify it to
add what you want.

--
Donald A. Herman
Software - Scheduler Pro, Disk Cataloger
http://members.tripod.com/~Don_Herman/
Home Page, VB5 & 6 Resources, Information and Links
http://www.fcs-net.com/dherman/index.htm


--
Dave Gallant <da...@cyberdesign-nb.com> wrote in message
news:7ldo3f$7vf$1...@garnet.nbnet.nb.ca...

eros...@my-deja.com

unread,
Jul 1, 1999, 3:00:00 AM7/1/99
to
I tried giving some options on the SETUP.EXE command line, and all I
got from it was "Invalid command-line arguments. Unable to continue."
I can see from the SETUP1.VBP source that SETUP passes SETUP1 a number
of arguments. I would like to know if it is possible to allow the user
to put arguments on the SETUP.EXE command line and have those passed on
to SETUP1 in addition to the built-in stuff.

In article <eHzC8c5w#GA.304@cppssbbsa04>,

Donald A. Herman

unread,
Jul 3, 1999, 3:00:00 AM7/3/99
to
Run the Setup1 in vb and follow the commandline process to see what can be
done, and how it is done.
If you dont know how
http://www.fcs-net.com/dherman/index.htm
vb page


--
Donald A. Herman
Software - Scheduler Pro, Disk Cataloger, Math Wizard

--

<eros...@my-deja.com> wrote in message news:7lfo5s$cic$1...@nnrp1.deja.com...

eros...@my-deja.com

unread,
Jul 9, 1999, 3:00:00 AM7/9/99
to
I'm not that far, yet.

I created an install using the PDW. I then picked Start->Run. I
entered

<install path>\SETUP.EXE /TestOption

just to see what would happen. I got a message box saying, "Invalid
command-line arguments. Unable to continue." This happened even
before SETUP.EXE copied the bootstrap files (like SETUP1.EXE) out of
the .CAB file.

I'm sure I can figure out the rest, but how do I get SETUP.EXE (not
SETUP1.EXE) to not complain about command-line parameters?

In article <ejjTVEdx#GA....@cppssbbsa02.microsoft.com>,

Donald A. Herman

unread,
Jul 11, 1999, 3:00:00 AM7/11/99
to
Are the directions on my site not clear ? I need to know.

To test your setup interactively in VB6 open the Setup.lst in Notepad and
locate
"Spawn=setup1.exe"

replace it with
"Spawn=c:\YourPath\vb6.exe c:\YourPath\setup1.vbp /cmd"

Note: Use short filenames and paths.

Then run the Setup.exe from the setup location and it will start the setup
kit VBP.

Once it opens VB click run.

--
Donald A. Herman
Software - Scheduler Pro, Disk Cataloger, Math Wizard
http://members.tripod.com/~Don_Herman/
Home Page, VB5 & 6 Resources, Information and Links
http://www.fcs-net.com/dherman/index.htm

--

<eros...@my-deja.com> wrote in message news:7m5gj8$htl$1...@nnrp1.deja.com...

eros...@my-deja.com

unread,
Jul 12, 1999, 3:00:00 AM7/12/99
to
Your instructions were clear, but they're not quite what I want to do.
I'm looking for a way to have a single package where the end-user can
type something like

A:\SETUP /SetupOption1

or

A:\SETUP /SetupOption2

to get different installation options. Obviously those options would
have to be passed on to SETUP1.EXE, but I'm still trying to find out if
there is a way to give options to SETUP.EXE without causing an error.

In article <uf#LRS$y#GA....@cppssbbsa02.microsoft.com>,

Donald A. Herman

unread,
Jul 13, 1999, 3:00:00 AM7/13/99
to
But what I am saying is you can see what can be done by running the code and
see what happens (STEP THRU). Or do you want me to do it, and let you know
what can and cannot be done to modify command line options ?

Well I took a quick look and I ran a command line option that I put in the
setup.lst so it looked like

Spawn=Setup1.exe /h

Retrieved and separated it from the command in the ProcessCommandLine. So it
can be done but maybe not thru Setup.exe because it is to dumb to pass it to
setup1.exe.

OK, now you got what you needed to know.


--
Donald A. Herman
Software - Scheduler Pro, Disk Cataloger, Math Wizard
http://members.tripod.com/~Don_Herman/
Home Page, VB5 & 6 Resources, Information and Links
http://www.fcs-net.com/dherman/index.htm

--

<eros...@my-deja.com> wrote in message news:7mcp99$ma4$1...@nnrp1.deja.com...

0 new messages