Difference between revisions of "Bing bar"
From WPKG | Open Source Software Deployment and Distribution
(Added Check, removed unused variable) |
|||
Line 1: | Line 1: | ||
== Bing Bar == | == Bing Bar == | ||
− | This | + | 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=" | + | 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%\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> | + | </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>