I recently figured out a better way to get MYOB Premier to deploy via MSI that the previous method that I posted. This method basically stops the MSI from checking if it’s been run by a bootstrapper (Setup.exe). I’ve tested this with Premier 11 and 12 and it deploys fine on XP and Vista.
It can be done by simply creating a transform (MST) file using Orca. This is advantageous over importing the MSI into Advanced installer for the following reasons:
- You’ll be using MYOB’s original MSI file
- You don’t need to make any changes to the MSI file itself. All changes are specified in the transform file.
This will install Premier to the root of C drive, which is MYOB’s default location. For example, Premier 11 will be installed to C:premier11.
You’ll need Orca installed. Instructions for Premier 12 are below. For Premier 11, follow the same instructions – but take note of point 4.2.2
- Copy the default MSI and CAB files from the CD to your deployment share.
- Right-click the MSI and choose “Edit with Orca”
- Go to the Transform menu, and select “New Transform”. Any changes you now make to the MSI will be effected in a separate “MST” file.
- Make the following changes:
- In the CustomAction table:
- Select “ISVerifyScriptingRuntime” and press delete (or right click on it and choose “Drop Row”
- Do the same for ISSetupFilesExtract
- Do the same for ISSetupFilesCleanup
- In the Directory table:
- Change directory “KEY_NAME_SC” DefaultDir to “MYOB|MYOB” (without the quotes)
- If deploying Premier 11:
- Change directory “ISYourCompanyDir” to MYOB|MYOB
- Change directory “ISYourProductDir” to PREMIE~1|Premier11
- Go to the Transform menu, and select “Generate Transform”. Save the transform file into the same network share/folder as your MSI and CAB file
- You’re now ready to deploy Premier. Ensure you take note of the key points below:
- Make sure you choose the ‘Advanced’ Deployment Method, when you start adding the package to the policy.
- Assign the software package to the computer, in the “Computer Configuration” section of the policy.
- In the “Modifications” tab, make sure you specify the transform file that we created above.
- In the “Deployment” tab, be sure to check the “Uninstall this application when it falls out of the scope of management” checkbox.
If you’re not experienced in deploying software via MSI, the following links may be useful: