WowApp

Informations

Creator Message
rpinto Anonymous

Warning

This installer has not been approved yet by the team.

Informations

Platforms:
Downloads: 5008
Wine: 1.7.46

Feedbacks

Description

This script has been tested on ubuntu 12.04, 14.04 and Debian 7.

  • WowApp is a communication app that works on both your desktop and mobile.
  • We offer chat, group chat, free audio and video calling, conference calling, sharing files and much more on Windows, Mac, Android and the iPhone.
  • We also offer cheap calling rates to anywhere in the world allowing our users to make international calls to friends, family and business contacts for a fraction of the traditional phone costs.

Source code

#!/bin/bash
# Date : (2015-11-12)
# Last revision : (2015-11-12 23:00)
# Distribution used to test : Ubuntu, Debian
# Author : Rodrigo Pinto
# Licence : GPLv3

# Changelog
# (2015-10-01) 23:00 (Rodrigo Pinto)
#       - WowApp 5.0.0 with Wine 1.7.46 32bits
# (2015-10-21) 17:00 (Rodrigo Pinto)
#       - Set arch to x86
#        - Remove the Downloading dialog
# (2015-11-12) 14:00 (Rodrigo Pinto)
#       - New 6.0.0 version
#        - Audio fix

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

POL_System_SetArch "x86" 
WINEVERSION="1.7.46"

TITLE="WowApp"
PREFIX="WowApp"
SHORTCUT_NAME="WowApp"
EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_6.0.0.exe"

POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE"

POL_SetupWindow_Init
POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE"
POL_SetupWindow_SetID 1135

which glxinfo || POL_Debug_Error "$(eval_gettext 'glxinfo is not installed. Please install mesa-utils package')"

if ! glxinfo | grep -q GL_EXT_texture_compression_s3tc; then
    POL_SetupWindow_message "$(eval_gettext 'Warning! S3TC compression is not available on your system.\n\nIf you have a free driver, you might need to install a proprietary driver \n\nOtherwise, you can enable it by installing libtxc-dxtn0 package, but you might get slower results')"
    POL_Debug_Warning "S3TC not enabled!"
fi

POL_Debug_Init

POL_SetupWindow_presentation "WowApp" "Nobel INC" "https://www.wowapp.com/" "Rodrigo Pinto" "WowApp"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"

    FULL_INSTALLER="$APP_ANSWER"
else # DOWNLOAD
    POL_System_TmpCreate "$PREFIX"

    DOWNLOAD_URL=$EXE_URL
    DOWNLOAD_MD5="2256981db07885f3e330a40692a4842e"
    DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")"

    POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer"

    FULL_INSTALLER="$DOWNLOAD_FILE"
fi

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$FULL_INSTALLER"

Set_OS winxp


# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver

#install setupapi
POL_Download "http://downloadapp.wowapp.com/public/setupapi.dll" "24192246760e0e64435522e246b1d6c2"
# Copy setupapi.dll to App folder in $WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/
#POL_Debug_Message "Installing setupapi"
cp setupapi.dll "$WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/setupapi.dll"


POL_Call POL_Function_OverrideDLL native setupapi


POL_Shortcut_InsertBeforeWine "WowApp" "export PULSE_LATENCY_MSEC=30" 

POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" ""

if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
    # Free some disk space
    POL_System_TmpDelete
fi


POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
cheesy Friday 27 October 2017 at 9:50
cheesy Anonymous

Message

In Ubuntu 17.10 all text is shown as squares (see the next image). 

wrong fonts

I want to thank you all for making this happen but if any of you manage to repair this will be awesome.

Replies

Anonymous
Friday 27 October 2017 at 11:05
You should first try to use latest wine (2.0, 2.19 or 2.19-staging) -> http://wiki.playonlinux.com/index.php/Managing_Wine_Versions
Anonymous
Friday 27 October 2017 at 11:07
You should also look at debugging output, maybe you are missing some libs, by launching the app through a POL terminal
rpinto Thursday 12 November 2015 at 20:09
rpinto Anonymous

Information

This update has been approved by the team.

Differences

@@ -1,6 +1,6 @@
 #!/bin/bash
