Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Group Policy software install with command line switch

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 06-10-2004
James Lavery
 
Posts: n/a
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



Reply With Quote
  #2  
Old 06-10-2004
Dmitry Korolyov [MVP]
 
Posts: n/a
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


Reply With Quote
  #3  
Old 06-10-2004
James Lavery
 
Posts: n/a
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


Reply With Quote
  #4  
Old 07-10-2004
Dmitry Korolyov [MVP]
 
Posts: n/a
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


Reply With Quote
  #5  
Old 08-10-2004
James Lavery
 
Posts: n/a
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


Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Group Policy software install with command line switch"
Thread Thread Starter Forum Replies Last Post
Command line switch error message with the word document Baby bon bon Windows Software 5 29-03-2011 07:51 PM
Software restrictions in group policy shankar Networking & Security 2 17-02-2011 09:59 AM
Command to show what group policy is applying to a machine and from where Ravana Networking & Security 6 09-09-2010 12:15 AM
Group Policy or Setting -- Prevent Install Software Nickason Active Directory 2 29-10-2008 03:24 AM
group policy software install jamison Small Business Server 3 27-09-2008 01:36 AM


All times are GMT +5.5. The time now is 02:17 AM.