SchILD-NRW

Informations

Creator Message
plata
Developer

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 266
Wine: System

Feedbacks

Description

SchILD-NRW is a tool which is used by teachers in North Rhine-Westphalia, Germany to manage their student's grades.

This installation containes the SchILD-NRW basic installation including the ExtNotMod module and the SchILD-NRW tools.

Source code

#!/bin/bash
# Date : (2016-01-17 12:17)
# Last revision : (2016-01-17 12:17)
# Wine version used : 1.6.2
# Distribution used to test : Linux Mint 17.3
# Author : plata

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="SchILD-NRW"
PREFIX="SchildNrw"
EDITOR="Schulverwaltung NRW"
URL="https://www.svws.nrw.de/index.php?id=schildnrw"
AUTHOR="plata"

POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$URL" "$AUTHOR" "$PREFIX"
 
POL_System_TmpCreate "$PREFIX"

#select installation method
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "https://www.svws.nrw.de/uploads/media/SchILDBasisSetup.exe"
    INSTALLER="$POL_System_TmpDir/SchILDBasisSetup.exe"
fi
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

#install dependencies
POL_Call POL_Install_mdac28
POL_Call POL_Install_msls31
POL_Call POL_Install_riched30
POL_Call POL_Install_vbrun6

#fetch required dlls
cd "$WINEPREFIX/drive_c/windows/system32"
POL_Download "http://schulverwaltungsprogramme.msw.nrw.de/download/EncodeClasses2.dll" "d63af4460b2584e950c6dd1cc4d7fdf8"
POL_Download "http://dllfiles.free.fr/dllfiles/fontsub.dll" "c0b6227dfa048a3ba6cad00304ea8b09"
 
#install program
POL_SetupWindow_message "$(eval_gettext 'NOTICE: Change installation path to C:\ and ignore possible dll error messages.')" "$TITLE"
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed...')"
POL_Wine "$INSTALLER"
 
POL_System_TmpDelete
 
POL_Shortcut "ExtNotMod.exe" "$TITLE"

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$(eval_gettext '$TITLE installation finished')"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
Dadu042 Friday 2 August 2019 at 20:43
Dadu042
Moderator

Message

Note: the POL_Download link is dead (URL has changed).

Replies

plata Sunday 17 April 2016 at 13:42
plata
Developer

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,64 @@
+#!/bin/bash
+# Date : (2016-01-17 12:17)
+# Last revision : (2016-01-17 12:17)
+# Wine version used : 1.6.2
+# Distribution used to test : Linux Mint 17.3
+# Author : plata
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="SchILD-NRW"
+PREFIX="SchildNrw"
+EDITOR="Schulverwaltung NRW"
+URL="https://www.svws.nrw.de/index.php?id=schildnrw"
+AUTHOR="plata"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$URL" "$AUTHOR" "$PREFIX"
+ 
+POL_System_TmpCreate "$PREFIX"
+
+#select installation method
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+ 
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "https://www.svws.nrw.de/uploads/media/SchILDBasisSetup.exe"
+    INSTALLER="$POL_System_TmpDir/SchILDBasisSetup.exe"
+fi
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate
+
+#install dependencies
+POL_Call POL_Install_mdac28
+POL_Call POL_Install_msls31
+POL_Call POL_Install_riched30
+POL_Call POL_Install_vbrun6
+
+#fetch required dlls
+cd "$WINEPREFIX/drive_c/windows/system32"
+POL_Download "http://schulverwaltungsprogramme.msw.nrw.de/download/EncodeClasses2.dll" "d63af4460b2584e950c6dd1cc4d7fdf8"
+POL_Download "http://dllfiles.free.fr/dllfiles/fontsub.dll" "c0b6227dfa048a3ba6cad00304ea8b09"
+ 
+#install program
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: Change installation path to C:\ and ignore possible dll error messages.')" "$TITLE"
+POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed...')"
+POL_Wine "$INSTALLER"
+ 
+POL_System_TmpDelete
+ 
+POL_Shortcut "ExtNotMod.exe" "$TITLE"
+
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$(eval_gettext '$TITLE installation finished')"
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2016-01-17 12:17)
# Last revision : (2016-01-17 12:17)
# Wine version used : 1.6.2
# Distribution used to test : Linux Mint 17.3
# Author : plata

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="SchILD-NRW"
PREFIX="SchildNrw"
EDITOR="Schulverwaltung NRW"
URL="https://www.svws.nrw.de/index.php?id=schildnrw"
AUTHOR="plata"

POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$URL" "$AUTHOR" "$PREFIX"
 
POL_System_TmpCreate "$PREFIX"

#select installation method
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "https://www.svws.nrw.de/uploads/media/SchILDBasisSetup.exe"
    INSTALLER="$POL_System_TmpDir/SchILDBasisSetup.exe"
fi
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

#install dependencies
POL_Call POL_Install_mdac28
POL_Call POL_Install_msls31
POL_Call POL_Install_riched30
POL_Call POL_Install_vbrun6

#fetch required dlls
cd "$WINEPREFIX/drive_c/windows/system32"
POL_Download "http://schulverwaltungsprogramme.msw.nrw.de/download/EncodeClasses2.dll" "d63af4460b2584e950c6dd1cc4d7fdf8"
POL_Download "http://dllfiles.free.fr/dllfiles/fontsub.dll" "c0b6227dfa048a3ba6cad00304ea8b09"
 
#install program
POL_SetupWindow_message "$(eval_gettext 'NOTICE: Change installation path to C:\ and ignore possible dll error messages.')" "$TITLE"
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed...')"
POL_Wine "$INSTALLER"
 
POL_System_TmpDelete
 
POL_Shortcut "ExtNotMod.exe" "$TITLE"

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$(eval_gettext '$TITLE installation finished')"

POL_SetupWindow_Close
exit

Replies

Friday 2 August 2019 at 20:42
Approved.