-# Date : (2015-10-01)
-# Last revision : (2015-10-01 23:00)
+# Date : (2015-11-12)
+# Last revision : (2015-11-12 23:00)
 # Distribution used to test : Ubuntu, Debian
 # Author : Rodrigo Pinto
 # Licence : GPLv3
@@ -10,18 +10,21 @@
 #       - WowApp 5.0.0 with Wine 1.7.46 32bits
 # (2015-10-21) 17:00 (Rodrigo Pinto)
 #       - Set arch to x86
-#	- Remove the Downloading dialog
+#        - Remove the Downloading dialog
+# (2015-11-12) 14:00 (Rodrigo Pinto)
+#       - New 6.0.0 version
+#        - Audio fix
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
-POL_System_SetArch "x86"  
+POL_System_SetArch "x86" 
 WINEVERSION="1.7.46"
 
 TITLE="WowApp"
 PREFIX="WowApp"
 SHORTCUT_NAME="WowApp"
-EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_5.0.0.exe"
+EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_6.0.0.exe"
 
 POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE"
 
@@ -51,7 +54,7 @@
     POL_System_TmpCreate "$PREFIX"
 
     DOWNLOAD_URL=$EXE_URL
-    DOWNLOAD_MD5="97742df7d130447fa6a69dff409dcab1"
+    DOWNLOAD_MD5="2256981db07885f3e330a40692a4842e"
     DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")"
 
     POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer"
@@ -84,6 +87,7 @@
 POL_Call POL_Function_OverrideDLL native setupapi
 
 
+POL_Shortcut_InsertBeforeWine "WowApp" "export PULSE_LATENCY_MSEC=30" 
 
 POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" ""
 

New source code

#!/bin/bash
# Date : (2015-11-12)
# Last revision : (2015-11-12 23:00)
# Distribution used to test : Ubuntu, Debian
# Author : Rodrigo Pinto
# Licence : GPLv3

# Changelog
# (2015-10-01) 23:00 (Rodrigo Pinto)
#       - WowApp 5.0.0 with Wine 1.7.46 32bits
# (2015-10-21) 17:00 (Rodrigo Pinto)
#       - Set arch to x86
#        - Remove the Downloading dialog
# (2015-11-12) 14:00 (Rodrigo Pinto)
#       - New 6.0.0 version
#        - Audio fix

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

POL_System_SetArch "x86" 
WINEVERSION="1.7.46"

TITLE="WowApp"
PREFIX="WowApp"
SHORTCUT_NAME="WowApp"
EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_6.0.0.exe"

POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE"

POL_SetupWindow_Init
POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE"
POL_SetupWindow_SetID 1135

which glxinfo || POL_Debug_Error "$(eval_gettext 'glxinfo is not installed. Please install mesa-utils package')"

if ! glxinfo | grep -q GL_EXT_texture_compression_s3tc; then
    POL_SetupWindow_message "$(eval_gettext 'Warning! S3TC compression is not available on your system.\n\nIf you have a free driver, you might need to install a proprietary driver \n\nOtherwise, you can enable it by installing libtxc-dxtn0 package, but you might get slower results')"
    POL_Debug_Warning "S3TC not enabled!"
fi

POL_Debug_Init

POL_SetupWindow_presentation "WowApp" "Nobel INC" "https://www.wowapp.com/" "Rodrigo Pinto" "WowApp"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"

    FULL_INSTALLER="$APP_ANSWER"
else # DOWNLOAD
    POL_System_TmpCreate "$PREFIX"

    DOWNLOAD_URL=$EXE_URL
    DOWNLOAD_MD5="2256981db07885f3e330a40692a4842e"
    DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")"

    POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer"

    FULL_INSTALLER="$DOWNLOAD_FILE"
fi

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$FULL_INSTALLER"

Set_OS winxp


# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver

#install setupapi
POL_Download "http://downloadapp.wowapp.com/public/setupapi.dll" "24192246760e0e64435522e246b1d6c2"
# Copy setupapi.dll to App folder in $WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/
#POL_Debug_Message "Installing setupapi"
cp setupapi.dll "$WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/setupapi.dll"


POL_Call POL_Function_OverrideDLL native setupapi


POL_Shortcut_InsertBeforeWine "WowApp" "export PULSE_LATENCY_MSEC=30" 

POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" ""

