I am trying to create a batch file that will automatically remove kaspersky 4.5 workstation from the PC and then install the new upgraded version 6. I have found the uninstall string for kaspersky 4.5 in the registry and have added it into the batch file. This batch file run and executes the removal but gives the user the options to repair, modify or remove. When I add the silent switch at the end of the string, the process runs but does not remove anything. I have waited 20 mins and no feedback. I think the uninstall is sitting silent as it does not know what to do (repair, Modify or remove) Can anyone help with this unattended uninstall. You might notice that the msiexe /x {product id} is not used as the uninstall string for kasperksy begins withRunDll32.
"@echo off
:: This file will uninstall Kaspersky 4.5 and install Kaspersky 6
:: Uninstall Kaspersky 4.5 Please undate product location
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 /n /s
:: Install Kaspersky 6 from V Drive
V:\Kaspersky\Install\KavLocall\exec\setup.exe /v/qb /pALLOWREBOOT=1
end"