MSI Installation
 
  Skip Navigation Links
 

MSI Installation

Contents

    1 When should you use the MSI Installer vs. the InstallShield Setup Installer?
         1.1 Advantages of InstallShield Setup
         1.2 Advantages of MSI Installer
    2 Download the MSI Installer
    3 About Required Microsoft DLLs
    4 Running the MSI Directly
    5 Running the MSI on the Command Line Silently or Passively
    6 Post installation settings you can pre-configure in your MSI
         6.1 User Files Folder
         6.2 License Management
         6.3 The Origin Group Leader
    7 Running a Transform
    8 Uninstalling Origin
    9 MSI Product Codes

When should you use the MSI Installer vs. the InstallShield Setup Installer?

OriginLab offers two types of installers:

  • InstallShield Setup - Available on the DVD, demo download, and by a download link in an email after purchase.
  • MSI Installers
Advantages of InstallShield Setup

The InstallShield Setup has the advantage that it detects the operating system of the computer it is being run on.

  • If the OS is 32-bit, then the InstallShield installer will only install 32-bit Origin.
  • If the OS is 64-bit, then the InstallShield installer will give the option to install both 32-bit and 64-bit Origin, only 64-bit Origin, or only 32-bit Origin. (Read more about 64-bit Origin.)

This differs from the MSI - we have two MSI installers, one for 32-bit or 64-bit OS (installs only 32-bit Origin) and one for 64-bit OS (installs both 32-bit and 64-bit Origin). So this is a disadvantage in that you need to provide your users with the correct MSI.

Another advantage of the InstallShield Setup is that it checks if required Microsoft (MS) DLLs are present on the computer, and if not, the InstallShield Setup automatically runs the required MS installers to install the DLLs.

This differs from the MSI - the Origin MSI installers are not able to automatically run the MS installers. So if you deploy Origin from an MSI, you may want to include the MS installers and a batch file to install them (more information below).

Advantages of MSI Installer

The MSI installer allows you to prepare a script so users can install Origin without being asked to enter the serial number, install folder, etc. Also, you can include a transform that can pre-set the User Files Folder (users are asked to select this at first start-up) and for concurrent packages, you can preset the FLEXnet server.

If you do not need to pre-set these installation settings, then you should use the InstallShield Setup, not the MSI.


Download the MSI Installer

There are two MSI installers for Origin 9.1. If some of your users are running 32-bit OS and some are running 64-bit OS, then you must either provide them with the Origin 32-bit installer, or provide them with the option to choose the installer based on their OS (32-bit or 64-bit):

  • The Origin91Sr2Setup32Bit-271d.msi installer will install 32-bit Origin and can be run on a 32-bit or 64-bit OS. Download now.
  • The Origin91Sr2Setup64and32Bit-271d.msi will install BOTH 32-bit and 64-bit Origin and thus can only be run on a 64-bit OS. Download now.


About Required Microsoft DLLs

Origin 9.1 is built using Microsoft (MS) Visual C++ 2010, and thus it requires certain MS DLLs to run. These DLLs need to exist on the computer where Origin runs. If you run Origin on a computer without these DLLs, the user will see an MS DLL error at Origin startup.

Also, to install the MS DLLs, the computer must have Windows Installer installed. If the OS is old (such as XP Sp2 or earlier), then it may not have Windows Installer present. So in such case, you will need to install Windows Installer first, and then the MS DLLs.

Download the Windows Installer:

  1. For 32 bit XP sp2 or earlier:  WindowsInstaller-KB893803-v2-x86.exe
  2. For 64 bit XP:  WindowsXP-KB898715-x64-enu.exe

Download the MS redistributable exes (MS DLL installers):

Downloads 1 and 2 are needed for both 32-bit and 64-bit OS. Downloads 3 and 4 are needed for 64-bit OS only.

  1. vcredist_x86-2008.exe
  2. vcredist_x86-2012.exe
  3. vcredist_x64-2008.exe
  4. vcredist_x64-2012.exe

It may be convenient to list them all in a batch file and use the /quiet switch. Then each will install silently in sequence. If they are already installed, they will remain installed.

REM VCRedist.BAT
vcredist_x86_2008.exe /quiet
vcredist_x86_2012.exe /quiet
vcredist_x64_2008.exe /quiet
vcredist_x64_2012.exe /quiet

You can also include the Origin MSI in this batch file. See the sections below about running the Origin 9.1 MSI from the command line.


Running the MSI Directly

You can run the Origin 9.1 MSI directly by double-clicking on the .msi file on the local machine. During installation, you must enter your serial number. After installation, a program folder named OriginLab\Origin 9.1 will appear in the Start Programs menu list.


Running the MSI on the Command Line Silently or Passively

You can run the MSI on the command line either silently (no user interaction) using the /quiet switch, or passively (no user interaction, but shows status dialog) using the /passive switch.

Note: When running the MSI silently on Windows 8, 7 or Vista, make sure to Run as Administrator. Otherwise, the User Account Control (UAC) will require user approval which would be suppressed.

The command using the /passive switch is: (all on one line)

msiexec /i "<name of msi file>.msi"
[TRANSFORMS="<transform>.Mst"] /passive
INSTALLDIR="<destination directory>"
USERNAME="<client user or computer name>"
COMPANYNAME="<company or department name>"
PIDKEY="<serial number>"

In the following example using the /passive switch, a sample transform is included. See Running a Transform for more information: (all on one line)