if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
    # Free some disk space
    POL_System_TmpDelete
fi


POL_SetupWindow_Close
exit 0

Replies

Edited by petch

rpinto Thursday 22 October 2015 at 1:12
rpinto Anonymous

Warning

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

Message

Forgot to remove the downloading line

Differences

@@ -1,18 +1,21 @@
 #!/bin/bash
 # Date : (2015-10-01)
 # Last revision : (2015-10-01 23:00)
-# Distribution used to test : Ubuntu, Debian 
+# Distribution used to test : Ubuntu, Debian
 # Author : Rodrigo Pinto
 # Licence : GPLv3
-# WineHQ: http://winebuild.playonlinux.com/wine/wine-patches/WowApp/
 
 # Changelog
-# (2015-10-01) 23:00 (Rodrigo Pinto) 
+# (2015-10-01) 23:00 (Rodrigo Pinto)
 #       - WowApp 5.0.0 with Wine 1.7.46 32bits
+# (2015-10-21) 17:00 (Rodrigo Pinto)
+#       - Set arch to x86
+#	- Remove the Downloading dialog
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
+POL_System_SetArch "x86"  
 WINEVERSION="1.7.46"
 
 TITLE="WowApp"
@@ -60,13 +63,6 @@
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
 
-#POL_Call POL_Install_corefonts
-#POL_Call POL_Install_vcrun2005
-#POL_Call POL_Install_vcrun2008
-#POL_Call POL_Install_d3dx9
-
-#Set_OS "win7"
-
 POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE"
 
 POL_Wine_WaitBefore "$TITLE"
@@ -80,8 +76,7 @@
 
 #install setupapi
 POL_Download "http://downloadapp.wowapp.com/public/setupapi.dll" "24192246760e0e64435522e246b1d6c2"
-POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "setupapi"
-# Copy wineasio.dll.so to system32 folder in $WINEPREFIX, and register to $WINEPREFIX. Throw error if it fails.
+# Copy setupapi.dll to App folder in $WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/
 #POL_Debug_Message "Installing setupapi"
 cp setupapi.dll "$WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/setupapi.dll"
 

New source code

#!/bin/bash
# Date : (2015-10-01)
# Last revision : (2015-10-01 23:00)
# Distribution used to test : Ubuntu, Debian
# Author : Rodrigo Pinto
# Licence : GPLv3

# Changelog
# (2015-10-01) 23:00 (Rodrigo Pinto)
#       - WowApp 5.0.0 with Wine 1.7.46 32bits
# (2015-10-21) 17:00 (Rodrigo Pinto)
#       - Set arch to x86
#        - Remove the Downloading dialog

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

POL_System_SetArch "x86"  
WINEVERSION="1.7.46"

TITLE="WowApp"
PREFIX="WowApp"
SHORTCUT_NAME="WowApp"
EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_5.0.0.exe"

POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE"

POL_SetupWindow_Init
POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE"
POL_SetupWindow_SetID 1135

which glxinfo || POL_Debug_Error "$(eval_gettext 'glxinfo is not installed. Please install mesa-utils package')"

if ! glxinfo | grep -q GL_EXT_texture_compression_s3tc; then
    POL_SetupWindow_message "$(eval_gettext 'Warning! S3TC compression is not available on your system.\n\nIf you have a free driver, you might need to install a proprietary driver \n\nOtherwise, you can enable it by installing libtxc-dxtn0 package, but you might get slower results')"
    POL_Debug_Warning "S3TC not enabled!"
fi

POL_Debug_Init

POL_SetupWindow_presentation "WowApp" "Nobel INC" "https://www.wowapp.com/" "Rodrigo Pinto" "WowApp"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"

    FULL_INSTALLER="$APP_ANSWER"
else # DOWNLOAD
    POL_System_TmpCreate "$PREFIX"

    DOWNLOAD_URL=$EXE_URL
    DOWNLOAD_MD5="97742df7d130447fa6a69dff409dcab1"
    DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")"

    POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer"

    FULL_INSTALLER="$DOWNLOAD_FILE"
fi

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$FULL_INSTALLER"

Set_OS winxp


# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver

