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

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0
is there any solution for this case?
Answered 03/13/2015 by: chk
White Belt

Please log in to comment
0

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

 

 

Answered 02/19/2013 by: Rvlieburg
Third Degree Blue Belt

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