WTW Instant Messenger

Informations

Creator Message
odziom91

Warning

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

Informations

Platforms:
Downloads: 6197
Wine: 1.7.21

Feedbacks

Description

English:
WTW Instant Messenger installer. WTW support IM protocols like: Gadu-Gadu, Tlen/02, XMPP, Facebook Chat, and more with 3rd party plugins (ex. Skype)

Polski:
Instalator multikomunikatora WTW. WTW obsługuje protokoły komunikacji takie jak: Gadu-Gadu, Tlen/O2, XMPP, Czat Facebooka i inne przy pomocy dodatkowych wtyczek.
 

Source code

#!/bin/bash
# Changelog:
# (2014-07-06 00:50) - code standarization, initializing debug, add information
#                      about licence, add information in English
# (2014-07-06 13:33) - correct English translation, delete Polish section
# (2014-07-06 13:50) - code standarization (eval_gettext)
# (2014-07-06 15:20) - delete last window, replace POL_SetupWindow_wait_next_signal
#                      to POL_Wine_WaitBefore, delete POL_SetupWindow_detect_exit
#
# Date : (2014-07-06 15-30)
# Last revision : (2014-07-06 15-30)
# Wine version used : 1.7.21
# Distribution used to test : Linux Mint 17 "Qiana"
# Author : OdzioM
# Licence : Freeware
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="WTW"
PREFIX="WTWLinux"
WORKING_WINE_VERSION="1.7.21"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Tomek Nagisa (Kaworu)" "http://wtw.im/" "OdzioM" "$PREFIX"
 
POL_System_TmpCreate "WTWim"
cd "$POL_System_TmpDir"

POL_Download "http://download.k2t.eu/wtwInst/wtw-setup-web.exe"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_SetupWindow_message "$(eval_gettext "After WTW instalation uncheck Run option in last window.\nDon't run a messenger, because it will won't work correctly.")" "$(eval_gettext 'Warning')"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$POL_System_TmpDir/wtw-setup-web.exe"
 
POL_Call POL_Install_tahoma
POL_Call POL_Install_corefonts
POL_Call POL_Install_dsound
POL_Call POL_Install_ie8
 
POL_Shortcut "wtw.exe" "$TITLE"
 
POL_System_TmpDelete
 
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
petch Monday 16 November 2015 at 22:21
petch
Developer

Information

This update has been approved by the team.

Message

Use installer full path

Differences

@@ -37,7 +37,7 @@
 POL_SetupWindow_message "$(eval_gettext "After WTW instalation uncheck Run option in last window.\nDon't run a messenger, because it will won't work correctly.")" "$(eval_gettext 'Warning')"
 
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine "wtw-setup-web.exe"
+POL_Wine "$POL_System_TmpDir/wtw-setup-web.exe"
  
 POL_Call POL_Install_tahoma
 POL_Call POL_Install_corefonts

New source code

#!/bin/bash
# Changelog:
# (2014-07-06 00:50) - code standarization, initializing debug, add information
#                      about licence, add information in English
# (2014-07-06 13:33) - correct English translation, delete Polish section
# (2014-07-06 13:50) - code standarization (eval_gettext)
# (2014-07-06 15:20) - delete last window, replace POL_SetupWindow_wait_next_signal
#                      to POL_Wine_WaitBefore, delete POL_SetupWindow_detect_exit
#
# Date : (2014-07-06 15-30)
# Last revision : (2014-07-06 15-30)
# Wine version used : 1.7.21
# Distribution used to test : Linux Mint 17 "Qiana"
# Author : OdzioM
# Licence : Freeware
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="WTW"
PREFIX="WTWLinux"
WORKING_WINE_VERSION="1.7.21"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Tomek Nagisa (Kaworu)" "http://wtw.im/" "OdzioM" "$PREFIX"
 
POL_System_TmpCreate "WTWim"
cd "$POL_System_TmpDir"

POL_Download "http://download.k2t.eu/wtwInst/wtw-setup-web.exe"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_SetupWindow_message "$(eval_gettext "After WTW instalation uncheck Run option in last window.\nDon't run a messenger, because it will won't work correctly.")" "$(eval_gettext 'Warning')"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$POL_System_TmpDir/wtw-setup-web.exe"
 
POL_Call POL_Install_tahoma
POL_Call POL_Install_corefonts
POL_Call POL_Install_dsound
POL_Call POL_Install_ie8
 
