Results 1 to 5 of 5

Thread: Group Policy software install with command line switch

  1. #1
    James Lavery Guest

    Group Policy software install with command line switch


    Hello all

    Is it possible to install software that requires the use of a command line
    switch using the group policy software install feature? I have used
    software that requires .MST files with group policy to modify the install
    but never a command line switch. Is what I'm asking for possible and if so
    how is it done?

    Thanks a million

    James



  2. #2
    Dmitry Korolyov [MVP] Guest

    Re: Group Policy software install with command line switch

    You can try re-packaging the software into .msi and then installing the msi
    as usual. One of the free tools available for this is WinInstall LE 2000 (on
    the W2k distro) or 2003 - you can search for a download on the internet. The
    tool takes an image of the OS before and after install, and then creates an
    ..msi package. So effectively, you first take an image of an empty system,
    then install your software (which is not .msi) with all configuration
    options and switches you want, and finally take the "after" image to form an
    ..msi package that will perform exactly the same installation.

    The only disavantage of such approach is that you have to repackage an .msi
    again if you want to change any of the installation options.

    --
    Dmitry Korolyov [d__k@removethispart.mail.ru]
    MVP: Windows Server - Active Directory


    "James Lavery" <james.lavery@dfs.virginia.gov> wrote in message
    news:uN9f6T5qEHA.708@tk2msftngp13.phx.gbl...

    Hello all

    Is it possible to install software that requires the use of a command line
    switch using the group policy software install feature? I have used
    software that requires .MST files with group policy to modify the install
    but never a command line switch. Is what I'm asking for possible and if
    so
    how is it done?

    Thanks a million

    James



  3. #3
    James Lavery Guest

    Re: Group Policy software install with command line switch

    Dmitry

    If the software I'm attempting to install is already in MSI format is there
    a way to pass a command line switch using the GP software package install?
    or do I have to use a MST file to modify the install?

    If I can't pass a switch to the GP install I'll try using the utility you
    mentioned to repack an MSI after I manualy install the first MSI with the
    comand line modifier. Sound right?

    Thanks for the help


    James


    "Dmitry Korolyov [MVP]" <d__k@removethispart.mail.ru> wrote in message
    news:ujttm%235qEHA.2588@TK2MSFTNGP12.phx.gbl...
    You can try re-packaging the software into .msi and then installing the msi
    as usual. One of the free tools available for this is WinInstall LE 2000 (on
    the W2k distro) or 2003 - you can search for a download on the internet. The
    tool takes an image of the OS before and after install, and then creates an
    ..msi package. So effectively, you first take an image of an empty system,
    then install your software (which is not .msi) with all configuration
    options and switches you want, and finally take the "after" image to form an
    ..msi package that will perform exactly the same installation.

    The only disavantage of such approach is that you have to repackage an .msi
    again if you want to change any of the installation options.

    --
    Dmitry Korolyov [d__k@removethispart.mail.ru]
    MVP: Windows Server - Active Directory


    "James Lavery" <james.lavery@dfs.virginia.gov> wrote in message
    news:uN9f6T5qEHA.708@tk2msftngp13.phx.gbl...

    Hello all

    Is it possible to install software that requires the use of a command line
    switch using the group policy software install feature? I have used
    software that requires .MST files with group policy to modify the install
    but never a command line switch. Is what I'm asking for possible and if so
    how is it done?

    Thanks a million

    James



  4. #4
    Dmitry Korolyov [MVP] Guest

    Re: Group Policy software install with command line switch

    If you have already an .msi, I think you better try looking for some
    software that will allow you to create an .mst. WinInstall for example can
    do this, but in commercial (not LE) editions.

    Also, if you already have an .msi, instead of repackaging it, you can try
    editing the file (with wininstall le 2003 or other msi editor) to change the
    default actions taken by the installer so they match your needs.
    Unfortunately, I cannot help you much on this issue - my primary experience
    with repackaging software is to repackage something which is not .msi
    initially, and free wininstall le does it pretty much good.

    --
    Dmitry Korolyov [d__k@removethispart.mail.ru]
    MVP: Windows Server - Active Directory


    "James Lavery" <james.lavery@dfs.virginia.gov> wrote in message
    news:usl1mT7qEHA.1160@tk2msftngp13.phx.gbl...
    Dmitry

    If the software I'm attempting to install is already in MSI format is
    there
    a way to pass a command line switch using the GP software package install?
    or do I have to use a MST file to modify the install?

    If I can't pass a switch to the GP install I'll try using the utility you
    mentioned to repack an MSI after I manualy install the first MSI with the
    comand line modifier. Sound right?

    Thanks for the help


    James


    "Dmitry Korolyov [MVP]" <d__k@removethispart.mail.ru> wrote in message
    news:ujttm%235qEHA.2588@TK2MSFTNGP12.phx.gbl...
    You can try re-packaging the software into .msi and then installing the
    msi
    as usual. One of the free tools available for this is WinInstall LE 2000
    (on
    the W2k distro) or 2003 - you can search for a download on the internet.
    The
    tool takes an image of the OS before and after install, and then creates
    an
    .msi package. So effectively, you first take an image of an empty system,
    then install your software (which is not .msi) with all configuration
    options and switches you want, and finally take the "after" image to form
    an
    .msi package that will perform exactly the same installation.

    The only disavantage of such approach is that you have to repackage an
    ..msi
    again if you want to change any of the installation options.

    --
    Dmitry Korolyov [d__k@removethispart.mail.ru]
    MVP: Windows Server - Active Directory


    "James Lavery" <james.lavery@dfs.virginia.gov> wrote in message
    news:uN9f6T5qEHA.708@tk2msftngp13.phx.gbl...

    Hello all

    Is it possible to install software that requires the use of a command line
    switch using the group policy software install feature? I have used
    software that requires .MST files with group policy to modify the install
    but never a command line switch. Is what I'm asking for possible and if
    so
    how is it done?

    Thanks a million

    James



  5. #5
    James Lavery Guest

    Re: Group Policy software install with command line switch

    Thanks a million for the help. I think I'm going to got he .MST route.

    James

    "Dmitry Korolyov [MVP]" <d__k@removethispart.mail.ru> wrote in message news:O91AbNFrEHA.2604@TK2MSFTNGP10.phx.gbl...
    If you have already an .msi, I think you better try looking for some software that will allow you to create an .mst. WinInstall for example can do this, but in commercial (not LE) editions.

    Also, if you already have an .msi, instead of repackaging it, you can try editing the file (with wininstall le 2003 or other msi editor) to change the default actions taken by the installer so they match your needs. Unfortunately, I cannot help you much on this issue - my primary experience with repackaging software is to repackage something which is not .msi initially, and free wininstall le does it pretty much good.

    --
    Dmitry Korolyov [d__k@removethispart.mail.ru]
    MVP: Windows Server - Active Directory


    "James Lavery" <james.lavery@dfs.virginia.gov> wrote in message news:usl1mT7qEHA.1160@tk2msftngp13.phx.gbl...
    Dmitry

    If the software I'm attempting to install is already in MSI format is there
    a way to pass a command line switch using the GP software package install?
    or do I have to use a MST file to modify the install?

    If I can't pass a switch to the GP install I'll try using the utility you
    mentioned to repack an MSI after I manualy install the first MSI with the
    comand line modifier. Sound right?

    Thanks for the help


    James


    "Dmitry Korolyov [MVP]" <d__k@removethispart.mail.ru> wrote in message
    news:ujttm%235qEHA.2588@TK2MSFTNGP12.phx.gbl...
    You can try re-packaging the software into .msi and then installing the msi
    as usual. One of the free tools available for this is WinInstall LE 2000 (on
    the W2k distro) or 2003 - you can search for a download on the internet. The
    tool takes an image of the OS before and after install, and then creates an
    .msi package. So effectively, you first take an image of an empty system,
    then install your software (which is not .msi) with all configuration
    options and switches you want, and finally take the "after" image to form an
    .msi package that will perform exactly the same installation.

    The only disavantage of such approach is that you have to repackage an .msi
    again if you want to change any of the installation options.

    --
    Dmitry Korolyov [d__k@removethispart.mail.ru]
    MVP: Windows Server - Active Directory


    "James Lavery" <james.lavery@dfs.virginia.gov> wrote in message
    news:uN9f6T5qEHA.708@tk2msftngp13.phx.gbl...

    Hello all

    Is it possible to install software that requires the use of a command line
    switch using the group policy software install feature? I have used
    software that requires .MST files with group policy to modify the install
    but never a command line switch. Is what I'm asking for possible and if so
    how is it done?

    Thanks a million

    James



Similar Threads

  1. Command line switch error message with the word document
    By Baby bon bon in forum Windows Software
    Replies: 5
    Last Post: 29-03-2011, 07:51 PM
  2. Software restrictions in group policy
    By shankar in forum Networking & Security
    Replies: 2
    Last Post: 17-02-2011, 09:59 AM
  3. Replies: 6
    Last Post: 09-09-2010, 12:15 AM
  4. Group Policy or Setting -- Prevent Install Software
    By Nickason in forum Active Directory
    Replies: 2
    Last Post: 29-10-2008, 03:24 AM
  5. group policy software install
    By jamison in forum Small Business Server
    Replies: 3
    Last Post: 27-09-2008, 01:36 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,708,371.57920 seconds with 17 queries