Dvd43

DVD43 is a free DVD decrypter that runs in the background and decrypts DVDs on-the-fly. Useful program for playing DVDs that are not of your region.

EXE installer package.xml

<package
	id="dvd43"
	name="DVD43"
	revision="460"
	reboot="true"
	priority="1">
	
	<check type="uninstall" condition="exists" path="DVD43 v4.6.0" />
	
	<install cmd='"%SOFTWARE%\DVD43_4-6-0_Setup.exe" /silent /norestart ' />
	
	<remove cmd='taskkill /F /IM DVD43_Tray.exe' >
		<exit code="128" />
	</remove>
	<remove cmd='"%PROGRAMFILES%\dvd43\unins000.exe" /silent' />
</package>

/silent - switch makes the installation automatic, but there is still a dialog box that appears while installation is happening.

/norestart - switch suppresses the restart dialog box at the end of installation. If this switch isn't there, a Yes/No dialog box displays which requires user input.

reboot="true" - is needed because the program doesn't work straight after installation, it needs a restart to function properly. Having this set to ture, with the /norestart switch makes computer restart after installation without user input.

For removal, task needs to be killed before uninstaller can start.