POL_Shortcut "wtw.exe" "$TITLE"
 
POL_System_TmpDelete
 
POL_SetupWindow_Close
exit

Replies

odziom91 Sunday 6 July 2014 at 15:32
odziom91

Warning

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

Differences

@@ -0,0 +1,52 @@
+#!/bin/bash
+# Changelog:
+# (2014-07-06 00:50) - code standarization, initializing debug, add information
+#                      about licence, add information in English
+# (2014-07-06 13:33) - correct English translation, delete Polish section
+# (2014-07-06 13:50) - code standarization (eval_gettext)
+# (2014-07-06 15:20) - delete last window, replace POL_SetupWindow_wait_next_signal
+#                      to POL_Wine_WaitBefore, delete POL_SetupWindow_detect_exit
+#
+# Date : (2014-07-06 15-30)
+# Last revision : (2014-07-06 15-30)
+# Wine version used : 1.7.21
+# Distribution used to test : Linux Mint 17 "Qiana"
+# Author : OdzioM
+# Licence : Freeware
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="WTW"
+PREFIX="WTWLinux"
+WORKING_WINE_VERSION="1.7.21"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "Tomek Nagisa (Kaworu)" "http://wtw.im/" "OdzioM" "$PREFIX"
+ 
+POL_System_TmpCreate "WTWim"
+cd "$POL_System_TmpDir"
+
+POL_Download "http://download.k2t.eu/wtwInst/wtw-setup-web.exe"
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+ 
+POL_SetupWindow_message "$(eval_gettext "After WTW instalation uncheck Run option in last window.\nDon't run a messenger, because it will won't work correctly.")" "$(eval_gettext 'Warning')"
+
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine "wtw-setup-web.exe"
+ 
+POL_Call POL_Install_tahoma
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_dsound
+POL_Call POL_Install_ie8
+ 
+POL_Shortcut "wtw.exe" "$TITLE"
+ 
+POL_System_TmpDelete
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Changelog:
# (2014-07-06 00:50) - code standarization, initializing debug, add information
#                      about licence, add information in English
# (2014-07-06 13:33) - correct English translation, delete Polish section
# (2014-07-06 13:50) - code standarization (eval_gettext)
# (2014-07-06 15:20) - delete last window, replace POL_SetupWindow_wait_next_signal
#                      to POL_Wine_WaitBefore, delete POL_SetupWindow_detect_exit
#
# Date : (2014-07-06 15-30)
# Last revision : (2014-07-06 15-30)
# Wine version used : 1.7.21
# Distribution used to test : Linux Mint 17 "Qiana"
# Author : OdzioM
# Licence : Freeware
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="WTW"
PREFIX="WTWLinux"
WORKING_WINE_VERSION="1.7.21"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Tomek Nagisa (Kaworu)" "http://wtw.im/" "OdzioM" "$PREFIX"
 
POL_System_TmpCreate "WTWim"
cd "$POL_System_TmpDir"

POL_Download "http://download.k2t.eu/wtwInst/wtw-setup-web.exe"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_SetupWindow_message "$(eval_gettext "After WTW instalation uncheck Run option in last window.\nDon't run a messenger, because it will won't work correctly.")" "$(eval_gettext 'Warning')"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "wtw-setup-web.exe"
 
POL_Call POL_Install_tahoma
POL_Call POL_Install_corefonts
POL_Call POL_Install_dsound
POL_Call POL_Install_ie8
 
POL_Shortcut "wtw.exe" "$TITLE"
 
POL_System_TmpDelete
 
POL_SetupWindow_Close
exit

Replies

odziom91 Sunday 6 July 2014 at 15:23
odziom91

Warning

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

Differences

