deploy app using vbscript via GPO

Dell / GX280
May 15, 2010 at 18:52:58
Specs: WinXP, 2GB
Hi there mates,
I need some help with VB Script. I'm trying to deploy
an application (.exe file) to over 100 users via GPO because I don't have the .msi package. The setup program located on \\share\fileserver

So, I need a script that checks if there's a folder on user's computer, if not, the script will run the application setup. If the folder exists the script closes.

I am appreciated for any help

Angus


See More: deploy app using vbscript via GPO

Report •


#1
May 17, 2010 at 07:04:50
Careful; I'm not sure if startup scripts or its child processes have the ability to spawn windows. Also, logon scripts might not have the required permissions to run an installer. You might just want to build an msi.

That said:

If Not CreateObject("Scripting.FileSystemObject").FolderExists("a folder") Then _
  CreateObject("WScript.Shell").Run """\\share\fileserver\application setup"""


Report •

#2
May 17, 2010 at 15:02:36
this script is run when user logon, the program setup under admin right. is the script you post here work these critiria?

Angus


Report •

#3
May 17, 2010 at 15:38:44
the program setup under admin right.
I'm not sure what you're saying here. Does the installer supply its own administrative credentials?

Report •

Related Solutions

#4
May 18, 2010 at 07:55:06
I need help with a logon vb script. what it does the script will check if folder exist, if not, then it installs program on user's PC. the program installation require administrator privilege so that I am not sure the script need to include admin credential. any suggestion?

Angus


Report •

#5
May 18, 2010 at 11:17:04
There is no native way for VBScript/Batch script to run a local program using separate credentials. To do so, you would need the help of a third party utility.

Report •

#6
May 18, 2010 at 12:49:24
Hi,
the logon script is running on AD/GPO, so I can deploy installing program for all users when they logon domain.

Angus


Report •


Ask Question