User Tools

Site Tools


userspace:origin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userspace:origin [2013/12/13 08:05]
tobias [setup.ins]
userspace:origin [2021/08/23 08:37] (current)
Line 1: Line 1:
-\\ 
-**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 ====== ====== Origin Ver. 9.1 MSI Installer ======
  
  
-Tested with opsi X.Y.Z\\ +
-requiredWinstVersion >= W.X.Y.Z\\+
 Files can be downloaded at Download here: [[http://www.originlab.com/index.aspx?go=products&pid=1852|Download]] Files can be downloaded at Download here: [[http://www.originlab.com/index.aspx?go=products&pid=1852|Download]]
  
-By  <click on the button signature> +By   --- //[[tobias.friede@wki.fraunhofer.de|tobias]] 2013/12/13 09:08//
  
 Tree:\\ Tree:\\
Line 58: Line 54:
 ==== What you need ==== ==== What you need ====
   *the MSI Installer from Additive (64bit + 32bit)   *the MSI Installer from Additive (64bit + 32bit)
-  *the MSI files from VISUAL C++ 2012 REDISTRIBUTABLE [[http://http://www.applepie.se/extract-msi-from-visual-c-2012-redistributable|How to get the MSI Installer:]]+  *the MSI files from VISUAL C++ 2012 REDISTRIBUTABLE (64bit + 32bit) [[http://http://www.applepie.se/extract-msi-from-visual-c-2012-redistributable|How to get the MSI Installer:]]
   *the MSI files from VISUAL C++ 2008 REDISTRIBUTABLE (64bit + 32bit)   *the MSI files from VISUAL C++ 2008 REDISTRIBUTABLE (64bit + 32bit)
  
  
-[[nix|Change the following headlines to the names of your scripts]] 
  
 ==== additional_actions.opsiinc ==== ==== additional_actions.opsiinc ====
Line 445: Line 440:
 ==== uninstall.ins ==== ==== uninstall.ins ====
 <code winst> <code winst>
-;this is my vbs-script... +[Actions] 
-echo click on "edit this pageto see the complete source.+ 
 +SetLogLevel=6 
 + 
 +requiredWinstVersion >= "4.10.8.6" 
 + 
 +include_insert "%scriptpath%\vars.opsiinc" 
 +include_insert "%scriptpath%\config.opsiinc" 
 + 
 +comment "Show product picture" 
 +ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$ 
 +  
 + 
 + 
 +comment "Remove MSI from System" 
 + 
 +if ($INST_SystemType$ = "x86 System"
 +    for %s% in $installed_MSI_32$ do sub_open_dellsub 
 + 
 +else 
 + 
 +    for %s% in $installed_MSI_64$ do sub_open_dellsub 
 + 
 +endif 
 + 
 +for %s% in $installed_MSI_Both$ do sub_open_dellsub 
 + 
 + 
 + 
 +[sub_open_dellsub] 
 +set $ID$ = "%s%" 
 +Sub "%ScriptPath%\delsub.ins"
 </code> </code>
  
 ==== vars.ins ==== ==== vars.ins ====
 <code winst> <code winst>
-;this is my vbs-script... + 
-echo click on "edit this page" to see the complete source.+; ---------------------------------------------------------------- 
 +; - DefVar / DefString  
 +; ---------------------------------------------------------------- 
 + 
 +DefVar $MsiId32$ 
 +DefVar $MsiId64$ 
 +DefVar $LogDir$ 
 +DefVar $ProductId$   
 +DefVar $MinimumSpace$ 
 +DefVar $InstallDir32$ 
 +DefVar $InstallDir64$ 
 +DefVar $ExitCode$ 
 +DefVar $INST_SystemType$ 
 +DefVar $INST_architecture$ 
 +DefVar $setupcommand32$ 
 +DefVar $setupcommand64$ 
 +DefVar $ID$ 
 +DefVar $subvar$ 
 +DefVar $killtask$ 
 +DefVar $checktask$ 
 + 
 + 
 +DefStringList $MSI_32$ 
 +DefStringList $MSI_64$ 
 +DefStringList $MSI_Both$ 
 +DefStringlist $installed_MSI_Both$ 
 +DefStringList $installed_MSI_32$ 
 +DefStringList $installed_MSI_64$ 
 +DefStringList $processlist$ 
 +DefStringList $process$ 
 +DefStringList $process_unquote$ 
 +DefStringList $SearchProcess$ 
 +DefStringList $currentchecktask$ 
 +DefStringList $processVAR$ 
 + 
 </code> </code>
userspace/origin.1386921946.txt.gz · Last modified: 2021/08/23 08:37 (external edit)