@@ -0,0 +1,53 @@
+#!/bin/bash
+# Changelog:
+# (2014-07-06 00:50) - code standarization, initializing debug, add information
+#                      about licence, add information in English
+# (2014-07-06 13:33) - correct English translation, delete Polish section
+# (2014-07-06 13:50) - code standarization (eval_gettext)
+#
+# Date : (2014-07-06 15-20)
+# Last revision : (2014-07-06 13-33)
+# Wine version used : 1.7.21
+# Distribution used to test : Linux Mint 17 "Qiana"
+# Author : OdzioM
+# Licence : Freeware
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="WTW"
+PREFIX="WTWLinux"
+WORKING_WINE_VERSION="1.7.21"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "Tomek Nagisa (Kaworu)" "http://wtw.im/" "OdzioM" "$PREFIX"
+ 
+POL_System_TmpCreate "WTWim"
+cd "$POL_System_TmpDir"
+
+POL_Download "http://download.k2t.eu/wtwInst/wtw-setup-web.exe"
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+ 
+POL_SetupWindow_message "$(eval_gettext "After WTW instalation uncheck Run option in last window.\nDon't run a messenger, because it will won't work correctly.")" "$(eval_gettext 'Warning')"
+
+POL_SetupWindow_wait_next_signal "$(eval_gettext 'Please wait while $TITLE is installed.')" "$(eval_gettext 'Please wait while $TITLE is installed.')"
+POL_Wine "wtw-setup-web.exe"
+POL_SetupWindow_detect_exit
+ 
+POL_Call POL_Install_tahoma
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_dsound
+POL_Call POL_Install_ie8
+ 
+POL_Shortcut "wtw.exe" "$TITLE"
+ 
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$(eval_gettext '$TITLE has been successfully installed.')"
+ 
+POL_System_TmpDelete
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Changelog:
# (2014-07-06 00:50) - code standarization, initializing debug, add information
#                      about licence, add information in English
# (2014-07-06 13:33) - correct English translation, delete Polish section
# (2014-07-06 13:50) - code standarization (eval_gettext)
#
# Date : (2014-07-06 15-20)
# Last revision : (2014-07-06 13-33)
# Wine version used : 1.7.21
# Distribution used to test : Linux Mint 17 "Qiana"
# Author : OdzioM
# Licence : Freeware
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="WTW"
PREFIX="WTWLinux"
WORKING_WINE_VERSION="1.7.21"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Tomek Nagisa (Kaworu)" "http://wtw.im/" "OdzioM" "$PREFIX"
 
POL_System_TmpCreate "WTWim"
cd "$POL_System_TmpDir"

POL_Download "http://download.k2t.eu/wtwInst/wtw-setup-web.exe"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_SetupWindow_message "$(eval_gettext "After WTW instalation uncheck Run option in last window.\nDon't run a messenger, because it will won't work correctly.")" "$(eval_gettext 'Warning')"

POL_SetupWindow_wait_next_signal "$(eval_gettext 'Please wait while $TITLE is installed.')" "$(eval_gettext 'Please wait while $TITLE is installed.')"
POL_Wine "wtw-setup-web.exe"
POL_SetupWindow_detect_exit
 
POL_Call POL_Install_tahoma
POL_Call POL_Install_corefonts
POL_Call POL_Install_dsound
POL_Call POL_Install_ie8
 
POL_Shortcut "wtw.exe" "$TITLE"
 
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$(eval_gettext '$TITLE has been successfully installed.')"
 
POL_System_TmpDelete
 
POL_SetupWindow_Close
exit

Replies

Sunday 6 July 2014 at 15:24
You should replace this line 37 with POL_Wine_WaitBefore "$TITLE" and remove the line 39. Line 48 is also useless
odziom91 Sunday 6 July 2014 at 13:55
odziom91

Warning

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

Differences

@@ -0,0 +1,55 @@
+#!/bin/bash
+# Changelog:
+# (2014-07-06 00:50) - code standarization, initializing debug, add information
+#                      about licence, add information in English
+# (2014-07-06 13:33) - correct English translation, delete Polish section
+#
+# Date : (2014-07-06 13-50)
+# Last revision : (2014-07-06 13-33)
+# Wine version used : 1.7.21
+# Distribution used to test : Linux Mint 17 "Qiana"
+# Author : OdzioM
+# Licence : Freeware
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="WTW"
+PREFIX="WTWLinux"
+WORKING_WINE_VERSION="1.7.21"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Tomek Nagisa (Kaworu)" "http://wtw.im/" "OdzioM" "$PREFIX"
+
+POL_System_TmpCreate "WTWim"
+cd "$POL_System_TmpDir"
+
+POL_SetupWindow_wait "Download WTW..." "Step 1"
+POL_Download "http://download.k2t.eu/wtwInst/wtw-setup-web.exe"
+
+POL_SetupWindow_wait "Create WTWLinux prefix..." "Step 2"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+
+POL_SetupWindow_message "After WTW instalation uncheck Run option in last window!\n\n!!! DON'T RUN A MESSENGER!!!" "WARNING!!!"
+
+POL_SetupWindow_wait_next_signal "Install WTW..." "Step 3"
+POL_Wine "wtw-setup-web.exe"
+POL_SetupWindow_detect_exit
+
+POL_Call POL_Install_tahoma
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_ie8
+POL_Call POL_Install_dsound
+
+POL_Shortcut "wtw.exe" "$TITLE"
+
+POL_SetupWindow_message "Installation successfully complete. To start a Messenger please run it from icon on your desktop.\n\nWTW - the worst messenger ever ;)" "$TITLE installation complete!"
+
+POL_System_TmpDelete
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Changelog:
# (2014-07-06 00:50) - code standarization, initializing debug, add information
#                      about licence, add information in English
# (2014-07-06 13:33) - correct English translation, delete Polish section
#
# Date : (2014-07-06 13-50)
# Last revision : (2014-07-06 13-33)
# Wine version used : 1.7.21
# Distribution used to test : Linux Mint 17 "Qiana"
# Author : OdzioM
# Licence : Freeware

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

