Free DWG Viewer

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

Silent installer for Free DWG Viewer (http://www.bravaviewer.com/viewers.htm).

To create an answer file (.iss), execute the installer with the -r switch. This is created in the Windows folder.

WPKG Package

<package id="freedwgviewer" name="Free DWG Viewer" revision="1" reboot="false" priority="5" modified="22 Feb 2012" reason="New Package">
  <check type="uninstall" condition="exists" path="Free DWG Viewer 7.1" />
  <install cmd='"%SOFTWARE%\graphics\FreeDWGViewer.exe" -s -f1%SOFTWARE%\graphics\freedwgviewer.iss' />
  <upgrade cmd='"%SOFTWARE%\graphics\FreeDWGViewer.exe" -s -f1%SOFTWARE%\graphics\freedwgviewer.iss' />
  <remove cmd='"%PROGRAMFILES%\InstallShield Installation Information\{B8B4D43C-EAA0-4EEC-B93E-D4D012316286}\setup.exe"  -removeonly -y' >
        <exit code="0" reboot="false" />
        <exit code="3010" reboot="delayed" />
  </remove>
</package>