WinRAR

This is the XML file for WinRAR 3.6.1 (silent installer and uninstaller).

 <?xml version="1.0" encoding="UTF-8"?>
 <packages>
   <package
      id="winrar"
      name="WinRAR 3.6.1 English"
      revision="361"
      reboot="false"
      priority="2">
   
      <check type="uninstall" condition="exists" path="WinRAR archiver" />
      <install cmd='"%SOFTWARE%\winrar\WinRAR.3.61.Setup.exe" /s' />
      <remove cmd='"%PROGRAMFILES%\winrar\uninstall.exe" /s' />
   </package>
 </packages>

If you want to include a settingsfile (exportable from within winrar: Settings.reg), open the winrar installationfile with WinRAR and add the settingsfile. It will be installed in the program folder and automaticly read when a user starts winrar for the first time.

A license file can be inserted the same way (rarreg.key).