MYOB Premier

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

The MYOB Premier installer is an InstallScript MSI package, which requires response files for silent installation:

  1. From the MYOB CD run setup.exe /r to record a response file, which is saved to %WINDIR%\setup.iss by default (an explicit absolute path can be supplied using the /f1 option). Copy the response file (along with the contents of the MYOB CD) to your wpkg software share point (i.e. "%SOFTWARE%").
  2. Using the same method as step 1, record another response file for removing MYOB Premier. Copy this response file to your wpkg software share point (i.e. "%SOFTWARE%") as remove.iss
  3. Record a third response file for uninstalling MYOB ODBC Direct by running "%PROGRAMFILES%\InstallShield Installation Information\{C71F2873-3229-4A9E-A2A2-F14DCBF63F56}\setup.exe" /r. Copy this response file to your wpkg software share point (i.e. "%SOFTWARE%") as remove-odbc.iss


<?xml version="1.0" encoding="UTF-8"?>

<packages>
  <package
    id="myob-premier"
    name="MYOB Premier"
    revision="11"
    priority="0"
    reboot="false">

  <check type="uninstall" condition="exists" path="MYOB Premier v11"/>

  <install cmd='"%SOFTWARE%/myob-premier/setup.exe" /s /v"/qn"'/>

  <upgrade cmd='"%SOFTWARE%/myob-premier/setup.exe" /s /v"/qn"'/>

  <remove cmd='"%SOFTWARE%/myob-premier/setup.exe" /s /v"/qn" /f1""%SOFTWARE%/myob-premier/remove.iss"'/>
  <!-- MYOB ODBC Direct -->
  <remove cmd='"%PROGRAMFILES%\InstallShield Installation Information\{C71F2873-3229-4A9E-A2A2-F14DCBF63F56}\setup.exe" /s /f1"%SOFTWARE%/myob-premier/remove-odbc.iss"'/>

  </package>
</packages>