/build/static/layout/Breadcrumb_cap_w.png

Silent Uninstallation of Dialux

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

Answers (2)

Posted by: Rvlieburg 11 years ago
Third Degree Blue Belt
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 !

 

Posted by: Iliyan 11 years ago
White Belt
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!

 

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