kwatt562
asked on
VBS software Deployment via GPO
Hi
I have created a silent install of logmein through vbs
Set WshShell = WScript.CreateObject("WScr ipt.Shell" )
WshShell.Run "msiexec.exe /q /i \\senabzdata\images\logmei n\LogMeIn. msi DEPLOYID=00_w6snwu02u19nyw fzbfoewcfx kd9zeg0qg0 668 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?
I have created a silent install of logmein through vbs
Set WshShell = WScript.CreateObject("WScr
WshShell.Run "msiexec.exe /q /i \\senabzdata\images\logmei
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?
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.
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.
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.
ASKER
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok so I add that to the end of the install vbs
No, to the beginning. "setupcommand" is your vbs-script.
ASKER
sorry for the late reply, was not able to make tests again till today and that worked! thanks
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