Flexnet software updates

This is a script to uninstall "FlexNet Software Updates" or "Macrovision Software Updates" which comes with some DELL computers and various vendor software.

See http://www.flexerasoftware.com/products/flexnet-connect.htm for details

Unfortunately this tool is not removable from "Add/remove program" but Flexera/Installshield distribute an uninstaller file here

If you need to reinstall later you can download the update manager from here


Please note than this wpkg installer is a bit tricky because he did not install but remove a program with the <install> tag. In my case I have created a few uninstaller like this one, mostly to get rid of unwanted software like browser bars or old software installed before my use of WPKG.


This package do not have any <remove> tags, if you want to remove it later as a package from the clients you have to use the zombie package feature of WPKG :

  • Remove the package from the profile
  • and remove the package file from the server


The package file

<?xml version="1.0" encoding="UTF-8"?>
<!-- Uninstall Macrovision & FlexNet Software Updates -->

<packages>
      <package id="uninstall_flexnet_software_updates" name="Uninstall FlexNet Software Updates" revision="%PKG_VERSION%" reboot="false" priority="50">
      <variable name="PKG_VERSION" value="1" />
      <check type='logical' condition='not' >
          <check type="file" condition="exists" path="%PROGRAMFILES%\Fichiers communs\InstallShield\UpdateService\ISUSPM.exe" />
      </check>

      <!-- remove the service and the control panel -->
      <install cmd='"%SOFTWARE%\installshield\SoftwareManagerUninstall.exe" /s /f1"%SOFTWARE%\installshield\setup.iss" /f2x' />
      <!-- delete the folder -->
      <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Fichiers communs\InstallShield\UpdateService\" rmdir /S /Q "%PROGRAMFILES%\Fichiers communs\InstallShield\UpdateService\"' />
      </package>
</packages>

This package use a setup.iss file generated by the InstallShield /r option. This file is used by the silent install (/s option) and set with the /f1 option. /f2x option is used with a "x"to say that we do not want a log file.

Basicaly the setup.iss file say "Yes" to uninstall.

The setup.iss file

[InstallShield Silent]
Version=v7.00
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{8A4681B4-C7FA-4797-88E4-446CD5AC2EA9}-DlgOrder]
Dlg0={8A4681B4-C7FA-4797-88E4-446CD5AC2EA9}-SdWelcome-0
Count=3
Dlg1={8A4681B4-C7FA-4797-88E4-446CD5AC2EA9}-AskYesNo-0
Dlg2={8A4681B4-C7FA-4797-88E4-446CD5AC2EA9}-SdFinish-0
[{8A4681B4-C7FA-4797-88E4-446CD5AC2EA9}-SdWelcome-0]
Result=1
[{8A4681B4-C7FA-4797-88E4-446CD5AC2EA9}-AskYesNo-0]
Result=1
[{8A4681B4-C7FA-4797-88E4-446CD5AC2EA9}-SdFinish-0]
Result=1
bOpt1=0
bOpt2=0