CDisplay

CDisplay is a free comic reader program. It allows scanned images of comics pages that are stored in an ace, zip, rar, or tar file to be viewed by loading the JPEG, PNG and static GIF images stored in those files. The scanned images are automatically ordered and presented for viewing one at a time or two at a time, so that the experience is similar to reading the original paper copy.

The setup.exe file uses the Inno Setup installer. You can specify the installation directory with the "/Dir=dir" option. Higher level directories will be created, if needed. E.g., in the example below, presuming %PROGRAMFILES% is "C:\Program Files", the directory "c:\program files\comics" does not have to already exist, Both the "Comics" and "CDisplay" directory beneath it will be created

You will need to specify both the "/silent" and "/sp-" options to preclude any prompts or windows opening on the target system.

The package section below presumes that CDisplay version 1.8 is being installed.

<package
  id="CDisplay"
  name="CDisplay"
  revision="1"
  reboot="false"
  priority="1">

  <check type="uninstall" condition="exists" path="CDisplay 1.8" />
  <install cmd='%SOFTWARE%\CDisplay\setup.exe /VerySilent /SP- /Dir="%PROGRAMFILES%\comics\CDisplay"' />
  <remove cmd='"%PROGRAMFILES%\Comics\CDisplay\unins000.exe"' />
</package>

The remove command above will uninstall the software, but a prompt will appear on the system asking for confirmation. When I tried the "/silent" or "/verysilent" options for the unins000.exe command, the uninstall failed. It was successful when I did not use either of those options.

Reference:

Installation of CDisplay with wpkg