Link to home
Start Free TrialLog in
Avatar of kwatt562
kwatt562Flag for United Kingdom of Great Britain and Northern Ireland

asked on

VBS software Deployment via GPO

Hi
I have created a silent install of logmein through vbs

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "msiexec.exe /q /i \\senabzdata\images\logmein\LogMeIn.msi DEPLOYID=00_w6snwu02u19nywfzbfoewcfxkd9zeg0qg0668 INSTALLMETHOD=5 FQDNDESC=1", 1, True

I would like to make this available for deployment via GPO
I guess I could just add the vbs to start-up, but how do I stop it from running if the application is already installed? or is there a better way?
Avatar of Sumit Gupta
Sumit Gupta
Flag of France image

To publish a package to computer users and make it available for installation from the Add or Remove Programs list in Control Panel, follow these steps: Click here to show/hide solution
Start the Active Directory Users and Computers snap-in. To do this, click Start, point to Administrative Tools, and then click Active Directory Users and Computers.
In the console tree, right-click your domain, and then click Properties.
Click the Group Policy tab, click the policy that you want, and then click Edit.
Under User Configuration, expand Software Settings.
Right-click Software installation, point to New, and then click Package.
In the Open dialog box, type the full UNC path of the shared installer package that you want. For example, \\file server\share\file name.msi.


for more info: http://support.microsoft.com/kb/816102/en-us#method4

http://support.microsoft.com/kb/816102/en-us
Avatar of kwatt562

ASKER

thanks for that but the msi is not silent it requires the switches supplied in the vbs
Please refer below link to resolve your issue.

http://social.technet.microsoft.com/Forums/en-US/2d780459-0205-438b-8e2a-1935a395e174/software-installation-startupscript-via-gpo?forum=ITCG


The above mention url mention script first it check the your software install on the machine or not. if yes then your script will be stop install the software.
Avatar of McKnife
Why a scripted installation? Simple GPO software deployment is ALWAYS silent, when computer objects are targeted. You need no script. Put the MSI into you GPO->compconfig->software and there you go.
Yes, GPO installation is always silent installation.
It will install silently but with logmein, if you don't reference the deployment ID etc, it doesn't add the pc to the correct account. I managed to get it to work simply by adding the above vbs into a startup script. thanks
ASKER CERTIFIED SOLUTION
Avatar of McKnife
McKnife
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok so I add that to the end of the install vbs
No, to the beginning. "setupcommand" is your vbs-script.
sorry for the late reply, was not able to make tests again till today and that worked! thanks