MSFN Forum: Silent UNINSTALL of an app by installshield - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Silent UNINSTALL of an app by installshield fieryscan software Rate Topic: -----

#1 User is offline   ceez 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 581
  • Joined: 06-September 03

  Posted 20 February 2008 - 03:51 PM

hello fellow msnf-ers!

We need to remove a software from about 100 workstations and I want to figure out how to get it to silently uninstall. I got the uninstall key from the registry of one of the computers that had the app installed:

Quote

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{35C30793-32F4-11D6-A043-00E081105A80}]
"DisplayName"="Fiery Remote Scan 5.1.2.6"
"UninstallString"="RunDll32 C:\\PROGRA~1\\COMMON~1\\INSTAL~1\\engine\\6\\INTEL3~1\\ctor.dll,LaunchSetup \"C:\\Program Files\\InstallShield Installation Information\\{35C30793-32F4-11D6-A043-00E081105A80}\\setup.exe\" remove"
"LogFile"="C:\\Program Files\\InstallShield Installation Information\\{35C30793-32F4-11D6-A043-00E081105A80}\\setup.ilg"
"Version"="5.1.2.6"


As you can see this is the uninstall string:
"RunDll32 C:\\PROGRA~1\\COMMON~1\\INSTAL~1\\engine\\6\\INTEL3~1\\ctor.dll,LaunchSetup \"C:\\Program Files\\InstallShield Installation Information\\{35C30793-32F4-11D6-A043-00E081105A80}\\setup.exe\" remove"

When I run that command from the RUN box, CMD window or a batch file I get the progress bar and then the "are you sure you want uninstall...." [yes]|[no] option.

How can I avoid that? I want to be able to put that uninstall command in a logon script and have it removed at login.

How can I accomplish this? I went to the installshield command line help online but it only talks about silent installs.

Can someone help me out with this?

thanks,

ceez
:thumbup

ps: I tried the /qn | /s | /silent options as switches and had no luck. :(

This post has been edited by ceez: 20 February 2008 - 03:54 PM



#2 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 715
  • Joined: 08-February 07

Posted 20 February 2008 - 05:20 PM

If AutoIt can be used in this situation, compile this:
$sUninstall = 'C:\\PROGRA~1\\COMMON~1\\INSTAL~1\\engine\\6\\INTEL3~1\\ctor.dll,LaunchSetup ' & _

'"C:\\Program Files\\InstallShield Installation Information\\{35C30793-32F4-11D6-A043-00E081105A80}\\setup.exe" remove'

ShellExecute('RunDll32.exe', $sUninstall)

WinWait("Confirm File Deletion", "")

WinActivate("Confirm File Deletion", "")

ControlClick("Confirm File Deletion", "", "Button1")

and run.

This post has been edited by radix: 20 February 2008 - 05:28 PM


#3 User is offline   ceez 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 581
  • Joined: 06-September 03

Posted 21 February 2008 - 12:33 PM

@radix, do I need to install AUTOIT on each workstation or do i just install on mine, pop in that code and save as what I assume could be a batch file. am I correct in this assumption?

thanks


ps- I just installed and dont quite get it....I opened the SciTE Script Editor and pasted the code, but when I save I dont know what extension to save as, the save as type field is just an empty drop down box. how do i do this?!?! :confused


ps2- Ok so I found their documentation in their website and read the following. I followed the steps in creating a new script, pasted the code above that you provided and saved the file.

now when I double click on the au3 file (uninstall.au3) I get the following AutoIT error:

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

Quote

AutoIt Error
---------------------------
Line 13 (File "C:\Documents and Settings\CRamirez\Desktop\ProcessMonitor\uninstall.au3"):

$sUninstall = 'C:\\PROGRA~1\\COMMON~1\\INSTAL~1\\engine\\6\\INTEL3~1\\ctor.dll,LaunchSetup ' &
$sUninstall = ^ ERROR

Error: Error in expression.
---------------------------
OK
---------------------------


Looks like an interesting little app, I'll just need to do ALOT of reading!

thanks again as I continue to tinker with it! :)


ps3- LOL! Ok so I got rid of the error by puting the first two lines in your original quote into a single line:

$sUninstall = 'C:\\PROGRA~1\\COMMON~1\\INSTAL~1\\engine\\6\\INTEL3~1\\ctor.dll,LaunchSetup ' & '"C:\\Program Files\\InstallShield Installation Information\\{35C30793-32F4-11D6-A043-00E081105A80}\\setup.exe" remove'

It ran the script and it performed the correct "clicks". Now to figure out how to make it click on the [FINISH] button on the last window which confirms the uninstall process.

Thanks again!

This post has been edited by ceez: 21 February 2008 - 12:51 PM


#4 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 715
  • Joined: 08-February 07

Posted 21 February 2008 - 01:39 PM

Nothing wrong in my previous code. Problem is with editing the post. On AutoIt forum they have
a special codebox for AutoIt script. The codebox from this forum is not 100% proper for this type of code. I understanded this yesterday.
Download the attachment file. Install AutoIt and compile the file(r. click->compile).
You don't need to install AutoIt on all machines. Just run the compiled exe file.

Attached File(s)


This post has been edited by radix: 21 February 2008 - 01:45 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy