Results 1 to 2 of 2

Thread: Pass install folder via command line

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Pass install folder via command line

    I would like to be able to pass the install folder via command line and if
    the installer receives, use it as the default install folder.

    I am sure this can be done.

    Anybody have a quick example?

    Thus far, have not had to do anything too sophisticated with SB.

    Thanks!

    Greg Berthume
    C10 12799 | SQL Server 2016

  2. #2

    Default Re: Pass install folder via command line

    Hi Greg

    simple.. two ways as per the Scripting Guide from SB help...

    /X pathname - Set default %_SB_INSTALLDIR% installation folder to pathname
    /V VARIABLE VALUE - Set %VARIABLE% to VALUE

    Then manage with tests of those variables within your script.

    HTH

    JohnG

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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