Origin from OriginLab

Informations

Créateur Messages
Scindix

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 31360
Wine: 1.9.1

Retours d'expérience

Description

Origin from OriginLab is a plotting and analysis software widely used in science. You can enter your measurements, plot and analize them with fit functions that are derived from your theory.

Captures d'écran

MiniatureMiniatureMiniature

Code source

#!/bin/bash
# Date : (2016-01-20 08-09)
# Last revision : (2016-01-20 08-09)
# Wine version used : 1.7.49
# Distribution used to test : Arch Linux (kernel 4.2.5-1)
# Author : Cedric Wehrum
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Origin from OriginLab"
PREFIX="OriginLabOriginPro"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2717
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "OriginLab" "http://www.originlab.com/" "Cedric Wehrum" "$PREFIX"

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
#For me Origin crashes with other versions of wine
POL_Wine_PrefixCreate "1.9.1"
#Components needed according to http://www.originlab.com/forum/topic.asp?TOPIC_ID=10428
#POL_Call POL_Install_vcrun2008 A more recent version is needed, see below
POL_Call POL_Install_corefonts
POL_Call POL_Install_ie8
POL_Call POL_Install_msxml3
POL_Call POL_Install_gdiplus
#I figured this one out on my own. It seems that many things crash without a native msvcr110.dll
POL_Call POL_Install_vcrun2012

POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
# Wait till Origin is installed
POL_Wine_WaitBefore "$TITLE"
# Installing
POL_Wine "$APP_ANSWER"

# Create a shortcut, show the user a message that everything went successfully and exit
POL_Shortcut "Origin[0-9][0-9][0-9][0-9]/Origin*.exe" "$TITLE" "$TITLE.png"
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribuer
Membre Messages
Stitchz Mercredi 21 Novembre 2018 à 13:07
Stitchz Anonymous

Messages

I've been trying to rum Origin lab using Wine for a few years now. While not immediately obvious, there are some problems running this program.

You can easily tell the graphical interface is not running like in Windows, by minimizing any window inside OriginLab. Instead of minimizing to window-like mini-toolbar as it should, in Wine the window minimizes to an icon. Other minor, but eventually use-breaking graphical glitches follow. Is there a solution for this?

Cheers! 

Réponses

Scindix Vendredi 22 Janvier 2016 à 20:45
Scindix

Information

Cette mise à jour a été acceptée par l'équipe

Messages

A Mac user told me that Origin crashes sometimes for her. We fixed the problem by switching to wine 1.9.1
For Linux there's no difference between using 1.8-rc2 and 1.9.1
Therefore I updated the script.

Differences

@@ -19,7 +19,7 @@
 POL_System_SetArch "x86"
 POL_Wine_SelectPrefix "$PREFIX"
 #For me Origin crashes with other versions of wine
-POL_Wine_PrefixCreate "1.8-rc2-staging"
+POL_Wine_PrefixCreate "1.9.1"
 #Components needed according to http://www.originlab.com/forum/topic.asp?TOPIC_ID=10428
 #POL_Call POL_Install_vcrun2008 A more recent version is needed, see below
 POL_Call POL_Install_corefonts

Nouveau code source

#!/bin/bash
# Date : (2016-01-20 08-09)
# Last revision : (2016-01-20 08-09)
# Wine version used : 1.7.49
# Distribution used to test : Arch Linux (kernel 4.2.5-1)
# Author : Cedric Wehrum
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Origin from OriginLab"
PREFIX="OriginLabOriginPro"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2717
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "OriginLab" "http://www.originlab.com/" "Cedric Wehrum" "$PREFIX"

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
#For me Origin crashes with other versions of wine
POL_Wine_PrefixCreate "1.9.1"
#Components needed according to http://www.originlab.com/forum/topic.asp?TOPIC_ID=10428
#POL_Call POL_Install_vcrun2008 A more recent version is needed, see below
POL_Call POL_Install_corefonts
POL_Call POL_Install_ie8
POL_Call POL_Install_msxml3
POL_Call POL_Install_gdiplus
#I figured this one out on my own. It seems that many things crash without a native msvcr110.dll
POL_Call POL_Install_vcrun2012

POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
# Wait till Origin is installed
POL_Wine_WaitBefore "$TITLE"
# Installing
POL_Wine "$APP_ANSWER"

# Create a shortcut, show the user a message that everything went successfully and exit
POL_Shortcut "Origin[0-9][0-9][0-9][0-9]/Origin*.exe" "$TITLE" "$TITLE.png"
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"

POL_SetupWindow_Close
exit

Réponses

