Difference between revisions of "Flexnet software updates"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (typos)
(add info about wpkg zombie feature)
Line 13: Line 13:
 
In my case i have created a few uninstaller like this one, mostly to get rid of unwanted softwares like brownser bars or old
 
In my case i have created a few uninstaller like this one, mostly to get rid of unwanted softwares like brownser bars or old
 
softwares installed before my use of wpkg..
 
softwares installed before my use of wpkg..
 +
 +
 +
This package do not have any <remove> tags, if you whant to remove it later as a package from the clients you have to use the
 +
zombie package feature of WPKG :
 +
* Remove the package form the profile
 +
* and remove the package file from the server
  
  

Revision as of 10:21, 14 March 2011

This is a script to uninstall "FlexNet Software Updates" or "Macrovision Software Updates" who comme whith some DELL computers and various vendor softwares.

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

Unfortunalty 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 softwares like brownser bars or old softwares installed before my use of wpkg..


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

  • Remove the package form 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 unsinstall.

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