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

CassyLab 2

Informations

Creator Message
Scindix

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 6529
Wine: 1.7.49

Feedbacks

Description

CASSYLab 2 is a program used in science and education to gather measurements and analyze them. Unfortunately the USB components do not work under wine. But it is still usable to view, analyze and export data from CassyLab files. A free test version with a limited function set is available.

Screenshots

MiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2015-12-21 00-20)
# Last revision : (2015-12-21 00-20)
# 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="CassyLab 2"
PREFIX="CASSYLab2"

#Used to determine which file should be downloaded, depending on the preferred language
DOWNLOAD_LANG_CODE=("de" "en" "fr" "es" "pt" "it" "nl" "ru")
DOWNLOAD_HASH=("b3e97b0760ac05dad4ef15e7966cac86" "bb0e7ec6dcf5e94c16102e58101579a0" "983fe20eedc95d689aec1076af5d6fe3" "22846d4e917583683d84083c4ddf8674" "c40e194be08d0f76b99d36102005f84a" "073414ad07562765b75cb87f1cf08c09" "a6cb672946018e972cf87542d3be7c03" "2165fa5eae1c5afe19115292b7a90b95")

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_Debug_Init

POL_SetupWindow_presentation "$TITLE" "LD Didactic" "http://www.ld-didactic.de" "Cedric Wehrum" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
# I think I remember that the software didn't work for me with some older versions of wine. Just to be sure I'm using 1.7.49 which is known to work
POL_Wine_PrefixCreate "1.7.49"
# The most important thing. CASSYLab doesn't work without dotnet 2.0
POL_Call POL_Install_dotnet20

# Either download from the website or use a local file
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    # Installing (It seems that this is one of the rare 5% cases where wine crashes without 'start /unix')
    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_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    # Downloading file
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    # There are different setup files. One for each language. So the user has to choose the language beforehand.
    POL_SetupWindow_menu_num "$(eval_gettext 'Which language version would you like to install?')" "$TITLE" "German~English~French~Spanish~Portuguese~Italian~Dutch~Russian" "~"
    
    POL_Download "http://www.ld-didactic.com/software/cassylab2_${DOWNLOAD_LANG_CODE[APP_ANSWER]}.msi" ${DOWNLOAD_HASH[APP_ANSWER]}
    # Installing (It seems that this is one of the rare 5% cases where wine crashes without 'start /unix')
    POL_Wine start /unix "$POL_System_TmpDir/cassylab2_${DOWNLOAD_LANG_CODE[APP_ANSWER]}.msi"
    # Wine returns immediately. So we have to wait for the user to confirm that the installation is over.
    POL_Wine_WaitExit "$TITLE"
    # Delete downloaded file
    POL_System_TmpDelete
fi

# Create a shortcut, show the user a message that everything went successfully and exit
POL_Shortcut "CASSYLab2.exe" "$TITLE" "$TITLE.png"
POL_SetupWindow_question "$(eval_gettext 'Do you want to open the online manual?')" "$TITLE"
[ "$APP_ANSWER" = "TRUE" ] && POL_Browser "http://www.ld-didactic.de/en/service/software-download/cassylab2.html"
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
petch Thursday 21 January 2016 at 13:49
petch

Information

This update has been approved by the team.

Message

Use graphic resources

Differences

@@ -6,17 +6,18 @@
 # Author : Cedric Wehrum
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-  
+
 TITLE="CassyLab 2"
 PREFIX="CASSYLab2"
-  
+
 #Used to determine which file should be downloaded, depending on the preferred language
 DOWNLOAD_LANG_CODE=("de" "en" "fr" "es" "pt" "it" "nl" "ru")
 DOWNLOAD_HASH=("b3e97b0760ac05dad4ef15e7966cac86" "bb0e7ec6dcf5e94c16102e58101579a0" "983fe20eedc95d689aec1076af5d6fe3" "22846d4e917583683d84083c4ddf8674" "c40e194be08d0f76b99d36102005f84a" "073414ad07562765b75cb87f1cf08c09" "a6cb672946018e972cf87542d3be7c03" "2165fa5eae1c5afe19115292b7a90b95")
-  
+
+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_Debug_Init
-  
+
 POL_SetupWindow_presentation "$TITLE" "LD Didactic" "http://www.ld-didactic.de" "Cedric Wehrum" "$PREFIX"
 
 POL_Wine_SelectPrefix "$PREFIX"
