Installshield response file - One dialogue box still pops up during silent install
Hi,
I have created an iss file using the setup.exe /r command to create an Installshield response file but there is still one dialogue that pops up during the silent installation. I am trying to create the answer file for the following application and the dialogue where I have to choose the operation mode (New or Traditional) still pops up.
http://penpowerinc.us/download/PPjr_7.2h.exe
Is anyone who thinks he/her is an application packaging guru can help with this issue?
Thanks
Answers (2)
Use the following vbscript to launch the setup with the responsefile setup.iss in the installationfolder:
Set wshShell = CreateObject("WScript.shell")
wshshell.exec "setup.exe /S"
wscript.sleep 5000
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 = 'setup.exe'")
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcesses = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'setup.exe'")
if colProcesses.Count = 0 Then wscript.quit
WshShell.AppActivate ( "InstallShield Wizard")
if WshShell.AppActivate ( "InstallShield Wizard") = TRUE Then wshshell.sendkeys "%{N}"
Wscript.Sleep 5000
Loop