AMR Player

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

It is audio player for AMR-NB and AMR-WB audio formats from amrplayer.com.

<package 
	id="amrplayer"
	name="AMR Player" 
	revision="%PKG_VERSION%" 
	reboot="false" 
	priority="0" >

	<variable name="PKG_VERSION"		value="1.3" />
	<variable name="PKG_SOURCE"		value="%SOFTWARE%\AMRPlayer" />
	<variable name="PKG_NAME"		value="amrplayer_setup%PKG_VERSION%.exe" />
	<variable name="PKG_INSTALL_SWITCH"	value="/VERYSILENT /SUPPRESSMSGBOXES /LOG /NORESTART /NODESKICON /TYPE=Full" />
	<variable name="PKG_REMOVE_SWITCH"	value="/VERYSILENT /SUPPRESSMSGBOXES /LOG /NORESTART" />
	<variable name="PKG_DESTINATION"	value="%PROGRAMFILES%\AMR Player" architecture="x86" />
	<variable name="PKG_DESTINATION"	value="%PROGRAMFILES(x86)%\AMR Player" architecture="x64" />

	<check type="uninstall" condition="exists" path="AMR Player %PKG_VERSION%" />

	<install cmd='"%PKG_SOURCE%\%PKG_NAME%" %PKG_INSTALL_SWITCH%' />

	<upgrade include="install" />

	<remove cmd='"%PKG_DESTINATION%\unins000.exe" %PKG_REMOVE_SWITCH%' />
	
</package>