From OriginLab Wiki
|Revision as of 14:47, 7 February 2012 (edit)
Barb (Talk | contribs)
← Previous diff
|Revision as of 14:22, 8 February 2012 (edit) (undo)
Barb (Talk | contribs)
Next diff →
|Line 3:||Line 3:|
|==Download the Installer==||==Download the Installer==|
|-||* [http://www.originlab.com//restricted/file_download.aspx?site=PRVCDN&file=Origin86Setup32Bit.msi ||+|
|+||32-bit Origin . [http://www.originlab.com//restricted/file_download.aspx?site=PRVCDN&file=Origin86Setup64and32Bit.msi .|
|==About Required Microsoft DLLs ==||==About Required Microsoft DLLs ==|
Revision as of 14:22, 8 February 2012
Go back to Multi-user Site Deployment
Download the Installer
There are two MSI installers for Origin 8.6. 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 Origin86Setup32Bit.msi installer will install 32-bit Origin and can be run on a 32-bit or 64-bit OS. Download now.
- The Origin86Setup64and32Bit.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 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-bit and 64-bit OS.
- 4 and 5 are needed for 64-bit OS only.
Download the MS redistributable exes:
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.exe /quiet vcredist_x86_2008.exe /quiet vcredist_x86_2010.exe /quiet vcredist_x64_2008.exe /quiet vcredist_x64_2010.exe /quiet
You can also include the Origin 8.6 MSI in this batch file. See the sections 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) 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 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>"
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 using the /quiet switch:
(Note: the line starting with msiexec must all be on one line)
REM ORIGIN86MSI.BAT vcredist_x86.exe /quiet vcredist_x86_2008.exe /quiet vcredist_x86_2010.exe /quiet vcredist_x64_2008.exe /quiet vcredist_x64_2010.exe /quiet 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:
- preset the User Files Folder to the default path used by Origin 8.6, and
- 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 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:
The examples above include the transform already. To omit the transform, remove the part TRANSFORMS="Origin86MSITransform.Mst"
To uninstall Origin, choose one of the following options:
- Run the Add or Remove Files shortcut in the OriginLab | Origin8.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 Sr1 and select Change,
- Or run the command for the 32-bit MSI:
>msiexec /x "Origin86Setup32Bit.msi"
or the following for the 32-bit and 64-bit MSI:
>msiexec /x "Origin86Setup64and32Bit.msi"