Вы находитесь здесь

Origin from OriginLab

Informations

Creator Message
Scindix

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 30477
Wine: 1.9.1

Feedbacks

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.

Screenshots

MiniatureMiniatureMiniature

Source code

#!/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:

Contribute
Member Message
Stitchz Wednesday 21 November 2018 at 13:07
Stitchz Anonymous

Message

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! 

Replies

Scindix Friday 22 January 2016 at 20:45
Scindix

Information

This update has been approved by the team.

Message

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

New source code

#!/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

Replies

Anonymous
Saturday 24 November 2018 at 9:06
The information you have shared with us is really interesting. thanks for publishing. https://www.dollaronewebhosting.com/
Anonymous
Saturday 24 November 2018 at 9:06
The information you have shared with us is really interesting. thanks for publishing. https://www.dollaronewebhosting.com/
Anonymous
Saturday 24 November 2018 at 9:06
The information you have shared with us is really interesting. thanks for publishing. https://www.dollaronewebhosting.com/
petch Thursday 21 January 2016 at 13:32
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

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

New source code

#!/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

Replies

Thursday 21 January 2016 at 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!
Thursday 21 January 2016 at 17:23
I fixed that already when I noticed it, so it should be fine now (maybe after a list refresh)
Thursday 21 January 2016 at 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 )
Thursday 21 January 2016 at 17:42
Well ok, anchors don't seem to work well on this site, just scroll down a bit. ;-)
Anonymous
Saturday 24 November 2018 at 9:07
[url=http://www.google.com] google[/url]
Scindix Thursday 21 January 2016 at 12:54
Scindix

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

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

New source code

#!/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

Replies

Thursday 21 January 2016 at 13:58
I removed the "no-cd patch needed" flag
Thursday 21 January 2016 at 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.

Edited by petch

Scindix Wednesday 20 January 2016 at 11:46
Scindix

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

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

New source code

#!/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

Replies

Thursday 21 January 2016 at 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
Thursday 21 January 2016 at 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.
Thursday 21 January 2016 at 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.
Thursday 21 January 2016 at 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

Edited by Scindix