@@ -24,10 +25,10 @@
 POL_Wine_PrefixCreate "1.7.49"
 # The most important thing. CASSYLab doesn't work without dotnet 2.0
 POL_Call POL_Install_dotnet20
-  
+
 # Either download from the website or use a local file
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-  
+
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
@@ -42,7 +43,7 @@
     cd "$POL_System_TmpDir"
     # There are different setup files. One for each language. So the user has to choose the language beforehand.
     POL_SetupWindow_menu_num "$(eval_gettext 'Which language version would you like to install?')" "$TITLE" "German~English~French~Spanish~Portuguese~Italian~Dutch~Russian" "~"
-      
+    
     POL_Download "http://www.ld-didactic.com/software/cassylab2_${DOWNLOAD_LANG_CODE[APP_ANSWER]}.msi" ${DOWNLOAD_HASH[APP_ANSWER]}
     # Installing (It seems that this is one of the rare 5% cases where wine crashes without 'start /unix')
     POL_Wine start /unix "$POL_System_TmpDir/cassylab2_${DOWNLOAD_LANG_CODE[APP_ANSWER]}.msi"
@@ -51,12 +52,12 @@
     # Delete downloaded file
     POL_System_TmpDelete
 fi
-  
+
 # Create a shortcut, show the user a message that everything went successfully and exit
