• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 346
  • Last Modified:

push software installation

I have windows XP machine and
I am looking for a reliable and free software to push my application(i have exe and msi files)  to users's xp machines without having them to log-off from their systems

thanks a lot
0
at999
Asked:
at999
  • 5
  • 4
  • 2
  • +2
4 Solutions
 
chris_martin62Commented:
If you don't have that many machines ps exicute. Part of the PS tools

0
 
chris_martin62Commented:
0
 
at999Author Commented:
thanks.. have u used it? any tips ? thanks
0
Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

 
chris_martin62Commented:
Sorry I have not used it.
0
 
chris_martin62Commented:
Sorry I have not used it.
0
 
at999Author Commented:
hmmm bcos i am trying to do it on users machines and i donot want to mess nething on users's machines... thanks
0
 
jambraunCommented:
This is kind of a sticky situation.  I know it's possible because Semantec Endpoint Protection has a tool that lets you deploy it's client remotely as long as you have rights to do so.  The easiest way is with group policy of course.  

I would suggest a log-on script that goes through MSI's in a folder and installs each one if not already installed butt hat requires logging off.  

If you're not opposed to purchasing software, you could look at: http://www.remotepctools.com/pc_network_deploy/screenshots.html

I have not looked at it though.
0
 
at999Author Commented:
can you pl explain on how to do it using group policy ? Do you have the scripts? thanks..
0
 
Ron MalmsteadInformation Services ManagerCommented:
Pushing installations methods are usually dependant on the methods allowed by the software you are installing.  Sometimes removing old software versions is necessary and sometimes not depending on what we're talking about.

... a lot of installers allow suppressing all user input using common switches.  /q /s
Msi files can usually be installed silently with these switches.

To "push" something like that... you would need to create a backround process on the remote machine and the installation method would have to allow installing without any user interaction using switches like the above..  (ie   c:\msiinstallerfile.msi /q /n /s )

The below script ( useage: wscript c:\TSScript.vbs 'computername' ) I used once upon a time to push some ware.  PSEXEC, is used to do this sort of thing as well.

This script checks for the presence of software, ...if it exists...it removes it, then it downloads the new installation files from our server, then launches it in quiet mode... then deletes the installer files.




set args=wscript.arguments
strcomputer = args(0)


Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colSoftware = objWMIService.ExecQuery _
    ("Select * from Win32_Product Where Name = 'TS Agent v1.0'")

For Each objSoftware in colSoftware
    objSoftware.Uninstall()
Next

strxcopy = "cmd /c xcopy "
strdel = "cmd /c rd "

set WshShell = WScript.CreateObject("WScript.Shell") 
wshShell.run strxcopy & """\\192.168.6.2\monitor\TSAgent*.*"" " & """\\"  & strcomputer & "\c$\TSAgent\""" & " /D /E /I /Y"

'Give 20 seconds to finish copying.
WScript.Sleep(20000)

'Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2") 
Set objSoftware = objWMIService.Get("Win32_Product")
errReturn = objSoftware.Install("c:\TSAgent\TSAgent.msi /S /v/qn",,True)
Wscript.Echo errReturn

'Give 45 seconds for installer to finish then delete the installer.
WScript.Sleep(45000)
wshShell.run strdel & " " & """\\" & strcomputer & "\c$\TSAgent\""" & " /S /Q"

Wscript.Echo strcomputer & " " & "Done !"

Open in new window

0
 
Ron MalmsteadInformation Services ManagerCommented:
I agree with others however, that logon scripts and group policy is the easiest method.

A simple batch file...

xcopy "\\server\share\softwareinstallfolder\*.*" "c:\Temp\Install\*.*" /D /E /I /S /R /Y
"c:\Temp\Install\Setup.msi /S /v /qn"
rd c:\Temp\Install /s /q
0
 
mathi28Commented:
you can try the free edition

http://www.manageengine.com/products/desktop-central/index.html

thanks
Mathi
0
 
at999Author Commented:
Thanks i will try that...

Can I do an uninstall in the same way as install? If not then how can i do uninstall without having user to log - off..

thanks..
0
 
at999Author Commented:
sorry neglect my previous comment i found the details from xuserx2000's comments on 04/22/2011
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

  • 5
  • 4
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now