MSI Installation

From OriginLab Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 23:47, 6 February 2012 (edit)
Barb (Talk | contribs)

← Previous diff
Revision as of 23:48, 6 February 2012 (edit) (undo)
Barb (Talk | contribs)

Next diff →
Line 13: Line 13:
* 1-3 are needed for both 32 and 64 bit Operating systems. * 1-3 are needed for both 32 and 64 bit Operating systems.
* 4 and 5 are needed for 64 bit OS only. * 4 and 5 are needed for 64 bit OS only.
 +
 +Download the MS redistributable exes:
# [http://www.originlab.com/restricted/file_download.aspx?site=MA&file=/restricted/download_files/vcredist_x86.exe vcredist_x86.exe] # [http://www.originlab.com/restricted/file_download.aspx?site=MA&file=/restricted/download_files/vcredist_x86.exe vcredist_x86.exe]
# [http://www.originlab.com/restricted/file_download.aspx?site=MA&file=/restricted/download_files/vcredist_x86-2008.exe vcredist_x86-2008.exe] # [http://www.originlab.com/restricted/file_download.aspx?site=MA&file=/restricted/download_files/vcredist_x86-2008.exe vcredist_x86-2008.exe]

Revision as of 23:48, 6 February 2012

Go back to Multi-user Site Deployment

Contents

Download the installer

About Required Microsoft DLLs

Origin 8.6 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 8.6 runs. MS provides installers for these DLLs called redistributable exes. Depending on the state of your computer and OS, you may need to run five MS redistributable exes on the computers that will run Origin 8.6.

  • 1-3 are needed for both 32 and 64 bit Operating systems.
  • 4 and 5 are needed for 64 bit OS only.

Download the MS redistributable exes:

  1. vcredist_x86.exe
  2. vcredist_x86-2008.exe
  3. vcredist_x86-2010.exe
  4. vcredist_x64-2008.exe
  5. vcredist_x64-2010.exe

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

REM   VCRedist.BAT
vcredist_x86.exe /q
vcredist_x86_2008.exe /q
vcredist_x86_2010.exe /q
vcredist_x64_2008.exe /q
vcredist_x64_2010.exe /q

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

Running the MSI directly

You can run the Origin 8.6 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\Origin8.6 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) or passively (no user interaction, but shows status dialog).

The command 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>" 

For example: (all on one line)

C:\OriginMSI>msiexec /i  "Origin86Setup32Bit.msi"
TRANSFORMS="Origin86MSITransform.Mst" /passive 
INSTALLDIR="C:\Program Files\OriginLab\Origin 8.6\" USERNAME="my name" 
COMPANYNAME="my company" PIDKEY="sf8t5-9354-7222222"


You can also include the required MS installers as follows: (Note: the line starting with msiexec must all be on one line)

REM    ORIGIN86MSI.BAT 
vcredist_x86.exe /q
vcredist_x86_2008.exe /q
vcredist_x86_2010.exe /q
vcredist_x64_2008.exe /q
vcredist_x64_2010.exe /q
msiexec /i  "Origin86Setup32Bit.msi"
TRANSFORMS="Origin86MSITransform.Mst" /passive 
INSTALLDIR="C:\Program Files\OriginLab\Origin 8.6\" USERNAME="my name" 
COMPANYNAME="my company" PIDKEY="sf8t5-9354-7222222"

Running a Transform

OriginLab provides an optional MSI transform (.mst file) that allows you to

  1. preset the User Files Folder to the default path used by Origin 8.6, 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 8.6.

Example 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 MSIInstallOrigin86Sample.bat. The batch file runs the five Microsoft redistributable exes. Also, you must edit the user name, company name, serial number, etc. in the batch file.

To preset the FLEXnet server, create a text file named use_server.lic of 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="Origin86MSITransform.Mst"

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

Uninstall

To uninstall, choose one of the following:

  • Run the Add or Remove Files shortcut in the OriginLab | Origin 8.6 program folder created by the msi installer,
  • Or open the MS Windows control panel's Add or Remove Programs program and look for Origin 8.6 and select Change,
  • Or run the command
>msiexec /x "Origin86Setup32Bit.msi"

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

>msiexec /x "Origin86Setup64and32Bit.msi"