#install setupapi
POL_Download "http://downloadapp.wowapp.com/public/setupapi.dll" "24192246760e0e64435522e246b1d6c2"
# Copy setupapi.dll to App folder in $WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/
#POL_Debug_Message "Installing setupapi"
cp setupapi.dll "$WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/setupapi.dll"


POL_Call POL_Function_OverrideDLL native setupapi



POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" ""

if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
    # Free some disk space
    POL_System_TmpDelete
fi


POL_SetupWindow_Close
exit 0

Replies

Edited by petch

rpinto Thursday 22 October 2015 at 1:09
rpinto Anonymous

Warning

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

Message

Added a modification to make sure the arch is x86

Differences

@@ -1,77 +1,73 @@
 #!/bin/bash
 # Date : (2015-10-01)
 # Last revision : (2015-10-01 23:00)
-# Distribution used to test : Ubuntu, Debian 
+# Distribution used to test : Ubuntu, Debian
 # Author : Rodrigo Pinto
 # Licence : GPLv3
-# WineHQ: http://winebuild.playonlinux.com/wine/wine-patches/WowApp/
- 
+
 # Changelog
-# (2015-10-01) 23:00 (Rodrigo Pinto) 
+# (2015-10-01) 23:00 (Rodrigo Pinto)
 #       - WowApp 5.0.0 with Wine 1.7.46 32bits
- 
+# (2015-10-21) 17:00 (Rodrigo Pinto)
+#       - Set arch to x86
+#	- Remove the Downloading dialog
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
+POL_System_SetArch "x86"  
 WINEVERSION="1.7.46"
- 
+
 TITLE="WowApp"
 PREFIX="WowApp"
 SHORTCUT_NAME="WowApp"
 EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_5.0.0.exe"
 
 POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE"
- 
+
 POL_SetupWindow_Init
 POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE"
 POL_SetupWindow_SetID 1135
- 
+
 which glxinfo || POL_Debug_Error "$(eval_gettext 'glxinfo is not installed. Please install mesa-utils package')"
- 
+
 if ! glxinfo | grep -q GL_EXT_texture_compression_s3tc; then
     POL_SetupWindow_message "$(eval_gettext 'Warning! S3TC compression is not available on your system.\n\nIf you have a free driver, you might need to install a proprietary driver \n\nOtherwise, you can enable it by installing libtxc-dxtn0 package, but you might get slower results')"
     POL_Debug_Warning "S3TC not enabled!"
 fi
- 
+
 POL_Debug_Init
- 
+
 POL_SetupWindow_presentation "WowApp" "Nobel INC" "https://www.wowapp.com/" "Rodrigo Pinto" "WowApp"
- 
+
 POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
- 
+
 if [ "$INSTALL_METHOD" = "LOCAL" ]; then
     cd "$HOME"
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"
- 
+
     FULL_INSTALLER="$APP_ANSWER"
 else # DOWNLOAD
     POL_System_TmpCreate "$PREFIX"
- 
+
     DOWNLOAD_URL=$EXE_URL
     DOWNLOAD_MD5="97742df7d130447fa6a69dff409dcab1"
     DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")"
- 
+
     POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer"
- 
+
     FULL_INSTALLER="$DOWNLOAD_FILE"
 fi
- 
+
 POL_System_SetArch "x86"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
- 
-#POL_Call POL_Install_corefonts
-#POL_Call POL_Install_vcrun2005
-#POL_Call POL_Install_vcrun2008
-#POL_Call POL_Install_d3dx9
- 
-#Set_OS "win7"
- 
+
 POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE"
- 
+
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "$FULL_INSTALLER"
- 
+
 Set_OS winxp
 
 
@@ -81,7 +77,7 @@
 #install setupapi
 POL_Download "http://downloadapp.wowapp.com/public/setupapi.dll" "24192246760e0e64435522e246b1d6c2"
 POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "setupapi"
-# Copy wineasio.dll.so to system32 folder in $WINEPREFIX, and register to $WINEPREFIX. Throw error if it fails.
+# Copy setupapi.dll to App folder in $WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/
 #POL_Debug_Message "Installing setupapi"
 cp setupapi.dll "$WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/setupapi.dll"
 
@@ -91,12 +87,12 @@
 
 
 POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" ""
- 
+
 if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
     # Free some disk space
     POL_System_TmpDelete
 fi
