Hi,

I have installedDIALux evo version 5.1.0.12411.  and I am trying to uninstall it silently. Installation worked fine with silent switch /s. There are three ARP entries put by the setup.exe. (DIAL COmmunication Framework, DIAL Data Exchange Helper, DIALux evo). For uninstallation there are three different command lines for three ARP entires. Two of which uninstalls silently. None of the silent switch is working for DIAL Data Exchange Helper. If anyone has ever worked on this application please suggest on the same.

 

Thanks,

Mahalakshmi

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0

Use the following sendkeys loop in vbscript. This works under Windows 7 even when there is nu user logged on.

 

Set wshShell = CreateObject("WScript.shell")
on error resume next
wshshell.exec """C:\Program Files\DIAL GmbH\DDEH\uninstall.exe""" + " -S " + """/U:C:\Program Files\DIAL GmbH\DDEH\Uninstall\uninstall.xml"""
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 = 'uninstall.exe'")
  strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcesses = objWMIService.ExecQuery _
    ("Select * from Win32_Process Where Name = 'uninstall.exe'")
if colProcesses.Count = 0 then wscript.quit
WshShell.AppActivate  ( "DIAL Data Exchange Helper Uninstaller")
if WshShell.AppActivate  ( "DIAL Data Exchange Helper Uninstaller") = TRUE Then wshshell.sendkeys "%{N}"
Wscript.Sleep 1000
WshShell.AppActivate  ( "DIAL Data Exchange Helper Uninstaller")
if WshShell.AppActivate  ( "DIAL Data Exchange Helper Uninstaller") = TRUE Then wshshell.sendkeys "%{F}"
Wscript.Sleep 1000
Loop

I have tried it myself and works like a charm !

 

Answered 03/27/2013 by: Rvlieburg
Third Degree Blue Belt

Please log in to comment
0

Hi Mahalakshmi.sagar,

Can you share how did you manage to install this application silently? Adn did you use System account or admin one?

Thank you!

 

Answered 04/24/2013 by: Iliyan
White Belt

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