TITLE="WTW"
PREFIX="WTWLinux"
WORKING_WINE_VERSION="1.7.21"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Tomek Nagisa (Kaworu)" "http://wtw.im/" "OdzioM" "$PREFIX"

POL_System_TmpCreate "WTWim"
cd "$POL_System_TmpDir"

POL_SetupWindow_wait "Download WTW..." "Step 1"
POL_Download "http://download.k2t.eu/wtwInst/wtw-setup-web.exe"

POL_SetupWindow_wait "Create WTWLinux prefix..." "Step 2"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"


POL_SetupWindow_message "After WTW instalation uncheck Run option in last window!\n\n!!! DON'T RUN A MESSENGER!!!" "WARNING!!!"

POL_SetupWindow_wait_next_signal "Install WTW..." "Step 3"
POL_Wine "wtw-setup-web.exe"
POL_SetupWindow_detect_exit

POL_Call POL_Install_tahoma
POL_Call POL_Install_corefonts
POL_Call POL_Install_ie8
POL_Call POL_Install_dsound

POL_Shortcut "wtw.exe" "$TITLE"

POL_SetupWindow_message "Installation successfully complete. To start a Messenger please run it from icon on your desktop.\n\nWTW - the worst messenger ever ;)" "$TITLE installation complete!"

POL_System_TmpDelete

POL_SetupWindow_Close
exit

Replies

Sunday 6 July 2014 at 14:06
Don't hesitate to use eval_gettext if you want your script to be translated. Also, line 37, you could be less "agressive" and try to explain the problem to the user
Sunday 6 July 2014 at 14:52
Ok. But i have a problem. On line 37 where is a "Don\'t run a messenger" message my scripts hangs in previous windows and message don't show. Do I need to use eval_gettext in all installation windows?
Sunday 6 July 2014 at 14:58
You should not add a backslash (\)
Sunday 6 July 2014 at 15:02
But then if I use eval_gettext without (\) text editor don't accept a bash code. Do I must change text from "Don't run a messenger" to "Dont run a messenger" without (')?
Sunday 6 July 2014 at 15:11
Nope, the correct syntax is "$(eval_gettext "Don't run")", whatever does your editor say
Sunday 6 July 2014 at 15:19
It's funny, but it works. :) Thank you! :D
odziom91 Sunday 6 July 2014 at 13:33
odziom91

Warning

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

Differences