- 
- 
+
+
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-10-01)
# Last revision : (2015-10-01 23:00)
# Distribution used to test : Ubuntu, Debian
# Author : Rodrigo Pinto
# Licence : GPLv3

# Changelog
# (2015-10-01) 23:00 (Rodrigo Pinto)
#       - WowApp 5.0.0 with Wine 1.7.46 32bits
# (2015-10-21) 17:00 (Rodrigo Pinto)
#       - Set arch to x86
#        - Remove the Downloading dialog

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

POL_System_SetArch "x86"  
WINEVERSION="1.7.46"

TITLE="WowApp"
PREFIX="WowApp"
SHORTCUT_NAME="WowApp"
EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_5.0.0.exe"

POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE"

POL_SetupWindow_Init
POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE"
POL_SetupWindow_SetID 1135

which glxinfo || POL_Debug_Error "$(eval_gettext 'glxinfo is not installed. Please install mesa-utils package')"

if ! glxinfo | grep -q GL_EXT_texture_compression_s3tc; then
    POL_SetupWindow_message "$(eval_gettext 'Warning! S3TC compression is not available on your system.\n\nIf you have a free driver, you might need to install a proprietary driver \n\nOtherwise, you can enable it by installing libtxc-dxtn0 package, but you might get slower results')"
    POL_Debug_Warning "S3TC not enabled!"
fi

POL_Debug_Init

POL_SetupWindow_presentation "WowApp" "Nobel INC" "https://www.wowapp.com/" "Rodrigo Pinto" "WowApp"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"

    FULL_INSTALLER="$APP_ANSWER"
else # DOWNLOAD
    POL_System_TmpCreate "$PREFIX"

    DOWNLOAD_URL=$EXE_URL
    DOWNLOAD_MD5="97742df7d130447fa6a69dff409dcab1"
    DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")"

    POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer"

    FULL_INSTALLER="$DOWNLOAD_FILE"
fi

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$FULL_INSTALLER"

Set_OS winxp


# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver

#install setupapi
POL_Download "http://downloadapp.wowapp.com/public/setupapi.dll" "24192246760e0e64435522e246b1d6c2"
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "setupapi"
# Copy setupapi.dll to App folder in $WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/
#POL_Debug_Message "Installing setupapi"
cp setupapi.dll "$WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/setupapi.dll"


POL_Call POL_Function_OverrideDLL native setupapi



POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" ""

if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
    # Free some disk space
    POL_System_TmpDelete
fi


POL_SetupWindow_Close
exit 0

Replies

Edited by petch

rpinto Friday 2 October 2015 at 16:47
rpinto Anonymous

Warning

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

Differences

@@ -5,73 +5,73 @@
 # Author : Rodrigo Pinto
 # Licence : GPLv3
 # WineHQ: http://winebuild.playonlinux.com/wine/wine-patches/WowApp/
- 
+
 # Changelog
 # (2015-10-01) 23:00 (Rodrigo Pinto) 
 #       - WowApp 5.0.0 with Wine 1.7.46 32bits
- 
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
 WINEVERSION="1.7.46"
- 
+
 TITLE="WowApp"
 PREFIX="WowApp"
 SHORTCUT_NAME="WowApp"
 EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_5.0.0.exe"
 
 POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE"
- 
+
 POL_SetupWindow_Init
 POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE"
 POL_SetupWindow_SetID 1135
- 
+
 which glxinfo || POL_Debug_Error "$(eval_gettext 'glxinfo is not installed. Please install mesa-utils package')"
- 
+
 if ! glxinfo | grep -q GL_EXT_texture_compression_s3tc; then
     POL_SetupWindow_message "$(eval_gettext 'Warning! S3TC compression is not available on your system.\n\nIf you have a free driver, you might need to install a proprietary driver \n\nOtherwise, you can enable it by installing libtxc-dxtn0 package, but you might get slower results')"
     POL_Debug_Warning "S3TC not enabled!"
 fi
- 
+
 POL_Debug_Init
- 
+
 POL_SetupWindow_presentation "WowApp" "Nobel INC" "https://www.wowapp.com/" "Rodrigo Pinto" "WowApp"
- 
+
 POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
