I would like to deploy DMMultiview silently to multiple PCs.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0

As far as I can see there are no unattended or silent install parameters. However there is a simpe solution with a special vbscript with a sendkeys loop. This can be used for unattended deployment only on Windows 7 with a service account even if there is no user logged on. The executable should be in the same folder as the vbscript.

----------------------------------------------------------------------

Set WshShell = CreateObject("WScript.Shell")
on error resume next
wshshell.exec ("DMMultiView.exe")
wscript.sleep 10000

i = 0

Do While i = 0
   strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcesses = objWMIService.ExecQuery _
    ("Select * from Win32_Process Where Name = 'msetup.exe'")
  strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcesses = objWMIService.ExecQuery _
    ("Select * from Win32_Process Where Name = 'msetup.exe'")
if colProcesses.Count = 0 then wscript.quit
WshShell.AppActivate  ( "InstallShield Wizard")
if WshShell.AppActivate  ( "InstallShield Wizard") = TRUE Then wshshell.sendkeys "%{N}"
WshShell.AppActivate  ( "Overwrite Protection")
if WshShell.AppActivate  ( "Overwrite Protection") = TRUE Then wshshell.sendkeys "%{e}"
Loop

----------------------------------------------------------------------

The script is somewhat garbled on the website but anyone interested can send me an e-mail to request a text file. 

Rien van Lieburg

Answered 06/27/2012 by: Rvlieburg
Third Degree Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity

Share