• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1566
  • Last Modified:

Unattended Uninstall

Hi
I needed to carryout a unattended uninstall using the unistall string from the registry. When the string is executed the user is asked for input to repair, modify or remove the application. I wanted a complete unattended install. with no reboot at the end. If possible it needs to be silent, but while i am testing the script it needs to be visble with no input from the user. I would prefer the file to be a batch file or VB script. I have heard that a software can scriptit from microsoft can be used to set the keystrokes for the options to select the remove tab. Can some help with the scripting as I am not the best.
0
harps21k
Asked:
harps21k
  • 5
  • 4
1 Solution
 
weellioCommented:
this all depends on what you are uninstalling

is it from windows installer?
msiexec /x program.msi /q

is it install shield programs
uninstal.exe install.log -s

give me a program name or the listed uninstall from the registry and i'll give you an answer,.
uninstall strings from registry are located at
hklm\software\microsoft\windows\currentversion\uninstall\<program name or guid>
0
 
harps21kAuthor Commented:
Its a Install sheid program

Uninstall registry string:
RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\engine\6\INTEL3~1\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{7F5E2A5A-92C5-4DF1-808D-1688C50CBFEE}\Setup.exe" -l0x9

Kaspersky 4.5 Workstation
0
 
weellioCommented:
first you need to make an answer file.

run this

"C:\Program Files\InstallShield Installation Information\{7F5E2A5A-92C5-4DF1-808D-1688C50CBFEE}\Setup.exe" -r

it will create an answer file in c:\windows\setup.iss

now you will need to copy the setup.iss to the target computer and run this command

"C:\Program Files\InstallShield Installation Information\{7F5E2A5A-92C5-4DF1-808D-1688C50CBFEE}\Setup.exe -s -f1c:\temp\setup.iss   <you can change the location of where you put the file>

-s or /s or possibly,..  /s /x  it all depends on the version.. play with these.
0
Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

 
harps21kAuthor Commented:
Thanks
0
 
harps21kAuthor Commented:
Sorry Mate,
When I run the cmd it starts to load the kaspersky setup but then cuts off without any response.
This when I am try to create the Response file!
0
 
weellioCommented:
hmm,..
setup.exe /s /x /v"/qn /l setup.log"
/s = installshield to be silent
/x = uninstall the product
/v = string to pass to the windows installer
/qn = windows installer to be silent
/l = uninstall results recorded to a text file

another possible method?
0
 
weellioCommented:
0
 
harps21kAuthor Commented:
Hi Mate

It Didnt work with the setup.exe /s /x /v"/qn /l setup.log"

The Kaspersky Uninstall is for 4.0 not 4.5 so it store the reg and program files differently
0
 
weellioCommented:
from http://www.kaspersky.com/faq?chapter=170708912&qid=183373770
How to uninstall Kaspersky Anti-Virus 4.5 for Windows Workstations remotely?
      To uninstall Kaspersky Anti-Virus 4.5 for Windows Workstations remotely, do the following:
1. put the kleaner.msi utility on the shared recourse
ftp://ftp.kaspersky.com/utils/WKS_4.5_remove/kleaner.zip <--cleaner
2. in the logon script of the user or in the container script enter the line of the kind:
msiexec.exe /qn /i \\share\kleaner.msi
\\share  is a path to the shared folder with the kleaner.msi utitlity.


 
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now