- 
+
 if [ "$INSTALL_METHOD" = "LOCAL" ]; then
     cd "$HOME"
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"
- 
+
     FULL_INSTALLER="$APP_ANSWER"
 else # DOWNLOAD
     POL_System_TmpCreate "$PREFIX"
- 
+
     DOWNLOAD_URL=$EXE_URL
     DOWNLOAD_MD5="97742df7d130447fa6a69dff409dcab1"
     DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")"
- 
+
     POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer"
- 
+
     FULL_INSTALLER="$DOWNLOAD_FILE"
 fi
- 
+
 POL_System_SetArch "x86"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
- 
+
 #POL_Call POL_Install_corefonts
 #POL_Call POL_Install_vcrun2005
 #POL_Call POL_Install_vcrun2008
 #POL_Call POL_Install_d3dx9
- 
+
 #Set_OS "win7"
- 
+
 POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE"
- 
+
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "$FULL_INSTALLER"
- 
+
 Set_OS winxp
 
 
@@ -91,12 +91,12 @@
 
 
 POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" ""
- 
+
 if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
     # Free some disk space
     POL_System_TmpDelete
 fi
- 
- 
+
+
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-10-01)
# Last revision : (2015-10-01 23:00)
# Distribution used to test : Ubuntu, Debian 
# Author : Rodrigo Pinto
# Licence : GPLv3
# WineHQ: http://winebuild.playonlinux.com/wine/wine-patches/WowApp/

# Changelog
# (2015-10-01) 23:00 (Rodrigo Pinto) 
#       - WowApp 5.0.0 with Wine 1.7.46 32bits

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

WINEVERSION="1.7.46"

TITLE="WowApp"
PREFIX="WowApp"
SHORTCUT_NAME="WowApp"
EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_5.0.0.exe"

POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE"

POL_SetupWindow_Init
POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE"
POL_SetupWindow_SetID 1135

which glxinfo || POL_Debug_Error "$(eval_gettext 'glxinfo is not installed. Please install mesa-utils package')"

if ! glxinfo | grep -q GL_EXT_texture_compression_s3tc; then
    POL_SetupWindow_message "$(eval_gettext 'Warning! S3TC compression is not available on your system.\n\nIf you have a free driver, you might need to install a proprietary driver \n\nOtherwise, you can enable it by installing libtxc-dxtn0 package, but you might get slower results')"
    POL_Debug_Warning "S3TC not enabled!"
fi

POL_Debug_Init

POL_SetupWindow_presentation "WowApp" "Nobel INC" "https://www.wowapp.com/" "Rodrigo Pinto" "WowApp"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"

    FULL_INSTALLER="$APP_ANSWER"
else # DOWNLOAD
    POL_System_TmpCreate "$PREFIX"

    DOWNLOAD_URL=$EXE_URL
    DOWNLOAD_MD5="97742df7d130447fa6a69dff409dcab1"
    DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")"

    POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer"

    FULL_INSTALLER="$DOWNLOAD_FILE"
fi

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

#POL_Call POL_Install_corefonts
#POL_Call POL_Install_vcrun2005
#POL_Call POL_Install_vcrun2008
#POL_Call POL_Install_d3dx9

#Set_OS "win7"

POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$FULL_INSTALLER"

Set_OS winxp


# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver

#install setupapi
POL_Download "http://downloadapp.wowapp.com/public/setupapi.dll" "24192246760e0e64435522e246b1d6c2"
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "setupapi"
# Copy wineasio.dll.so to system32 folder in $WINEPREFIX, and register to $WINEPREFIX. Throw error if it fails.
#POL_Debug_Message "Installing setupapi"
cp setupapi.dll "$WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/setupapi.dll"


POL_Call POL_Function_OverrideDLL native setupapi



POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" ""

if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
    # Free some disk space
    POL_System_TmpDelete
fi


POL_SetupWindow_Close
exit 0

Replies

Friday 2 October 2015 at 18:03
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "setupapi" I don't think it's necessary, POL_Download is synchronous so by the time you reach this statement the file is already downloaded...
Not a big deal though

Edited by petch

petch Friday 2 October 2015 at 6:39
petch

Message

Replies

Anonymous
Friday 2 October 2015 at 16:48
Thanks for the info, I have just submitted it.