Re: Newbie Here-Installing Flash on 50 machines

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



If you have that many computers in your organization, you could toss the
installer into a shared folder on a server. After making sure (via testing)
that the program can be run silently, you could use WMI to remotely execute
the application on each system first checking via Win32_Process to see if the
application is already running.

The other way would be to set it as a startup script so that when the user
logs on the application would be installed. You could do that by making
another call to create a shortcut via WMI into their profile to launch the
application installer with the appropriate switches. (See example Below)
--------------------------------------------------------------
Function WMIGetProcesses(strHostName)
Set objWMIService = GetObject("winmgmts:" &
"{impersonationLevel=impersonate}!\\" & strHostName & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Process")
For Each objItem In colItems
On Error Resume Next
fCaption = objItem.Caption
fCreationDate = objItem.CreationDate
fDescription = objItem.Description
fExecutablePath = objItem.ExecutablePath
if fCaption = "flash.exe" Then ' Replace flash.exe with the
executable name
WMIGetProcesses = True
Goto ReturnResult
Else
WMIGetProcesses = False
Next
End Function
-----------------------------------------------------------
Then you will just need to call that from a sub with a list of hostnames and
it will tell you if the process is running.

If WMIGetProcesses returns true, then you can skip the install or kill the
process remotely and perform the install after the process is confirmed
killed.

Anyways, just an idea.
Pikoro
"Richard Mueller" wrote:

I would call this as an advanced scripting project. As Marty indicates, it
can be done with WMI, but there are a lot of steps. The program to be
deployed must run in unattended mode. Also, you need a way to specify the
machines to deploy to, and handle cases where machines are off line. When I
have done this, I had to repeat the deployment several times to get all
computers. If there is not a way to tell if the machine has the deployment,
then it must be ok to run it repeatedly.

By coincidence I have been working on a VB app to deploy patches for a
product. I've been thinking of posting a simpler VBScript version on my web
site. However, a generic script really has no way to tell which computers
need the deployment, without a lot of work maintaining a database of
machines. If the script must be repeated because of computers not available,
either the program must be ok to run repeatedly, or the user must make sure
the deployment skips computers already updated. Also, a generic script
cannot know if the application being updated/patched is currently running,
which would probably cause problems.

My proposed script would deploy to computers in a group specified by the
user. You could modify group membership to skip computers as needed. I
should be able to post a script within a day. You would need to specify an
executable, command line switches, and a domain group of computer objects.

--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net

"jgioia" <jgioia@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:50D6CAB3-067D-4856-8D67-CD86E65A376C@xxxxxxxxxxxxxxxx
Thanks Marty.

"Marty List" wrote:


It's not practical to push the install to remote machines. You need some
process to copy the install files to the remote machine, and then cause
the
setup to execute locally with silent/unattended command line switches.
So first
you need to decide how you will accomplish this (and check the results).

The cheapest, easiest, ugliest method is probably a tool like PsExec.exe
from
SysInternals. But it's primarily designed for command line tools, I've
never
installed software with it. Or you could script it with the WMI's
Win32_Process
class.

Will this be a one-time job for you, or are you needing a software
distribution
solution going forward? If you will be doing this again, or the number
of
machines will be increasing) you should probably invest the time to look
at
software distribution tools (like Microsoft SMS)


Q: Does Macromedia provide a Windows MSI installer that can be
distributed via
Microsoft SMS for Macromedia Flash Player within an Intranet?
A: Yes, Macromedia does provide a Windows MSI installer for the Flash
Player
distribution. Customers can license the Windows MSI installer by
selecting the
Flash Player only licensing option for Intranet distribution. Customers
will
then be sent a link to download the Windows MSI installer.
http://www.macromedia.com/licensing/distribution/


Other links that may be useful:

Macromedia Flash Player Support Center
http://www.macromedia.com/support/flashplayer/

How to uninstall the Macromedia Flash Player plug-in and ActiveX control
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14157



"jgioia" <jgioia@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BFB48A4C-8DBD-4333-B5B5-D78940A5C760@xxxxxxxxxxxxxxxx
I am very new to scripting but I am looking to install Flash on 50
machines,
is there a way to do this without having to touch all 50 machines?

Forgive my ignorance I have never done any scripting before, I am
trying to
look at ways to utilize manpower for a small understaffed school.

Thanks,
Joe






.



Relevant Pages

  • Running sysinternals PSPASSWD.exe from local system account
    ... I have to change a common password on a number of machines ... The update installer that is downloaded as an EXE ... is started under the local system account on that machine. ... first two computers, just lists their names. ...
    (microsoft.public.win2000.security)
  • Re: Script to get installed software and server applications on remote servers
    ... I did modify Torgeir's script to read from a text file a list of computers, and then loop thru and list the installed programs. ... > with Windows Installer. ...
    (microsoft.public.windows.server.scripting)
  • Re: Fix missing proplus.msi with upgrade
    ... Is it Office 2000 that's installed on those computers? ... The upgrade might be okay...except that to uninstall Office 2000 the natural ... I think I'd get the full version of Office 2003, and hang onto those CDs. ... Then you might need / want to run the Windows Installer Cleanup Utility to ...
    (microsoft.public.office.misc)
  • Re: Outlook 2003 gets fatal error when launching on client computer
    ... Basically what it does is to remove them from the installer database, ... computers are running Windows XP Pro with SP2. ... When the client computers were added to the SBS domain, Outlook 2K3 was ... After the error message appears, ...
    (microsoft.public.windows.server.sbs)
  • Re: [Full-disclosure] need help in managing administrators
    ... new software to users' computers but without having access to other ... installer can't access the files. ... Charter: http://lists.grok.org.uk/full-disclosure-charter.html ... Hosted and sponsored by Secunia - http://secunia.com/ ...
    (Full-Disclosure)