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

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

	<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 cmd='"%PROGRAMFILES%\dvd43\unins000.exe" /silent' />

/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.