@@ -0,0 +1,63 @@
+#!/bin/bash
+# Changelog:
+# (2014-07-06 00:50) - code standarization, initializing debug, add information
+#                      about licence, add information in English
+#
+# Date : (2014-07-06 13-33)
+# Last revision : (2014-07-06 00-50)
+# Wine version used : 1.7.21
+# Distribution used to test : Linux Mint 17 "Qiana"
+# Author : OdzioM
+# Licence : Freeware
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="WTW"
+PREFIX="WTWLinux"
+WORKING_WINE_VERSION="1.7.21"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Tomek Nagisa (Kaworu)" "http://wtw.im/" "OdzioM" "$PREFIX"
+
+POL_SetupWindow_message "English\n\nThis script will install WTW Instant Messenger in your Linux system.\nInstaller make five steps:\n1. Download WTW installer from web.\n2. Create prefix WTWLinux for WTW.\n3. Install WTW Instant Messenger.\n4. Install requirement programs into WTWLinux prefix.\n5. Create shortcut into desktop.\n\nWARNING!\n1. This program works correct on Windows - at Linux some features will WON'T WORK!\n2. Please accept any licence in installed programs (ex. Internet Explorer 8)\n3. If installer has a question please select correct answer and click Next button.\n\nThank you! :)" "$TITLE installer / $TITLE instalator"
+
+POL_SetupWindow_message "Polski:\n\nOk, z?otko!\nZa chwil? rozpoczniesz instalacj? komunikatora WTW na Twoim systemie operacyjnym z rodziny Linux!\nInstalacja b?dzie przebiega? w kilku krokach:\n1. Pobranie instalatora programu dla Twojego systemu operacyjnego\n2. Przygotowanie prefixu dla programu - WTWLinux\n3. Instalacja komunikatora WTW\n4. Instalacja oprogramowania niezb?dnego do uruchomienia programu\n5. Utworzenie skrótu na pulpicie\n\nWA?NE!\nInstaluj?c oprogramowanie z tego skryptu zgadasz si? na postaniowienia licencji w ka?dym z programów. Je?li nie wyra?asz zgody, anuluj instalacj? teraz.\n\nAby kontynuowa? instalacj?, wci?nij przycisk Dalej." "$TITLE installer / $TITLE instalator"
+
+POL_SetupWindow_message "INFORMACJA:\nInstalator mo?e poprosi? o podanie informacji dodatkowych - takich jak wersja systemu operacyjnego lub j?zyk instalacji programu. W takim przypadku prosz? odpowiedzie? na wskazane zapytania, aby prawid?owo zainstalowa? oprogamowanie.\n\nUWAGA!!!\nKomunikator WTW jest przystosowany dla systemu Windows. Poszczególne opcje w systemach Linux mog? powodowa? b??dy w dzia?aniu programu.\n\nAby kontynuowa? instalacj?, wci?nij przycisk Dalej." "$TITLE installer / $TITLE instalator"
+
+cd "$POL_System_TmpDir"
+POL_SetupWindow_wait "Download WTW / Pobieranie WTW..." "Step 1"
+POL_Download "http://download.k2t.eu/wtwInst/wtw-setup-web.exe"
+
+POL_SetupWindow_wait "Create WTWLinux prefix / Tworz? ?rodowisko WTWLinux..." "Step 2"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "WTWim"
+
+POL_SetupWindow_message "After WTW instalation uncheck Run option in last window! !!! DON'T RUN A MESSENGER!!!\n\nPo zako?czeniu instalacji odznacz opcj? Uruchom komunikator!\n\n!!! NIE URUCHAMIAJ KOMUNIKATORA !!!" "WARNING!!! UWAGA!!!"
+
+POL_SetupWindow_wait_next_signal "Install WTW / Instalacja WTW..." "Step 3"
+POL_Wine "wtw-setup-web.exe"
+POL_SetupWindow_detect_exit
+
+POL_SetupWindow_pulsebar "Install programs / Instaluj? programy..." "Step 4"
+POL_Call POL_Install_tahoma
+POL_SetupWindow_pulse "25"
+POL_Call POL_Install_corefonts
+POL_SetupWindow_pulse "50"
+POL_Call POL_Install_ie8
+POL_SetupWindow_pulse "75"
+POL_Call POL_Install_dsound
+POL_SetupWindow_pulse "100"
+
+POL_Shortcut "wtw.exe" "$TITLE"
+
+POL_SetupWindow_message "Installation successfully complete (maybe ;)). To start a Messenger please run it from icon on your desktop.\n\nInstalacja zako?czy?a si? (prawdopodobnie ;)) pomy?lnie. Aby rozpocz?? prac? z komunikatorem, uruchom go ze skrótu na pulpicie.\n\nWTW - the worst messenger ever ;)\nWTW - najgorszy komunikator ever ;)" "$TITLE installation complete! / Instalacja $TITLE zako?czona!"
+
+POL_System_TmpDelete
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Changelog:
# (2014-07-06 00:50) - code standarization, initializing debug, add information
#                      about licence, add information in English
#
# Date : (2014-07-06 13-33)
# Last revision : (2014-07-06 00-50)
# Wine version used : 1.7.21
# Distribution used to test : Linux Mint 17 "Qiana"
# Author : OdzioM
# Licence : Freeware

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