Anonymous
Samedi 24 Novembre 2018 à 9:06
The information you have shared with us is really interesting. thanks for publishing. https://www.dollaronewebhosting.com/
Anonymous
Samedi 24 Novembre 2018 à 9:06
The information you have shared with us is really interesting. thanks for publishing. https://www.dollaronewebhosting.com/
Anonymous
Samedi 24 Novembre 2018 à 9:06
The information you have shared with us is really interesting. thanks for publishing. https://www.dollaronewebhosting.com/
petch Jeudi 21 Janvier 2016 à 13:32
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Use graphic resources

Differences

@@ -10,6 +10,7 @@
 TITLE="Origin from OriginLab"
 PREFIX="OriginLabOriginPro"
 
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2717
 POL_Debug_Init
@@ -35,7 +36,7 @@
 POL_Wine "$APP_ANSWER"
 
 # Create a shortcut, show the user a message that everything went successfully and exit
-POL_Shortcut "Origin[0-9][0-9][0-9][0-9]/Origin*.exe" "$TITLE"
+POL_Shortcut "Origin[0-9][0-9][0-9][0-9]/Origin*.exe" "$TITLE" "$TITLE.png"
 POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"
 
 POL_SetupWindow_Close

Nouveau code source

#!/bin/bash
# Date : (2016-01-20 08-09)
# Last revision : (2016-01-20 08-09)
# Wine version used : 1.7.49
# Distribution used to test : Arch Linux (kernel 4.2.5-1)
# Author : Cedric Wehrum
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Origin from OriginLab"
PREFIX="OriginLabOriginPro"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2717
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "OriginLab" "http://www.originlab.com/" "Cedric Wehrum" "$PREFIX"

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
#For me Origin crashes with other versions of wine
POL_Wine_PrefixCreate "1.8-rc2-staging"
#Components needed according to http://www.originlab.com/forum/topic.asp?TOPIC_ID=10428
#POL_Call POL_Install_vcrun2008 A more recent version is needed, see below
POL_Call POL_Install_corefonts
POL_Call POL_Install_ie8
POL_Call POL_Install_msxml3
POL_Call POL_Install_gdiplus
#I figured this one out on my own. It seems that many things crash without a native msvcr110.dll
POL_Call POL_Install_vcrun2012

POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
# Wait till Origin is installed
POL_Wine_WaitBefore "$TITLE"
# Installing
POL_Wine "$APP_ANSWER"

# Create a shortcut, show the user a message that everything went successfully and exit
POL_Shortcut "Origin[0-9][0-9][0-9][0-9]/Origin*.exe" "$TITLE" "$TITLE.png"
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"

POL_SetupWindow_Close
exit

Réponses

