From OriginLab Wiki
|Revision as of 21:33, 13 February 2012 (edit)
Barb (Talk | contribs)
← Previous diff
|Revision as of 21:34, 13 February 2012 (edit) (undo)
Barb (Talk | contribs)
Next diff →
|Line 2:||Line 2:|
|Go back to [[:Category:Multi-user Site Deployment|Multi-user Site Deployment]]||Go back to [[:Category:Multi-user Site Deployment|Multi-user Site Deployment]]|
|OriginLab offers two types of installers, an InstallShield Setup such as provided by the Demo Download process and also on the DVD, and an MSI installer.||OriginLab offers two types of installers, an InstallShield Setup such as provided by the Demo Download process and also on the DVD, and an MSI installer.|
Revision as of 21:34, 13 February 2012
Go back to Multi-user Site Deployment
When Should you use the MSI Installer vs. the InstallShield Setup Installer?
OriginLab offers two types of installers, an InstallShield Setup such as provided by the Demo Download process and also on the DVD, and an MSI installer.
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 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.
Download the MSI 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>"
In the following example using the /passive switch, a sample transform is included. See the Running a Transform section for more information: (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"
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 the Running a Transform section for more information:
(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"