User Tools

Site Tools


userspace:origin

This is an old revision of the document!



This is a master copy. Click on <edit this page> and copy the contents under “snipp”. Then create the page for your own script, paste the content to the editor and modify it as you need it.

Origin Ver. 9.1 MSI Installer

Tested with opsi X.Y.Z
requiredWinstVersion >= W.X.Y.Z
Files can be downloaded at Download here: Download

By <click on the button signature>

Tree:

├── CLIENT_DATA
│   ├── additional
│   │   ├── additional_actions.opsiinc
│   │   ├── additional_sections.opsiinc
│   ├── config.opsiinc
│   ├── delsub.ins
│   ├── files
│   │   ├── MSI
│   │   │   ├── Origin91_x64
│   │   │   │   └── setup.msi
│   │   │   ├── Origin91_x86
│   │   │   │   └── setup.msi
│   │   │   ├── vcreddist_x64_2008_x64
│   │   │   │   ├── vc_red.cab
│   │   │   │   └── vc_red.msi
│   │   │   ├── vcredist_x64-2012_x64
│   │   │   │   ├── vcRuntimeAdditional_amd64
│   │   │   │   │   ├── cab1.cab
│   │   │   │   │   └── vc_runtimeAdditional_x64.msi
│   │   │   │   └── vcRuntimeMinimum_amd64
│   │   │   │       ├── cab1.cab
│   │   │   │       └── vc_runtimeMinimum_x64.msi
│   │   │   ├── vcredist_x86-2008_x86_x64
│   │   │   │   ├── vc_red.cab
│   │   │   │   └── vc_red.msi
│   │   │   └── vcredist_x86-2012_x86_x64
│   │   │       ├── vcRuntimeAdditional_x86
│   │   │       │   ├── cab1.cab
│   │   │       │   └── vc_runtimeAdditional_x86.msi
│   │   │       └── vcRuntimeMinimum_x86
│   │   │           ├── cab1.cab
│   │   │           └── vc_runtimeMinimum_x86.msi
│   │   └── use_server.lic
│   ├── origin9.1.png
│   ├── setup.ins
│   ├── uninstall.ins
│   └── vars.opsiinc
├── OPSI
│   ├── control
│   ├── postinst
│   └── preinst

What you need

  • the MSI Installer from Additive (64bit + 32bit)
  • the MSI files from VISUAL C++ 2012 REDISTRIBUTABLE How to get the MSI Installer:
  • the MSI files from VISUAL C++ 2008 REDISTRIBUTABLE (64bit + 32bit)

Change the following headlines to the names of your scripts

additional_actions.opsiinc

; Insert additional Sektions (only the section name, not the section)
if ($INST_SystemType$ = "x86 System")
	Message "Lizensiere Origin 9.1"
	files_lic_x86
	Message "Installiere benoetigte Laufzeitumgebungen"
	winbatch_vcredist_x86
 
else
	Message "Lizensiere Origin 9.1"
	files_lic_x64
	Message "Installiere benoetigte Laufzeitumgebungen"
	winbatch_vcredist_x64
 
endif

additional_sections.opsiinc

; Insert the section, not the section name !!!
[files_lic_x86]
 copy -s "%ScriptPath%\files\use_server.lic" "%ProgramFilesDir%\Originlab\Origin 9.1\License"
 
[files_lic_x64]
 copy -s "%ScriptPath%\files\use_server.lic" "%ProgramFiles64Dir%\Originlab\Origin 9.1\License"
 
[winbatch_vcredist_x86]
msiexec -i %scriptpath%\files\MSI\vcredist_x86-2008_x86_x64\vc_red.msi -passive
msiexec -i %scriptpath%\files\MSI\vcredist_x86-2012_x86_x64\vcRuntimeMinimum_x86\vc_runtimeMinimum_x86.msi -passive ADDEPLOY=1
msiexec -i %scriptpath%\files\MSI\vcredist_x86-2012_x86_x64\vcRuntimeAdditional_x86\vc_runtimeAdditional_x86.msi -passive ADDEPLOY=1
 
 
[winbatch_vcredist_x64]
msiexec -i %scriptpath%\files\MSI\vcreddist_x64_2008_x64\vc_red.msi -passive
msiexec -i %scriptpath%\files\MSI\vcredist_x86-2008_x86_x64\vc_red.msi -passive
 
msiexec -i %scriptpath%\files\MSI\vcredist_x64-2012_x64\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi -passive ADDEPLOY=1
msiexec -i %scriptpath%\files\MSI\vcredist_x64-2012_x64\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi -passive ADDEPLOY=1
 
msiexec -i %scriptpath%\files\MSI\vcredist_x86-2012_x86_x64\vcRuntimeMinimum_x86\vc_runtimeMinimum_x86.msi -passive ADDEPLOY=1
msiexec -i %scriptpath%\files\MSI\vcredist_x86-2012_x86_x64\vcRuntimeAdditional_x86\vc_runtimeAdditional_x86.msi -passive ADDEPLOY=1

config.opsiinc

click on "edit this page" to see the complete source.

delsub.ins

;this is my vbs-script...
echo click on "edit this page" to see the complete source.

setup.ins

;this is my vbs-script...
echo click on "edit this page" to see the complete source.

uninstall.ins

;this is my vbs-script...
echo click on "edit this page" to see the complete source.

vars.ins

;this is my vbs-script...
echo click on "edit this page" to see the complete source.
userspace/origin.1386921760.txt.gz · Last modified: 2021/08/23 08:37 (external edit)