Jeudi 21 Janvier 2016 à 14:06
A shit, I think I made a mistake.
When creating the installer the website asked me if "No-cd [is] needed". Of course you don't need a cd as you can only download this program. So I ticked it without realizing that no-cd patches for drm protected software were meant. Now the program doesn't show up until you tick "no-cd needed" in POL. I'm sorry. I'm new to POL scripting. Is there a way to change this property now?
(And same goes for my other script https://www.playonlinux.com/en/app-2716-CassyLab_2.html)
Sorry for the inconvenience!
Jeudi 21 Janvier 2016 à 17:23
I fixed that already when I noticed it, so it should be fine now (maybe after a list refresh)
Jeudi 21 Janvier 2016 à 17:38
I already noticed that. See the comment on the post below ( www.playonlinux.com/de/app-2717-Origin_from_OriginLab.html#expander_rep_4887 )
Jeudi 21 Janvier 2016 à 17:42
Well ok, anchors don't seem to work well on this site, just scroll down a bit. ;-)
Anonymous
Samedi 24 Novembre 2018 à 9:07
[url=http://www.google.com] google[/url]
Scindix Jeudi 21 Janvier 2016 à 12:54
Scindix

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Improvements suggested by petch.

Differences

@@ -0,0 +1,42 @@
+#!/bin/bash
+# Date : (2016-01-20 08-09)
+# Last revision : (2016-01-20 08-09)
+# Wine version used : 1.7.49
+# Distribution used to test : Arch Linux (kernel 4.2.5-1)
+# Author : Cedric Wehrum
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Origin from OriginLab"
+PREFIX="OriginLabOriginPro"
+
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2717
+POL_Debug_Init
+POL_SetupWindow_presentation "$TITLE" "OriginLab" "http://www.originlab.com/" "Cedric Wehrum" "$PREFIX"
+
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "$PREFIX"
+#For me Origin crashes with other versions of wine
+POL_Wine_PrefixCreate "1.8-rc2-staging"
+#Components needed according to http://www.originlab.com/forum/topic.asp?TOPIC_ID=10428
+#POL_Call POL_Install_vcrun2008 A more recent version is needed, see below
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_ie8
+POL_Call POL_Install_msxml3
+POL_Call POL_Install_gdiplus
+#I figured this one out on my own. It seems that many things crash without a native msvcr110.dll
+POL_Call POL_Install_vcrun2012
+
+POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+# Wait till Origin is installed
+POL_Wine_WaitBefore "$TITLE"
+# Installing
+POL_Wine "$APP_ANSWER"
+
+# Create a shortcut, show the user a message that everything went successfully and exit
+POL_Shortcut "Origin[0-9][0-9][0-9][0-9]/Origin*.exe" "$TITLE"
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2016-01-20 08-09)
# Last revision : (2016-01-20 08-09)
# Wine version used : 1.7.49
# Distribution used to test : Arch Linux (kernel 4.2.5-1)
# Author : Cedric Wehrum
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Origin from OriginLab"
PREFIX="OriginLabOriginPro"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2717
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "OriginLab" "http://www.originlab.com/" "Cedric Wehrum" "$PREFIX"

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
#For me Origin crashes with other versions of wine
POL_Wine_PrefixCreate "1.8-rc2-staging"
#Components needed according to http://www.originlab.com/forum/topic.asp?TOPIC_ID=10428
#POL_Call POL_Install_vcrun2008 A more recent version is needed, see below
POL_Call POL_Install_corefonts
POL_Call POL_Install_ie8
POL_Call POL_Install_msxml3
POL_Call POL_Install_gdiplus
#I figured this one out on my own. It seems that many things crash without a native msvcr110.dll
POL_Call POL_Install_vcrun2012

POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
# Wait till Origin is installed
POL_Wine_WaitBefore "$TITLE"
# Installing
POL_Wine "$APP_ANSWER"

# Create a shortcut, show the user a message that everything went successfully and exit
POL_Shortcut "Origin[0-9][0-9][0-9][0-9]/Origin*.exe" "$TITLE"
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"

POL_SetupWindow_Close
exit

Réponses

Jeudi 21 Janvier 2016 à 13:58
I removed the "no-cd patch needed" flag
Jeudi 21 Janvier 2016 à 15:59
Thank you.
Also I'm not sure about the name. I wrote "from OriginLab" to distinct it from EA's Origin that is far more known and could lead to confusion for gamers. However the actual name is just "Origin". I looked over at how the guys from codeweavers handle this and they just put version numbers behind it ( https://www.codeweavers.com/compatibility/search/?name=origin&browse=&app_desc=&company=originlab&rating=&date_start=&date_end=&search=app ). Should we do this to? (i.e. Origin 2015/2016)
I have no knowledge however if this script works for older versions of Origin as I don't have a copy other than 2015/2016. But I guess they should also work fine with it.
Just saying... Do how you think it is the best.

Edité par petch

Scindix Mercredi 20 Janvier 2016 à 11:46
Scindix

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Initial commit. Everything I tested worked with it. Confirmed to work with Linux (latest Arch Linux) and MacOS (unknown version, wasn't my Mac)

Screenshots

Empty document
Autocorrelation function with gauss fit
characteristic curve of a Laser diode (linear fit)

Install resources and images

Left Banner
Top Image
22x22 thumbnail
48x48 thumbnail

Differences

@@ -0,0 +1,45 @@
+#!/bin/bash
+# Date : (2016-01-20 08-09)
+# Last revision : (2016-01-20 08-09)
+# Wine version used : 1.7.49
+# Distribution used to test : Arch Linux (kernel 4.2.5-1)
+# Author : Cedric Wehrum
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="Origin Pro"
+PREFIX="OriginLabOriginPro"
+  
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_SetupWindow_presentation "$TITLE" "OriginLab" "http://www.originlab.com/" "Cedric Wehrum" "$PREFIX"
+ 
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "$PREFIX"
+#For me Origin crashes sometimes with other versions of wine
+POL_Wine_PrefixCreate "1.8-rc2-staging"
+#Components needed according to http://www.originlab.com/forum/topic.asp?TOPIC_ID=10428
+#POL_Call POL_Install_vcrun2008 A more recent version is needed, see below
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_ie8
+POL_Call POL_Install_msxml3
+POL_Call POL_Install_gdiplus
+#I figured this one out on my own. It seems that many things crash without a native msvcr110.dll
+POL_Call POL_Install_vcrun2012
+ 
+POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+# Installing
+POL_Wine start /unix "$APP_ANSWER"
+# Wine returns immediately. So we have to wait for the user to confirm that the installation is over.
+POL_SetupWindow_message "$(eval_gettext 'Please wait while $TITLE is installed.') $(eval_gettext 'Click next when the installer has finished.')" "$TITLE"
+ 
+#Search for the name of the executable as different versions have slightly different names.
+#We are currently in system32, so we have to go up two layers
+cd ./../../
+exeName="$(ls -R | grep ^Origin[0-9]*\.exe$)"
+# Create a shortcut, show the user a message that everything went successfully and exit
+POL_Shortcut "$exeName" "$TITLE"
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"
+  
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2016-01-20 08-09)
# Last revision : (2016-01-20 08-09)
# Wine version used : 1.7.49
# Distribution used to test : Arch Linux (kernel 4.2.5-1)
# Author : Cedric Wehrum
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Origin Pro"
PREFIX="OriginLabOriginPro"
  
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "OriginLab" "http://www.originlab.com/" "Cedric Wehrum" "$PREFIX"
 
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
#For me Origin crashes sometimes with other versions of wine
POL_Wine_PrefixCreate "1.8-rc2-staging"
#Components needed according to http://www.originlab.com/forum/topic.asp?TOPIC_ID=10428
#POL_Call POL_Install_vcrun2008 A more recent version is needed, see below
POL_Call POL_Install_corefonts
POL_Call POL_Install_ie8
POL_Call POL_Install_msxml3
POL_Call POL_Install_gdiplus
#I figured this one out on my own. It seems that many things crash without a native msvcr110.dll
POL_Call POL_Install_vcrun2012
 
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
# Installing
POL_Wine start /unix "$APP_ANSWER"
# Wine returns immediately. So we have to wait for the user to confirm that the installation is over.
POL_SetupWindow_message "$(eval_gettext 'Please wait while $TITLE is installed.') $(eval_gettext 'Click next when the installer has finished.')" "$TITLE"
 
#Search for the name of the executable as different versions have slightly different names.
#We are currently in system32, so we have to go up two layers
cd ./../../
exeName="$(ls -R | grep ^Origin[0-9]*\.exe$)"
# Create a shortcut, show the user a message that everything went successfully and exit
POL_Shortcut "$exeName" "$TITLE"
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"
  
POL_SetupWindow_Close
exit

Réponses

Jeudi 21 Janvier 2016 à 4:52
Hi,
TITLE="Origin Pro"

$TITLE has to match script name in the repository exactly

POL_Wine start /unix "$APP_ANSWER"
# Wine returns immediately. So we have to wait for the user to confirm that the installation is over.
POL_SetupWindow_message "$(eval_gettext 'Please wait while $TITLE is installed.') $(eval_gettext 'Click next when the installer has finished.')" "$TITLE"

Same as in your other script, start /unix is a bad idea in general

cd ./../../
exeName="$(ls -R | grep ^Origin[0-9]*\.exe$)"
# Create a shortcut, show the user a message that everything went successfully and exit
POL_Shortcut "$exeName" "$TITLE"

POL_Shortcut supports fnmatch patterns, so POL_Shortcut "Origin[0-9]*.exe" "$TITLE" should be sufficient
Jeudi 21 Janvier 2016 à 11:44
With POL_Shortcut "Origin[0-9]*.exe" "$TITLE" PlayOnLinux finds "CrashSender1402.exe" in "[...]/Origin2015/32bit"
An asterisk in fnmatch means match anything. However in this case I need "match any sequence of characters from the expression before". The above fnmatch pattern matches "Origin2" because of "Origin[0-9]", "015/32bit/CrashSender1402." because of "*" and "exe" because of "exe".
Please correct me if I'm wrong, but I think that fnmatch is not capable of matching this pattern.
Jeudi 21 Janvier 2016 à 11:58
Errr what a wicked case, yes * in fnmatch (or more precisely in find's -ipath option) matches /s too, so in such case may match unexpected files. Starting with PoL 4.2.9 in case of ambiguity POL_Shortcut will prefer shorter matches hence pick one of the shallowest files, but one may not depend on that yet.
What about Origin[0-9][0-9][0-9][0-9].exe? Or also matching the parent directory name? (even if from what I understand we'll have the same problem matching its name)
I'd still prefer a solution that only uses POL_Shortcut, if possible.
Jeudi 21 Janvier 2016 à 12:51
To be exact I want to match Origin93.exe (the latest version). I'm not sure but I think that older versions may only have one digit (like Origin8.exe) and (near) future versions will definitely have 3 digits (e.g. Origin101.exe)
Origin[0-9][0-9][0-9][0-9].exe won't work because [0-9] matches EXACTLY one number. So in that case "Origin" has to have 4 preceding number digits
Matching the path works for versions 93 and 92 via Origin[0-9][0-9][0-9][0-9]/Origin*.exe
I'm not sure about older versions as I don't have a copy of them (or any future versions for that matter). But I think I take the risk and go for the last one

Edité par Scindix

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com