Difference between revisions of "Bing bar"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Added Check, removed unused variable)
 
Line 1: Line 1:
 
== Bing Bar ==
 
== Bing Bar ==
  
This script is runing on every start of a machine to remove bing bar, which sometimes comes with certain softwareinstallations
+
This is a script to remove the Bing Bar, which sometimes comes with certain software installations.
  
 
<source lang="xml">
 
<source lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?xml version="1.0" encoding="UTF-8"?>
 
+
<packages>  
<packages>
+
+
 
+
 
  <package
 
  <package
 
         id="bing"
 
         id="bing"
 
         name="bing"
 
         name="bing"
         revision="4"
+
         revision="5"
         execute="always">
+
         >
<variable name="SOFTWARE" value="\\sfbk0002\programme\wpkg\software"/>
+
        <check type="logical" condition="not">
 +
        <check type="logical" condition="or">
 +
                <check type="file" condition="exists" path="%PROGRAMFILES%\Bing bar Installer\InstallManager.exe" />
 +
                <check type="file" condition="exists" path="%PROGRAMFILES(x86)%\Bing bar Installer\InstallManager.exe" />
 +
        </check>
 +
        </check>
 
         <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Bing Bar Installer\InstallManager.exe" "%PROGRAMFILES%\Bing Bar Installer\InstallManager.exe" /UNINSTALL /silent' />
 
         <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Bing Bar Installer\InstallManager.exe" "%PROGRAMFILES%\Bing Bar Installer\InstallManager.exe" /UNINSTALL /silent' />
<install cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Bing Bar Installer\InstallManager.exe" "%PROGRAMFILES(x86)%\Bing Bar Installer\InstallManager.exe" /UNINSTALL /silent' />
+
        <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Bing Bar Installer\InstallManager.exe" "%PROGRAMFILES(x86)%\Bing Bar Installer\InstallManager.exe" /UNINSTALL /silent' />
     </package>
+
     </package>
+
+
+
 
</packages>
 
</packages>
 
 
 
</source>
 
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Latest revision as of 20:57, 30 July 2012

Bing Bar

This is a script to remove the Bing Bar, which sometimes comes with certain software installations.

<?xml version="1.0" encoding="UTF-8"?>
<packages>			 
 <package
        id="bing"
        name="bing"
        revision="5"
        >
        <check type="logical" condition="not">
         <check type="logical" condition="or">
                <check type="file" condition="exists" path="%PROGRAMFILES%\Bing bar Installer\InstallManager.exe" />
                <check type="file" condition="exists" path="%PROGRAMFILES(x86)%\Bing bar Installer\InstallManager.exe" />
         </check>
        </check>
        <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Bing Bar Installer\InstallManager.exe" "%PROGRAMFILES%\Bing Bar Installer\InstallManager.exe" /UNINSTALL /silent' />
        <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Bing Bar Installer\InstallManager.exe" "%PROGRAMFILES(x86)%\Bing Bar Installer\InstallManager.exe" /UNINSTALL /silent' />
    </package>		
</packages>