Difference between revisions of "EDrawings"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(tidyup)
m (new version 2013)
 
Line 2: Line 2:
  
 
This is a silent installer and uninstaller for [http://www.edrawingsviewer.com/pages/programs/download/index.html eDrawings Viewer or eDrawings Publisher 2010] (a CAD viewer from SolidWorks).
 
This is a silent installer and uninstaller for [http://www.edrawingsviewer.com/pages/programs/download/index.html eDrawings Viewer or eDrawings Publisher 2010] (a CAD viewer from SolidWorks).
 +
Download the exe and unpack it using e.g. 7-zip.
  
 
<source lang="xml">
 
<source lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?xml version="1.0" encoding="UTF-8"?>
<packages>
+
<packages:packages
<package id="edrawings"
+
        xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  name="eDrawings"
+
        xsi:schemaLocation="http://www.wpkg.org/packages ../xsd/packages.xsd" >
  revision="2010"
+
  reboot="false"
+
  priority="0">
+
  
   <check type="uninstall" condition="exists" path="SolidWorks eDrawings 2010" />
+
<package
 +
  id='edrawings'
 +
  name='eDrawings SolidWorks 3D viewer'
 +
  revision='%PKG_VERSION%-20121126'
 +
  priority='10'
 +
  reboot='false' >
 +
 
 +
  <variable name="PKG_VERSION"        value="20120910" />
 +
  <variable name="SOFTWARE"        value="\\172.16.1.2\install" />
 +
  <variable name="PKG_SOURCE"        value="%SOFTWARE%\CAD\eDrawings\%PKG_VERSION%"/>
 +
  <variable name="PKG_SOURCE"        value="%SOFTWARE%\CAD\eDrawings\%PKG_VERSION%x64" architecture="x64"/>
 +
 
 +
   <check type="uninstall" condition="exists" path="SolidWorks eDrawings 2013" architecture="x86"/>
 +
  <check type="uninstall" condition="exists" path="SolidWorks eDrawings 2013 x64" architecture="x64"/>
 
   
 
   
   <install cmd='MsiExec.exe /q /i "%SOFTWARE%\edrawings\eDrawings.msi" ALLUSERS=1 LOGPERFORMANCE=0 ADDLOCAL=eDrawingsViewer,DXFDWGTranslator,Shortcuts,eDrawingsHelp TRANSFORMS=1031.mst'>
+
   <install cmd='MsiExec.exe /q /i "%PKG_SOURCE%\eDrawings.msi" ALLUSERS=1 LOGPERFORMANCE=0 ADDLOCAL=eDrawingsViewer ENABLECHKFORUPDATE=0'>
 
   <exit code="0" />
 
   <exit code="0" />
 
   <exit code="3010" />
 
   <exit code="3010" />
 
   </install>
 
   </install>
 
+
 
   <!-- remove old version of this program (just to be sure) -->
 
   <!-- remove old version of this program (just to be sure) -->
   <upgrade cmd='MsiExec.exe /q /x{AB31E6F5-2020-4AEB-A0D8-A93F4519051B}'>
+
   <upgrade cmd='MsiExec.exe /q /x{AB31E6F5-2020-4AEB-A0D8-A93F4519051B}'><exit code='any'/></upgrade>
    <exit code='any'/>
+
   <upgrade cmd='MsiExec.exe /q /x{CD23CF22-1DA2-4351-B6C4-B1A2859C68AC}'><exit code='any'/></upgrade>
  </upgrade>
+
   <upgrade cmd='MsiExec.exe /q /x{D136B211-9054-4D67-8145-274D077E9901}'><exit code='any'/></upgrade>
 
+
   <upgrade include="install" />
   <upgrade cmd='MsiExec.exe /q /x{CD23CF22-1DA2-4351-B6C4-B1A2859C68AC}'>
+
 
    <exit code='any'/>
+
   <remove cmd='MsiExec.exe /q /x "%PKG_SOURCE%\eDrawings.msi"' />
  </upgrade>
+
 
 
+
   <upgrade include="install" />
   <upgrade cmd='MsiExec.exe /q /x{D136B211-9054-4D67-8145-274D077E9901}'>
+
    <exit code='any'/>
+
   </upgrade>
+
 
+
   <upgrade cmd='MsiExec.exe /q /i "%SOFTWARE%\edrawings\eDrawings.msi" ALLUSERS=1 LOGPERFORMANCE=0 ADDLOCAL=eDrawingsViewer,DXFDWGTranslator,Shortcuts,eDrawingsHelp TRANSFORMS=1031.mst'>
+
  <exit code="0" />
+
  <exit code="3010" />
+
   </upgrade>
+
 
+
  <remove cmd='MsiExec.exe /q /x{A9A6CB24-C907-4524-AB33-9B0353ECEB0B}' />
+
 
+
 
</package>
 
</package>
</packages>
+
   
 +
</packages:packages>
 
</source>
 
</source>
  
 
==MSI Options==
 
==MSI Options==
 +
Installer options can be found on [http://files.solidworks.com/Supportfiles/eDrawings_Installation_Guide/2012/English/install_eDrawings.htm this page].
 
* ALLUSERS=('''1'''|0) (?) Should install for all Users (leftover from previous Versions)
 
* ALLUSERS=('''1'''|0) (?) Should install for all Users (leftover from previous Versions)
 
* LOGPERFORMANCE=('''1'''|0) (Disables the Performance-logging and Mailing to SolidWorks)
 
* LOGPERFORMANCE=('''1'''|0) (Disables the Performance-logging and Mailing to SolidWorks)

Latest revision as of 13:32, 26 November 2012

eDrawings 2010

This is a silent installer and uninstaller for eDrawings Viewer or eDrawings Publisher 2010 (a CAD viewer from SolidWorks). Download the exe and unpack it using e.g. 7-zip.

<?xml version="1.0" encoding="UTF-8"?>
<packages:packages
        xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.wpkg.org/packages ../xsd/packages.xsd" >

<package 
  id='edrawings' 
  name='eDrawings SolidWorks 3D viewer' 
  revision='%PKG_VERSION%-20121126' 
  priority='10' 
  reboot='false' >
  
  <variable name="PKG_VERSION"        value="20120910" />
  <variable name="SOFTWARE"        value="\\172.16.1.2\install" />
  <variable name="PKG_SOURCE"         value="%SOFTWARE%\CAD\eDrawings\%PKG_VERSION%"/>
  <variable name="PKG_SOURCE"         value="%SOFTWARE%\CAD\eDrawings\%PKG_VERSION%x64" architecture="x64"/>
  
  <check type="uninstall" condition="exists" path="SolidWorks eDrawings 2013" architecture="x86"/>
  <check type="uninstall" condition="exists" path="SolidWorks eDrawings 2013 x64" architecture="x64"/>
 
  <install cmd='MsiExec.exe /q /i "%PKG_SOURCE%\eDrawings.msi" ALLUSERS=1 LOGPERFORMANCE=0 ADDLOCAL=eDrawingsViewer ENABLECHKFORUPDATE=0'>
   <exit code="0" />
   <exit code="3010" />
  </install>
 
  <!-- remove old version of this program (just to be sure) -->
  <upgrade cmd='MsiExec.exe /q /x{AB31E6F5-2020-4AEB-A0D8-A93F4519051B}'><exit code='any'/></upgrade>
  <upgrade cmd='MsiExec.exe /q /x{CD23CF22-1DA2-4351-B6C4-B1A2859C68AC}'><exit code='any'/></upgrade>
  <upgrade cmd='MsiExec.exe /q /x{D136B211-9054-4D67-8145-274D077E9901}'><exit code='any'/></upgrade>
  <upgrade include="install" />
   
  <remove cmd='MsiExec.exe /q /x "%PKG_SOURCE%\eDrawings.msi"' />
  
  <upgrade include="install" />
</package>
    
</packages:packages>

MSI Options

Installer options can be found on this page.

  • ALLUSERS=(1|0) (?) Should install for all Users (leftover from previous Versions)
  • LOGPERFORMANCE=(1|0) (Disables the Performance-logging and Mailing to SolidWorks)
  • ADDLOCAL - this can be found on the eDrawings Install Help page but these are undocumented:
    • Shortcuts (Install shortcuts to Desktop, Start menu and Quick Launch toolbar)
    • eDrawingsHelp (offline Help files)