SCCM Package – MathCAD 15

I’m making a series of posts describing the package creation process for the applications my current lab image. This post is about MathCAD 15.

References

General Info

MathCAD is installed via MSI (Microsoft Installer). The regular msi file provided in the installation media isn’t customizable, but PTC provides a MSI customization tool. Through this tool, license information can be integrated into a custom msi file.

Process

  1. Run the regular MathCAD installer from the media.
  2. When prompted, choose “Create silent installation package”.
  3. Follow the prompts until setup creates an MSI file for you. Put the resulting msi file in the source folder for the SCCM MathCAD package.
  4. Download MSXML.msi from the Microsoft site above and place it into your MathCAD Package source folder. msxml is required for MathCAD to run properly.
  5. Create a script named “Make-Shortcuts_MathCAD.ps1″ that creates the MathCAD shortcuts. For help creating a shortcut script see my previous blog post “Creating Shortcuts for SCCM Packages“.
    Use the following parameters:
    Target Path: “C:\Program Files (x86)\Mathcad\Mathcad 15\mathcad.exe”
    Shortcut Name: MathCAD 15.lnk
  6. Create a batch file named “Install-mathcad.cmd” with the following contents:
    @ECHO OFF
    ECHO Installing MathCAD 15
    ECHO Do not close this window. It will close when the install is finished.
    
    REM Main Install
    msiexec.exe /i msxml.msi /qb
    msiexec.exe /i Mathcad15WixInstaller.msi /qb
    
    REM Shortcuts
    powershell -noprofile -command "& {If((get-executionpolicy) -ne 'Unrestricted'){$a = get-executionpolicy; set-executionpolicy unrestricted -force;}; .\Make-Shortcuts_Mathcad.ps1; set-executionpolicy $a}"
  7. Assemble the files into a single source folder then create a SCCM package and program. The program’s command line action should be “install-mathcad.cmd”. The following is a screen shot of my final source folder.

Woo woo! I love me some SCCM Packages!

Advertisements

One thought on “SCCM Package – MathCAD 15

  1. Pingback: Table of Contents | windowsmasher

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s