TITLE="WTW"
PREFIX="WTWLinux"
WORKING_WINE_VERSION="1.7.21"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Tomek Nagisa (Kaworu)" "http://wtw.im/" "OdzioM" "$PREFIX"

POL_SetupWindow_message "English\n\nThis script will install WTW Instant Messenger in your Linux system.\nInstaller make five steps:\n1. Download WTW installer from web.\n2. Create prefix WTWLinux for WTW.\n3. Install WTW Instant Messenger.\n4. Install requirement programs into WTWLinux prefix.\n5. Create shortcut into desktop.\n\nWARNING!\n1. This program works correct on Windows - at Linux some features will WON'T WORK!\n2. Please accept any licence in installed programs (ex. Internet Explorer 8)\n3. If installer has a question please select correct answer and click Next button.\n\nThank you! :)" "$TITLE installer / $TITLE instalator"

POL_SetupWindow_message "Polski:\n\nOk, z?otko!\nZa chwil? rozpoczniesz instalacj? komunikatora WTW na Twoim systemie operacyjnym z rodziny Linux!\nInstalacja b?dzie przebiega? w kilku krokach:\n1. Pobranie instalatora programu dla Twojego systemu operacyjnego\n2. Przygotowanie prefixu dla programu - WTWLinux\n3. Instalacja komunikatora WTW\n4. Instalacja oprogramowania niezb?dnego do uruchomienia programu\n5. Utworzenie skrótu na pulpicie\n\nWA?NE!\nInstaluj?c oprogramowanie z tego skryptu zgadasz si? na postaniowienia licencji w ka?dym z programów. Je?li nie wyra?asz zgody, anuluj instalacj? teraz.\n\nAby kontynuowa? instalacj?, wci?nij przycisk Dalej." "$TITLE installer / $TITLE instalator"

POL_SetupWindow_message "INFORMACJA:\nInstalator mo?e poprosi? o podanie informacji dodatkowych - takich jak wersja systemu operacyjnego lub j?zyk instalacji programu. W takim przypadku prosz? odpowiedzie? na wskazane zapytania, aby prawid?owo zainstalowa? oprogamowanie.\n\nUWAGA!!!\nKomunikator WTW jest przystosowany dla systemu Windows. Poszczególne opcje w systemach Linux mog? powodowa? b??dy w dzia?aniu programu.\n\nAby kontynuowa? instalacj?, wci?nij przycisk Dalej." "$TITLE installer / $TITLE instalator"

cd "$POL_System_TmpDir"
POL_SetupWindow_wait "Download WTW / Pobieranie WTW..." "Step 1"
POL_Download "http://download.k2t.eu/wtwInst/wtw-setup-web.exe"

POL_SetupWindow_wait "Create WTWLinux prefix / Tworz? ?rodowisko WTWLinux..." "Step 2"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "WTWim"

POL_SetupWindow_message "After WTW instalation uncheck Run option in last window! !!! DON'T RUN A MESSENGER!!!\n\nPo zako?czeniu instalacji odznacz opcj? Uruchom komunikator!\n\n!!! NIE URUCHAMIAJ KOMUNIKATORA !!!" "WARNING!!! UWAGA!!!"

POL_SetupWindow_wait_next_signal "Install WTW / Instalacja WTW..." "Step 3"
POL_Wine "wtw-setup-web.exe"
POL_SetupWindow_detect_exit

POL_SetupWindow_pulsebar "Install programs / Instaluj? programy..." "Step 4"
POL_Call POL_Install_tahoma
POL_SetupWindow_pulse "25"
POL_Call POL_Install_corefonts
POL_SetupWindow_pulse "50"
POL_Call POL_Install_ie8
POL_SetupWindow_pulse "75"
POL_Call POL_Install_dsound
POL_SetupWindow_pulse "100"

POL_Shortcut "wtw.exe" "$TITLE"

POL_SetupWindow_message "Installation successfully complete (maybe ;)). To start a Messenger please run it from icon on your desktop.\n\nInstalacja zako?czy?a si? (prawdopodobnie ;)) pomy?lnie. Aby rozpocz?? prac? z komunikatorem, uruchom go ze skrótu na pulpicie.\n\nWTW - the worst messenger ever ;)\nWTW - najgorszy komunikator ever ;)" "$TITLE installation complete! / Instalacja $TITLE zako?czona!"

