Changes

Winamp

2,217 bytes added, 16:56, 18 August 2008
XML for 5.541, comment on system tray agent.
Version 5.541 was downloaded 18/8/08 and installed successfully using the following installer:
 
<source lang="xml">
<package id="winamp" name="Winamp (music player)" revision="2" priority="0" reboot="false">
<check type="uninstall" condition="exists" path="Winamp" />
<!-- Yes, there is a space in the version number here. -->
<check type='registry' condition='equals' path='HKLM\software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp\DisplayVersion' value='5.541 ' />
 
<install cmd='%SOFTWARE%\winamp\winamp5541_full_emusic-7plus_all.exe /S /install=SFQR' />
<install cmd='cmd /c ping -n 60 localhost &amp;&amp; taskkill /im winamp.exe /f &amp;&amp; taskkill /im winampa.exe /f' ><exit code='128' /></install>
<install cmd='"%ProgramFiles%\Winamp\eMusic\Uninst-eMusic-promotion.exe" /S' />
<install cmd='cmd /c ping -n 30 localhost'/>
<!-- remove mozilla firefox toolbar -->
<install cmd='cmd /c "cd ""%UserProfile%\Application Data\Mozilla\Firefox\Profiles"" &amp;&amp; for /D %I in (*.*) DO if exist %I\extensions\{0b38152b-1b20-484d-a11f-5e04a9b0661f}\NUL rd /s /q %I\extensions\{0b38152b-1b20-484d-a11f-5e04a9b0661f}"'/>
<install cmd='cmd /c "cd ""%UserProfile%\Application Data\Mozilla\Firefox\Profiles"" &amp;&amp; for /D %I in (*.*) DO if exist %I\WinampToolbarData\NUL rd /s /q %I\WinampToolbarData"' />
<install cmd='"%ProgramFiles%\Winamp Toolbar\uninstall.exe" /S' />
<install cmd='reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp Toolbar for Firefox" /f' />
<!-- Shortcut in start menu, not on desktop thank you very much -->
<install cmd='cmd /c move "%AllUsersProfile%\Desktop\winamp.lnk" "%AllUsersProfile%\Start Menu\Programs"' />
 
<remove cmd='cmd /c if exist "%ProgramFiles%\Winamp\Plugins" del /s /q "%ProgramFiles%\Winamp\Plugins" ' />
<remove cmd='%ProgramFiles%\Winamp\UninstWA.exe /S ' />
<!-- Brain-dead developers at winamp -->
<remove cmd='cmd /c ping -n 30 localhost'/>
<remove cmd='cmd /c rm "%AllUsersProfile%\Start Menu\Programs\winamp.lnk"' />
 
<upgrade cmd='cmd /c if exist %ProgramFiles%\Winamp\UninstWA.exe %ProgramFiles%\Winamp\UninstWA.exe /S' />
 
</package>
 
</source>
 
This is a silent installer and uninstaller for Winamp. Note that the /S flag is case-sensitive.
* How do you disable the system tray agent?
 
5.541 seems not to have such an agent. (rl201 18/8/08)
 
* How do you set a web proxy?
[[category:Silent Installers]]
15
edits