Back to Top

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, trial download, and by a download link in an email after purchase.
  • MSI Installers
Advantages of InstallShield Setup

The 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 .ini file 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

Origin2020Setup.msi installer Download now.

About Required Microsoft DLLs

From version 2016 Origin is built using Microsoft (MS) Visual Studio 2012, 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.

Download the MS redistributable exes (MS DLL installers):

  1. vcredist_x86_2008.exe
  2. vcredist_x86_2010.exe
  3. vcredist_x86_2012.exe
  4. vcredist_x86-2015-2019.exe
  5. vcredist_x64_2008.exe
  6. vcredist_x64_2010.exe
  7. vcredist_x64_2012.exe
  8. vcredist_x64-2015-2019.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_2010.exe /quiet
vcredist_x86_2012.exe /quiet
vcredist_x86-2015-2019.exe /quiet
vcredist_x64_2008.exe /quiet
vcredist_x64_2010.exe /quiet
vcredist_x64_2012.exe /quiet
vcredist_x64-2015-2019.exe /quiet

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


Running the MSI Directly

You can run the Origin 2020 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 2020 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.

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>"
SERIALNUMBER="<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 "Origin2020Setup.msi"
TRANSFORMS="Origin2020MST.Mst" /passive
INSTALLDIR="C:\Program Files\OriginLab\Origin2020\" USERNAME="my name"
COMPANYNAME="my company" SERIALNUMBER="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 ORIGIN2020MSI.BAT
vcredist_x86_2008.exe /quiet
vcredist_x86_2010.exe /quiet
vcredist_x86_2012.exe /quiet
vcredist_x86-2015-2019.exe /quiet
vcredist_x64_2008.exe /quiet
vcredist_x64_2010.exe /quiet
vcredist_x64_2012.exe /quiet
vcredist_x64-2015-2019.exe /quiet
msiexec /i "Origin2020Setup.msi"
TRANSFORMS="Origin2020MST.Mst" /passive
INSTALLDIR="C:\Program Files\OriginLab\Origin2020\" USERNAME="my name"
COMPANYNAME="my company" SERIALNUMBER="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 config.ini file. To make use of the config.ini file:

  1. config.ini is included in the trasform package (\Program Files 64\OriginLab\Origin 2020). Download it in Running a Transform section.
  2. Edit the Path key in the [Locations] section of the config.ini. Comments are provided in the config.ini file to assist you.
  3. Put config.ini file in the folder where the MSI file is.
  4. Run the MSI file to install.

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, you can request a Group Product Key as described on page. The purpose of the Group Product Key is to free you from having to manually enter the key during activation. To make use of the Group Product Key:

    1. Save the Group Product Key in a text file and name it "PK.txt".
    2. Put the file PK.txt into the folder where the MSI file is.
    3. Run the MSI file to install.

    After installation is complete, start Origin. Note that the Group Product Key is pre-filled in the License Activation dialog and the license is automatically activated.

  • 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.

    You can pre-set this in your installation package by configuring the server information in the config.ini file. That is:

    1. config.ini is included in the trasform package (\Program Files 64\OriginLab\Origin 2020). Download it in Running a Transform section.
    2. Configure

      Server=
      Port=

      in the [License] section of the config.ini. Comments are provided in the config.ini file to assist you.
    3. Put config.ini file in the folder where the MSI file is.
    4. Run the MSI file to install.

    After installation is complete, start origin and it will connect to the server as configured.

    Note: The config.ini file can pre-set server and port so that Origin will create the use_server.lic file into the C:\ProgramData\OriginLab\License\ that is created on the user computer by your installation package. However, if the file exists already, you cannot use the config.ini file to update the existed server information. Please use group folder to update the use_server.lic in this case. See See The Origin Group Leader below for more information.

    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 does NOT need to 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 including a MSI transform (.mst file) and a config.ini file. The .mst file allows you to ignore:

  • the New Workbook dialog (can be opened by File: New: Workbook)
  • the Learning Center (can be opened from Help menu)
  • the Maintenance expiration notification

And the .ini allows you to:

  • preset the User Files Folder to the default path used by Origin 2020, and
  • preset the FLEXnet license server machine for the Concurrent Network package,

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

Example MSI transform and batch file download

In this example, in addition to editing the config.ini file discussed in License Management section above, you must also edit the batch file MSIInstallOrigin2020Sample.bat. The batch file runs the MS redistributable exes. Also, you must edit the user name, company name, serial number, etc. in the batch file.

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

TRANSFORMS="Origin2020MST.Mst"

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

Uninstalling Origin

To uninstall Origin, choose one of the following options:

  • Run the Add or Remove Files shortcut in the OriginLab Origin 2020 program folder created by the msi installer,
  • Or open the MS Windows control panel's Add or Remove Programs program and look for Origin 2020 and select Change,
  • Or run the command line:

>msiexec /x "Origin2020Setup.msi"


MSI Product Codes

  • Origin 2020
  • {54EE0C30-E775-46AB-9789-B860944307EA}


    [-] MSI Product Codes for old version

    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

    Origin 2015 32bit and 64bit

    920222B2-2BFB-4C72-98C0-1180B4557D45

    Origin 2016 32bit

    {676D745F-E8EA-4E01-95A1-7E9BB918DCCD}

    Origin 2016 64bit

    {F500AD3A-7529-4361-A4E9-09FC006E5CF5}

    Origin 2017 32bit

    {7C0AF9E7-4078-4B8A-8261-8BAAF7660C1D}

    Origin 2017 64bit

    {923640E2-D076-4CCE-BBE2-68BF8B4CDA83}

    Origin 2018 SR0 32bit

    {9F540C4A-C60C-485A-BD1D-64F2E2788BCC}

    Origin 2018 SR0 64bit

    {4687DE74-8A03-49D7-9C8E-6DEB1C4F0F94}

    Origin 2018 SR1 32bit

    {46674800-BB43-4921-B3AB-1608A5CE7615}

    Origin 2018 SR1 64bit

    {B71F8CB1-0864-4D91-874B-0B4016598B35}

    Origin 2018b 32bit

    {637C2900-9F99-4D9A-B40F-5F53575FD74C}

    Origin 2018b 64bit

    {E1AAE662-FFAA-4050-AC9D-BC0F5A49269A}

    Origin 2019 32Bit

    {B4B3C35D-EED6-4F4D-9E73-BEDA4CC94FFD}

    Origin 2019 64Bit

    {B25DBC5D-4A43-4C63-9615-D18B66947037}

    Origin 2019b 32Bit

    {799F33A3-67E1-445E-B016-3CCCE655AE34}

    Origin 2019b 64Bit

    {D5642E2C-537D-43F9-9204-B20122F47DF2}


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

    msiexec /x {product_code}


    Example to uninstall Origin 2019 64bit MSI installation:

    msiexec /x {B25DBC5D-4A43-4C63-9615-D18B66947037}



    © OriginLab Corporation. All rights reserved.