POL_System_TmpDelete

POL_SetupWindow_Close
exit

Replies

Sunday 6 July 2014 at 13:38
This is not how you should handle translation. (http://www.playonlinux.com/en/dev-documentation-10.html)
Sunday 6 July 2014 at 13:46
Ok, that's simple. So... I will clean source code. :)
odziom91 Sunday 6 July 2014 at 1:11
odziom91

Warning

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

Differences

@@ -0,0 +1,54 @@
+#!/bin/bash
+# Date : (2014-07-06 00-50)
+# Last revision : (2014-07-04 23-00)
+# Wine version used : 1.7.21
+# Distribution used to test : Linux Mint 17 "Qiana"
+# Author : OdzioM
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+POL_SetupWindow_Init
+
+# Pocz?tek instalatora:
+POL_SetupWindow_presentation "WTW" "Tomek Nagisa (Kaworu)" "http://wtw.im/" "OdzioM" "WTWLinux"
+
+POL_SetupWindow_message "Ok, z?otko!\nZa chwil? rozpoczniesz instalacj? komunikatora WTW na Twoim systemie operacyjnym z rodziny Linux!\nInstalacja b?dzie przebiega? w kilku krokach:\n1. Pobranie instalatora programu dla Twojego systemu operacyjnego\n2. Przygotowanie prefixu dla programu - WTWLinux\n3.Instalacja komunikatora WTW\n4. Instalacja oprogramowania niezb?dnego do uruchomienia programu\n5. Utworzenie skrótu na pulpicie\n\nWA?NE!\nInstaluj?c oprogramowanie z tego skryptu zgadasz si? na postaniowienia licencji w ka?dym z programów. Je?li nie wyra?asz zgody, anuluj instalacj? teraz.\n\nAby kontynuowa? instalacj?, wci?nij przycisk Dalej." "Instalacja WTW za chwil? si? rozpocznie!"
+
+POL_SetupWindow_message "INFORMACJA:\nInstalator mo?e poprosi? o podanie informacji dodatkowych - takich jak wersja systemu operacyjnego lub j?zyk instalacji programu. W takim przypadku prosz? odpowiedzie? na wskazane zapytania, aby prawid?owo zainstalowa? oprogamowanie.\n\nUWAGA!!!\nKomunikator WTW jest przystosowany dla systemu Windows. Poszczególne opcje w systemach Linux mog? powodowa? b??dy w dzia?aniu programu.\n\nAby kontynuowa? instalacj?, wci?nij przycisk Dalej." "Instalacja WTW za chwil? si? rozpocznie!"
+
+cd "$POL_System_TmpDir"
+POL_SetupWindow_wait "Trwa pobieranie instalatora komunikatora WTW..." "Etap 1"
+POL_Download "http://download.k2t.eu/wtwInst/wtw-setup-web.exe"
+
+POL_SetupWindow_wait "Tworz? ?rodowisko dla komunikatora WTW..." "Etap 2"
+POL_Wine_SelectPrefix "WTWLinux"
+POL_SetupWindow_wait "Tworz? ?rodowisko dla komunikatora WTW..." "Etap 2"
+POL_SetupWindow_install_wine "1.7.21"
+POL_Wine_PrefixCreate "1.7.21"
+POL_System_TmpCreate "WTWim"
+
+POL_SetupWindow_message "Po zako?czeniu instalacji odznacz opcj? Uruchom komunikator WTW!\n\n!!! NIE URUCHAMIAJ KOMUNIKATORA !!!" "UWAGA!!! UWAGA!!! UWAGA!!!"
+
+POL_SetupWindow_wait_next_signal "Instalacja komunikatora WTW..." "Etap 3"
+POL_Wine "wtw-setup-web.exe"
+POL_SetupWindow_detect_exit
+
+POL_SetupWindow_pulsebar "Instalacja dodatkowego oprogramowania" "Etap 4"
+POL_Call POL_Install_tahoma
+POL_SetupWindow_pulse "25"
+POL_Call POL_Install_corefonts
+POL_SetupWindow_pulse "50"
+POL_Call POL_Install_ie8
+POL_SetupWindow_pulse "75"
+POL_Call POL_Install_dsound
+POL_SetupWindow_pulse "100"
+
+POL_Shortcut "wtw.exe" "WTW Linux"
+
+POL_SetupWindow_message "Instalacja zako?czy?a si? (prawdopodobnie ;)) pomy?lnie. Aby rozpocz?? prac? z komunikatorem, uruchom go ze skrótu na pulpicie.\n\nWTW - najgorszy komunikator ever ;)" "Instalacja WTW zako?czona!"
+
+POL_System_TmpDelete
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-07-06 00-50)
# Last revision : (2014-07-04 23-00)
# Wine version used : 1.7.21
# Distribution used to test : Linux Mint 17 "Qiana"
# Author : OdzioM

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