-POL_Shortcut "CASSYLab2.exe" "$TITLE"
+POL_Shortcut "CASSYLab2.exe" "$TITLE" "$TITLE.png"
 POL_SetupWindow_question "$(eval_gettext 'Do you want to open the online manual?')" "$TITLE"
 [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "http://www.ld-didactic.de/en/service/software-download/cassylab2.html"
 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 : (2015-12-21 00-20)
# Last revision : (2015-12-21 00-20)
# 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="CassyLab 2"
PREFIX="CASSYLab2"

#Used to determine which file should be downloaded, depending on the preferred language
DOWNLOAD_LANG_CODE=("de" "en" "fr" "es" "pt" "it" "nl" "ru")
DOWNLOAD_HASH=("b3e97b0760ac05dad4ef15e7966cac86" "bb0e7ec6dcf5e94c16102e58101579a0" "983fe20eedc95d689aec1076af5d6fe3" "22846d4e917583683d84083c4ddf8674" "c40e194be08d0f76b99d36102005f84a" "073414ad07562765b75cb87f1cf08c09" "a6cb672946018e972cf87542d3be7c03" "2165fa5eae1c5afe19115292b7a90b95")

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_Debug_Init

POL_SetupWindow_presentation "$TITLE" "LD Didactic" "http://www.ld-didactic.de" "Cedric Wehrum" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
# I think I remember that the software didn't work for me with some older versions of wine. Just to be sure I'm using 1.7.49 which is known to work
POL_Wine_PrefixCreate "1.7.49"
# The most important thing. CASSYLab doesn't work without dotnet 2.0
POL_Call POL_Install_dotnet20

# Either download from the website or use a local file
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    # Installing (It seems that this is one of the rare 5% cases where wine crashes without 'start /unix')
    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_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    # Downloading file
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    # There are different setup files. One for each language. So the user has to choose the language beforehand.
    POL_SetupWindow_menu_num "$(eval_gettext 'Which language version would you like to install?')" "$TITLE" "German~English~French~Spanish~Portuguese~Italian~Dutch~Russian" "~"
    
    POL_Download "http://www.ld-didactic.com/software/cassylab2_${DOWNLOAD_LANG_CODE[APP_ANSWER]}.msi" ${DOWNLOAD_HASH[APP_ANSWER]}
    # Installing (It seems that this is one of the rare 5% cases where wine crashes without 'start /unix')
    POL_Wine start /unix "$POL_System_TmpDir/cassylab2_${DOWNLOAD_LANG_CODE[APP_ANSWER]}.msi"
    # Wine returns immediately. So we have to wait for the user to confirm that the installation is over.
    POL_Wine_WaitExit "$TITLE"
    # Delete downloaded file
    POL_System_TmpDelete
fi

# Create a shortcut, show the user a message that everything went successfully and exit
POL_Shortcut "CASSYLab2.exe" "$TITLE" "$TITLE.png"
POL_SetupWindow_question "$(eval_gettext 'Do you want to open the online manual?')" "$TITLE"
[ "$APP_ANSWER" = "TRUE" ] && POL_Browser "http://www.ld-didactic.de/en/service/software-download/cassylab2.html"
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"

POL_SetupWindow_Close
exit

Replies

Scindix Thursday 21 January 2016 at 13:39
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,62 @@
+#!/bin/bash
+# Date : (2015-12-21 00-20)
+# Last revision : (2015-12-21 00-20)
+# 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="CassyLab 2"
+PREFIX="CASSYLab2"
+  
+#Used to determine which file should be downloaded, depending on the preferred language
+DOWNLOAD_LANG_CODE=("de" "en" "fr" "es" "pt" "it" "nl" "ru")
+DOWNLOAD_HASH=("b3e97b0760ac05dad4ef15e7966cac86" "bb0e7ec6dcf5e94c16102e58101579a0" "983fe20eedc95d689aec1076af5d6fe3" "22846d4e917583683d84083c4ddf8674" "c40e194be08d0f76b99d36102005f84a" "073414ad07562765b75cb87f1cf08c09" "a6cb672946018e972cf87542d3be7c03" "2165fa5eae1c5afe19115292b7a90b95")
+  
+POL_SetupWindow_Init
+POL_Debug_Init
+  
+POL_SetupWindow_presentation "$TITLE" "LD Didactic" "http://www.ld-didactic.de" "Cedric Wehrum" "$PREFIX"
+
+POL_Wine_SelectPrefix "$PREFIX"
+# I think I remember that the software didn't work for me with some older versions of wine. Just to be sure I'm using 1.7.49 which is known to work
+POL_Wine_PrefixCreate "1.7.49"
+# The most important thing. CASSYLab doesn't work without dotnet 2.0
+POL_Call POL_Install_dotnet20
+  
+# Either download from the website or use a local file
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+  
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+    # Installing (It seems that this is one of the rare 5% cases where wine crashes without 'start /unix')
+    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_Wine_WaitExit "$TITLE"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    # Downloading file
+    POL_System_TmpCreate "$PREFIX"
+    cd "$POL_System_TmpDir"
+    # There are different setup files. One for each language. So the user has to choose the language beforehand.
+    POL_SetupWindow_menu_num "$(eval_gettext 'Which language version would you like to install?')" "$TITLE" "German~English~French~Spanish~Portuguese~Italian~Dutch~Russian" "~"
+      
+    POL_Download "http://www.ld-didactic.com/software/cassylab2_${DOWNLOAD_LANG_CODE[APP_ANSWER]}.msi" ${DOWNLOAD_HASH[APP_ANSWER]}
+    # Installing (It seems that this is one of the rare 5% cases where wine crashes without 'start /unix')
+    POL_Wine start /unix "$POL_System_TmpDir/cassylab2_${DOWNLOAD_LANG_CODE[APP_ANSWER]}.msi"
+    # Wine returns immediately. So we have to wait for the user to confirm that the installation is over.
+    POL_Wine_WaitExit "$TITLE"
+    # Delete downloaded file
+    POL_System_TmpDelete
+fi
+  
+# Create a shortcut, show the user a message that everything went successfully and exit
+POL_Shortcut "CASSYLab2.exe" "$TITLE"
+POL_SetupWindow_question "$(eval_gettext 'Do you want to open the online manual?')" "$TITLE"
+[ "$APP_ANSWER" = "TRUE" ] && POL_Browser "http://www.ld-didactic.de/en/service/software-download/cassylab2.html"
+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 : (2015-12-21 00-20)
# Last revision : (2015-12-21 00-20)
# 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="CassyLab 2"
PREFIX="CASSYLab2"
  
#Used to determine which file should be downloaded, depending on the preferred language
DOWNLOAD_LANG_CODE=("de" "en" "fr" "es" "pt" "it" "nl" "ru")
DOWNLOAD_HASH=("b3e97b0760ac05dad4ef15e7966cac86" "bb0e7ec6dcf5e94c16102e58101579a0" "983fe20eedc95d689aec1076af5d6fe3" "22846d4e917583683d84083c4ddf8674" "c40e194be08d0f76b99d36102005f84a" "073414ad07562765b75cb87f1cf08c09" "a6cb672946018e972cf87542d3be7c03" "2165fa5eae1c5afe19115292b7a90b95")
  
POL_SetupWindow_Init
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "LD Didactic" "http://www.ld-didactic.de" "Cedric Wehrum" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
# I think I remember that the software didn't work for me with some older versions of wine. Just to be sure I'm using 1.7.49 which is known to work
POL_Wine_PrefixCreate "1.7.49"
# The most important thing. CASSYLab doesn't work without dotnet 2.0
POL_Call POL_Install_dotnet20
  
# Either download from the website or use a local file
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
  
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    # Installing (It seems that this is one of the rare 5% cases where wine crashes without 'start /unix')
    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_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    # Downloading file
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    # There are different setup files. One for each language. So the user has to choose the language beforehand.
    POL_SetupWindow_menu_num "$(eval_gettext 'Which language version would you like to install?')" "$TITLE" "German~English~French~Spanish~Portuguese~Italian~Dutch~Russian" "~"
      
    POL_Download "http://www.ld-didactic.com/software/cassylab2_${DOWNLOAD_LANG_CODE[APP_ANSWER]}.msi" ${DOWNLOAD_HASH[APP_ANSWER]}
    # Installing (It seems that this is one of the rare 5% cases where wine crashes without 'start /unix')
    POL_Wine start /unix "$POL_System_TmpDir/cassylab2_${DOWNLOAD_LANG_CODE[APP_ANSWER]}.msi"
    # Wine returns immediately. So we have to wait for the user to confirm that the installation is over.
    POL_Wine_WaitExit "$TITLE"
    # Delete downloaded file
    POL_System_TmpDelete
fi
  
# Create a shortcut, show the user a message that everything went successfully and exit
POL_Shortcut "CASSYLab2.exe" "$TITLE"
POL_SetupWindow_question "$(eval_gettext 'Do you want to open the online manual?')" "$TITLE"
[ "$APP_ANSWER" = "TRUE" ] && POL_Browser "http://www.ld-didactic.de/en/service/software-download/cassylab2.html"
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"
  
POL_SetupWindow_Close
exit

Replies

Scindix Wednesday 20 January 2016 at 11:37
Scindix

Warning

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

Message

Initial commit. Note that some analyzing functions crash. But the program is the only way to read data in CassyLab 2 files. So this might be still crucial for some people (including me).

Screenshots

http://postimg.org/image/lpz013unn/

http://postimg.org/image/7kt6zalmb/

http://postimg.org/image/42h72wkqb/

Install resources and images

22x22: http://s5.postimg.org/wunymdsdv/CASSYLab2_22x22.png

48x48: http://s5.postimg.org/e125pdu5v/CASSYLab2_48x48.png

left: http://postimg.org/image/4x3qoxskz/

top: http://s5.postimg.org/46b0j5q7n/top.png

Differences

@@ -0,0 +1,59 @@
+#!/bin/bash
+# Date : (2015-12-21 00-20)
+# Last revision : (2015-12-21 00-20)
+# 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="CASSYLab 2"
+PREFIX="CASSYLab2"
+ 
+#Used to determine which file should be downloaded, depending on the preferred language
+DOWNLOAD_LANG_CODE=("de" "en" "fr" "es" "pt" "it" "nl" "ru")
+DOWNLOAD_HASH=("b3e97b0760ac05dad4ef15e7966cac86" "bb0e7ec6dcf5e94c16102e58101579a0" "983fe20eedc95d689aec1076af5d6fe3" "22846d4e917583683d84083c4ddf8674" "c40e194be08d0f76b99d36102005f84a" "073414ad07562765b75cb87f1cf08c09" "a6cb672946018e972cf87542d3be7c03" "2165fa5eae1c5afe19115292b7a90b95")
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "LD Didactic" "http://www.ld-didactic.de" "Cedric Wehrum" "$PREFIX"
+ 
+# I think I remember that the software didn't work for me with some older versions of wine. Just to be sure I'm using 1.7.49 which is known to work
+POL_Wine_PrefixCreate "1.7.49"
+# The most important thing. CASSYLab doesn't work without dotnet 2.0
+POL_Call POL_Install_dotnet20
+ 
+# Either download from the website or use a local file
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+ 
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    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"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    # Downloading file
+    POL_System_TmpCreate "$PREFIX"
+    cd "$POL_System_TmpDir"
+    # There are different setup files. One for each language. So the user has to choose the language beforehand.
+    POL_SetupWindow_menu_num "$(eval_gettext 'Which language version would you like to install?')" "$TITLE" "German~English~French~Spanish~Portuguese~Italian~Dutch~Russian" "~"
+     
+    POL_Download "http://www.ld-didactic.com/software/cassylab2_${DOWNLOAD_LANG_CODE[APP_ANSWER]}.msi" ${DOWNLOAD_HASH[APP_ANSWER]}
+    # Installing
+    POL_Wine start /unix "$POL_System_TmpDir/cassylab2_${DOWNLOAD_LANG_CODE[APP_ANSWER]}.msi"
+    # 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"
+    # Delete downloaded file
+    POL_System_TmpDelete
+fi
+ 
+# Create a shortcut, show the user a message that everything went successfully and exit
+POL_Shortcut "CASSYLab2.exe" "$TITLE"
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.') $(eval_gettext 'Visit http://www.ld-didactic.de/en/service/software-download/cassylab2.html for the manual')" "$TITLE"
+ 
+POL_SetupWindow_Close
+exit

New source code

#!/bin/bash
# Date : (2015-12-21 00-20)
# Last revision : (2015-12-21 00-20)
# 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="CASSYLab 2"
PREFIX="CASSYLab2"
 
#Used to determine which file should be downloaded, depending on the preferred language
DOWNLOAD_LANG_CODE=("de" "en" "fr" "es" "pt" "it" "nl" "ru")
DOWNLOAD_HASH=("b3e97b0760ac05dad4ef15e7966cac86" "bb0e7ec6dcf5e94c16102e58101579a0" "983fe20eedc95d689aec1076af5d6fe3" "22846d4e917583683d84083c4ddf8674" "c40e194be08d0f76b99d36102005f84a" "073414ad07562765b75cb87f1cf08c09" "a6cb672946018e972cf87542d3be7c03" "2165fa5eae1c5afe19115292b7a90b95")
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "LD Didactic" "http://www.ld-didactic.de" "Cedric Wehrum" "$PREFIX"
 
# I think I remember that the software didn't work for me with some older versions of wine. Just to be sure I'm using 1.7.49 which is known to work
POL_Wine_PrefixCreate "1.7.49"
# The most important thing. CASSYLab doesn't work without dotnet 2.0
POL_Call POL_Install_dotnet20
 
# Either download from the website or use a local file
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    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"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    # Downloading file
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    # There are different setup files. One for each language. So the user has to choose the language beforehand.
    POL_SetupWindow_menu_num "$(eval_gettext 'Which language version would you like to install?')" "$TITLE" "German~English~French~Spanish~Portuguese~Italian~Dutch~Russian" "~"
     
    POL_Download "http://www.ld-didactic.com/software/cassylab2_${DOWNLOAD_LANG_CODE[APP_ANSWER]}.msi" ${DOWNLOAD_HASH[APP_ANSWER]}
    # Installing
    POL_Wine start /unix "$POL_System_TmpDir/cassylab2_${DOWNLOAD_LANG_CODE[APP_ANSWER]}.msi"
    # 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"
    # Delete downloaded file
    POL_System_TmpDelete
fi
 
# Create a shortcut, show the user a message that everything went successfully and exit
POL_Shortcut "CASSYLab2.exe" "$TITLE"
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.') $(eval_gettext 'Visit http://www.ld-didactic.de/en/service/software-download/cassylab2.html for the manual')" "$TITLE"
 
POL_SetupWindow_Close
exit

Replies

Thursday 21 January 2016 at 4:41
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"

start /unix is not needed 95% of the time, and has the side effect of making POL_Wine asynchronous, as you noticed. Try to remove it, and then you can use POL_Wine_WaitBefore "$TITLE" or POL_Wine_WaitExit "$TITLE" to get a standard waiting message.
See the discussion in http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_11:_List_of_Functions#POL_Wine_.284.0.2B.29

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.') $(eval_gettext 'Visit http://www.ld-didactic.de/en/service/software-download/cassylab2.html for the manual')" "$TITLE"

POL_SetupWindow_message won't make the URL clickable, it may be better do something like

POL_SetupWindow_question "$(eval_gettext 'Do you want to open the online manual?')" "$TITLE"
[ "$APP_ANSWER" = "TRUE" ] && POL_Browser "http://www.ld-didactic.de/en/service/software-download/cassylab2.html"
Thursday 21 January 2016 at 4:44
TITLE="CASSYLab 2"
Also $TITLE has to match the script name in the repository exactly, including the case (that's a requirement of the embedded debugger so that bug reports are send correctly)

Edited by Scindix