SilverFox 0 Posted May 13, 2020 Posted May 13, 2020 I have a batch file that I am creating to auto remove the following products: #1: ESET Management Agent #2: ESET EndPoint Antivirus The following command line works, but it repairs the existing product, it does not remove it: msiexec /i "C:\ProgramData\ESET\ESET Security\Installer\eea_nt64_enu.msi" /qb! PASSWORD="password123" I just need the last parameter that goes with the "REMOVE" option; for example: msiexec /i "C:\ProgramData\ESET\ESET Security\Installer\eea_nt64_enu.msi" /qb! PASSWORD="password123" REMOVE=Eset Management Agent, ESET Endpoint Antivirus
Administrators Marcos 5,739 Posted May 14, 2020 Administrators Posted May 14, 2020 If you run "msiexec /?" you'll get a list of possible parameters: Install Options </package | /i> <Product.msi> Installs or configures a product /a <Product.msi> Administrative install - Installs a product on the network /j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>] Advertises a product - m to all users, u to current user </uninstall | /x> <Product.msi | ProductCode> Uninstalls the product In particular, you'll need to use the /uninstall parameter followed by the appropriate GUID which is unique for each product and version. The exact value can be found in the registry.
Recommended Posts