# Pocz?tek instalatora:
POL_SetupWindow_presentation "WTW" "Tomek Nagisa (Kaworu)" "http://wtw.im/" "OdzioM" "WTWLinux"

POL_SetupWindow_message "Ok, z?otko!\nZa chwil? rozpoczniesz instalacj? komunikatora WTW na Twoim systemie operacyjnym z rodziny Linux!\nInstalacja b?dzie przebiega? w kilku krokach:\n1. Pobranie instalatora programu dla Twojego systemu operacyjnego\n2. Przygotowanie prefixu dla programu - WTWLinux\n3.Instalacja komunikatora WTW\n4. Instalacja oprogramowania niezb?dnego do uruchomienia programu\n5. Utworzenie skrótu na pulpicie\n\nWA?NE!\nInstaluj?c oprogramowanie z tego skryptu zgadasz si? na postaniowienia licencji w ka?dym z programów. Je?li nie wyra?asz zgody, anuluj instalacj? teraz.\n\nAby kontynuowa? instalacj?, wci?nij przycisk Dalej." "Instalacja WTW za chwil? si? rozpocznie!"

POL_SetupWindow_message "INFORMACJA:\nInstalator mo?e poprosi? o podanie informacji dodatkowych - takich jak wersja systemu operacyjnego lub j?zyk instalacji programu. W takim przypadku prosz? odpowiedzie? na wskazane zapytania, aby prawid?owo zainstalowa? oprogamowanie.\n\nUWAGA!!!\nKomunikator WTW jest przystosowany dla systemu Windows. Poszczególne opcje w systemach Linux mog? powodowa? b??dy w dzia?aniu programu.\n\nAby kontynuowa? instalacj?, wci?nij przycisk Dalej." "Instalacja WTW za chwil? si? rozpocznie!"

cd "$POL_System_TmpDir"
POL_SetupWindow_wait "Trwa pobieranie instalatora komunikatora WTW..." "Etap 1"
POL_Download "http://download.k2t.eu/wtwInst/wtw-setup-web.exe"

POL_SetupWindow_wait "Tworz? ?rodowisko dla komunikatora WTW..." "Etap 2"
POL_Wine_SelectPrefix "WTWLinux"
POL_SetupWindow_wait "Tworz? ?rodowisko dla komunikatora WTW..." "Etap 2"
POL_SetupWindow_install_wine "1.7.21"
POL_Wine_PrefixCreate "1.7.21"
POL_System_TmpCreate "WTWim"

POL_SetupWindow_message "Po zako?czeniu instalacji odznacz opcj? Uruchom komunikator WTW!\n\n!!! NIE URUCHAMIAJ KOMUNIKATORA !!!" "UWAGA!!! UWAGA!!! UWAGA!!!"

POL_SetupWindow_wait_next_signal "Instalacja komunikatora WTW..." "Etap 3"
POL_Wine "wtw-setup-web.exe"
POL_SetupWindow_detect_exit

POL_SetupWindow_pulsebar "Instalacja dodatkowego oprogramowania" "Etap 4"
POL_Call POL_Install_tahoma
POL_SetupWindow_pulse "25"
POL_Call POL_Install_corefonts
POL_SetupWindow_pulse "50"
POL_Call POL_Install_ie8
POL_SetupWindow_pulse "75"
POL_Call POL_Install_dsound
POL_SetupWindow_pulse "100"

POL_Shortcut "wtw.exe" "WTW Linux"

POL_SetupWindow_message "Instalacja zako?czy?a si? (prawdopodobnie ;)) pomy?lnie. Aby rozpocz?? prac? z komunikatorem, uruchom go ze skrótu na pulpicie.\n\nWTW - najgorszy komunikator ever ;)" "Instalacja WTW zako?czona!"

POL_System_TmpDelete

POL_SetupWindow_Close
exit

Replies