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

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"?>
        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" >

  name='eDrawings SolidWorks 3D viewer' 
  reboot='false' >
  <variable name="PKG_VERSION"        value="20120910" />
  <variable name="SOFTWARE"        value="\\\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" />
  <!-- 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" />

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)