Results 1 to 7 of 7

Thread: [RESOLVED] VB6 Setup Bootstrap CommandLine options?

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2005
    Posts
    36

    Resolved [RESOLVED] VB6 Setup Bootstrap CommandLine options?

    I don't use VB5/6, but I need to fix this installation. Searched the MSDN, not getting anything.

    It's using this setup.exe (Setup Bootstrap for Visual Basic Setup Toolkit) and a CAB file. It's currently started from a vbs as - shell.run "setup.exe",1,True - but I'd like to start it from the commandline. The obvious /?hhelp options give nothing. Can anyone help translating?

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: VB6 Setup Bootstrap CommandLine options?

    Start "c:\thePath\setup.exe"

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2005
    Posts
    36

    Re: VB6 Setup Bootstrap CommandLine options?

    Sorry no - I need the commandline options that the setup.exe takes, as in:
    setup.exe /value1=true or something similar. Anything I've tried exits with a windows box like 'Invalid parameters'.

  4. #4
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: VB6 Setup Bootstrap CommandLine options?

    It doesn't have any command line options.

  5. #5

    Thread Starter
    Member
    Join Date
    Nov 2005
    Posts
    36

    Re: VB6 Setup Bootstrap CommandLine options?

    OK, thank you. Time to read on vbs figuring this.

  6. #6
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: [RESOLVED] VB6 Setup Bootstrap CommandLine options?

    The arguments to Shell.Run are:
    Program to start
    Window state - 1 is normal (not minimized or maximized) with focus
    Wait for return... - your scripts halts and waits for the program to finish

  7. #7

    Thread Starter
    Member
    Join Date
    Nov 2005
    Posts
    36

    Re: [RESOLVED] VB6 Setup Bootstrap CommandLine options?

    Takker og bukker!

    Rather embarrassing not being familiar with vbs, but I can make some unreadable batch-files. Still has to figure why this setup behaves differently from the commandprompt and vbs. I'll see tomorrow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width