C:\OriginMSI>msiexec /i "Origin91Sr2Setup32Bit-271d.msi"
TRANSFORMS="Origin91mst.Mst" /passive
INSTALLDIR="C:\Program Files\OriginLab\Origin 9.1\" USERNAME="my name"
COMPANYNAME="my company" PIDKEY="sf8t5-9354-7222222"

In the following example, the required MS installers are run with the /quiet switch. A batch file is included, and a transform is run with the /passive switch. See Running a Transform for more information: (Note: the line starting with msiexec must all be on one line)

REM ORIGIN91MSI.BAT
vcredist_x86_2008.exe /quiet
vcredist_x86_2012.exe /quiet
vcredist_x64_2008.exe /quiet
vcredist_x64_2012.exe /quiet
msiexec /i "Origin91Sr2Setup32Bit-271d.msi"
TRANSFORMS="Origin91mst.Mst" /passive
INSTALLDIR="C:\Program Files\OriginLab\Origin 9.1\" USERNAME="my name"
COMPANYNAME="my company" PIDKEY="sf8t5-9354-7222222"


Post installation settings you can pre-configure in your MSI

It is optional to configure the following settings in your installation package:

User Files Folder

The User Files Folder is the default file open and save location in Origin.
You can pre-set the User Files Folder by editing the Path key in the [User Files] section of the Origin.ini file, located in the Origin program folder. Comments are provided in the Origin.ini file to assist you.
If you do not pre-set the User Files Folder in your installation package, then each Origin user (each log in user) will be asked to select their own User Files Folder when they first start Origin. The user's Windows log in account does NOT need Administrator permissions to complete this step.

License Management

If you have the Multi-seat Node Locked (Group) package, then you cannot pre-set the license management because each Origin computer requires a computer-specific license. The license is obtained from the OriginLab website using a dialog that opens when you run an unlicensed Origin. You can thus skip this section.

If you have the Concurrent Network package, you can pre-set the location of the FLEXnet license server so that the Origin users are not asked to specify this when they start Origin.

To configure this in your installation package, you must first create a text file named use_server.lic. You must then have your installation package install this text file into the Origin program folder \License folder that is created on the user computer by your installation package.

The use_server.lic text file you create must have the format:

SERVER <FLEXnet server Host Name or IP Address> ANY
USE_SERVER

Example:

SERVER main_server ANY
USE_SERVER

If you do not pre-set the location of the FLEXnet license server in your installation package, then when each user runs Origin on their computer, they will see a license dialog asking them to enter the Host Name or IP address of the FLEXnet server. The user's Windows log in account must have Administrator permissions to complete this step.

The Origin Group Leader

The Group Folder / Group Leader feature allows you to set up a group leader which can serve as a source for distributing custom Origin files and patches to members of the group. Then once you have done this, you can set up the Origin in your installation package so that it is predefined to receive updates from the group leader.

Running a Transform

OriginLab provides an optional sample MSI transform (.mst file) for the Concurrent Network package that allows you to:

  1. preset the User Files Folder to the default path used by Origin 9.1, and
  2. preset the FLEXnet license server machine,

so that those choices will not need to be made by users when they first start Origin 9.1.

Example 32Bit MSI transform and batch file download

Example 64Bit MSI transform and batch file download

In this example, in addition to editing the use_server.lic file discussed below, you must also edit the batch file MSIInstallOrigin91Sample-(32bit or 64bit).bat. The batch file runs the five MS redistributable exes. Also, you must edit the user name, company name, serial number, etc. in the batch file.

The example download includes a use_server.lic file, but you can also (optionally) create this text file yourself using the form: (add your FLEXnet server name)

SERVER <FLEXnet server computer name> ANY
USE_SERVER

and include this file in the folder containing the MSI and MST files.

To include the transform, add the following to the command line:

TRANSFORMS="Origin91mst.Mst"

The examples above include the transform already. To omit the transform, remove the part TRANSFORMS="Origin91mst.Mst"


Uninstalling Origin

To uninstall Origin, choose one of the following options:

  • Run the Add or Remove Files shortcut in the OriginLab | Origin 9.1 program folder created by the msi installer,
  • Or open the MS Windows control panel's Add or Remove Programs program and look for Origin 9.1 Sr2 and select Change,
  • Or run the command for the 32-bit MSI:

>msiexec /x "Origin91Sr2Setup32Bit-271d.msi"

or the following for the 32-bit and 64-bit MSI:

>msiexec /x "Origin91Sr2Setup64and32Bit-271d.msi"


MSI Product Codes

  • Origin 8
  • D7237091-D7CC-442D-9816-5B6A9E7DC7E6

  • Origin 8.1
  • ADE6A78E-4175-406B-ACA1-6FD911E6A900

  • Origin 8.5
  • A8452111-698A-4C59-AC20-DD56C1601A67

  • Origin 8.5.1
  • A6F23F09-511A-494A-B108-2E6078BDB3C7

  • Origin 8.6 32bit and 64bit
  • 5F6B22A4-8F22-4916-A3D6-ADBECFA02E42

  • Origin 9 32bit and 64bit
  • 9DE4251D-D6A0-445B-A006-42F20D46CB62

  • Origin 9.1 32bit and 64bit
  • 912C907D-E18C-4560-859B-2B1EA969BAB5

    You can uninstall using these Product Codes by running msiexec from the command line as follows:

    msiexec /x {product_code}


    Example to uninstall Origin 9.1 MSI installation:
    msiexec /x {912C907D-E18C-4560-859B-2B1EA969BAB5}



    Skip Navigation Links.
    Copyright © 2012 OriginLab Corporation. All rights reserved.
    20+ years serving the scientific and engineering community