Difference between revisions of "Free DWG Viewer"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(WPKG Package)
 
Line 6: Line 6:
  
 
<source lang="xml">
 
<source lang="xml">
package id="freedwgviewer" name="Free DWG Viewer" revision="1" reboot="false" priority="5" modified="22 Feb 2012" reason="New 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" />
 
   <check type="uninstall" condition="exists" path="Free DWG Viewer 7.1" />
 
   <install cmd='"%SOFTWARE%\graphics\FreeDWGViewer.exe" -s -f1%SOFTWARE%\graphics\freedwgviewer.iss' />
 
   <install cmd='"%SOFTWARE%\graphics\FreeDWGViewer.exe" -s -f1%SOFTWARE%\graphics\freedwgviewer.iss' />

Latest revision as of 10:45, 1 June 2012

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>