Weblica

Informations

Créateur Messages
Ground0

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 7957
Wine: 1.8

Retours d'expérience

Description

It's a Offline Web CMS Application to create and manage easy a website.

It is from a company in Switzerland. (empros GmbH)

Code source

#!/usr/bin/env playonlinux-bash

# CHANGELOG
# [Ground0] (2015-06-02 08:45)
#   Initial Version
# [Ground0] (2015-06-03 17:15)
#   Remove some uneeded things.
# [Ground0] (2016-01-18 18:30)  
#   Removed everything except Weblica himself, and Works with wine 1.8 also on Mac OS X
# Date : (2015-06-02 08:45)
# Last revision : (2016-01-18 18:30)
# Wine version used : 1.8
# Distribution used to test : OpenSUSE Tumbleweed / openSUSE Leap 42.1 / OS X 10.11.2
# Weblica Version used to test : 3.7.5
# Author : Ground0
   
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Weblica"
PREFIX="Weblica"
WINEVERSION="1.8"
EDITOR="empros GmbH"
APP_URL="http://www.weblica.ch"
AUTHOR="Ground0"
DOWNLOAD_URL="https://download.weblica.com/cms/weblica-3-current-setup.exe"
   
#Initialization
#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 2543

POL_Debug_Init
   
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$APP_URL" "$AUTHOR" "$PREFIX"
   
POL_Wine_SelectPrefix "$PREFIX"
#prefix must be created
POL_Wine_PrefixCreate "$WINEVERSION"
#main config
#Install some needed plugins
POL_Call POL_Install_ie8
Set_OS "winxp"

# Installation
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "$DOWNLOAD_URL"
POL_Wine "weblica-3-current-setup.exe"
POL_Wine_WaitExit "$TITLE"
   
# Create Shortcut
POL_Shortcut "weblica.exe" "$TITLE"
   
# Cleanup
POL_System_TmpDelete
  
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Ground0 Lundi 18 Janvier 2016 à 18:32
Ground0

Information

Cette mise à jour a été acceptée par l'équipe

Messages

Now the only needed is IE8. And works nicley

Differences

@@ -28,7 +28,8 @@
 #Initialization
 #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 2543
+
 POL_Debug_Init
    
 # Presentation

Nouveau code source

#!/usr/bin/env playonlinux-bash

# CHANGELOG
# [Ground0] (2015-06-02 08:45)
#   Initial Version
# [Ground0] (2015-06-03 17:15)
#   Remove some uneeded things.
# [Ground0] (2016-01-18 18:30)  
#   Removed everything except Weblica himself, and Works with wine 1.8 also on Mac OS X
# Date : (2015-06-02 08:45)
# Last revision : (2016-01-18 18:30)
# Wine version used : 1.8
# Distribution used to test : OpenSUSE Tumbleweed / openSUSE Leap 42.1 / OS X 10.11.2
# Weblica Version used to test : 3.7.5
# Author : Ground0
   
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Weblica"
PREFIX="Weblica"
WINEVERSION="1.8"
EDITOR="empros GmbH"
APP_URL="http://www.weblica.ch"
AUTHOR="Ground0"
DOWNLOAD_URL="https://download.weblica.com/cms/weblica-3-current-setup.exe"
   
#Initialization
#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 2543

POL_Debug_Init
   
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$APP_URL" "$AUTHOR" "$PREFIX"
   
POL_Wine_SelectPrefix "$PREFIX"
#prefix must be created
POL_Wine_PrefixCreate "$WINEVERSION"
#main config
#Install some needed plugins
POL_Call POL_Install_ie8
Set_OS "winxp"

# Installation
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "$DOWNLOAD_URL"
POL_Wine "weblica-3-current-setup.exe"
POL_Wine_WaitExit "$TITLE"
   
# Create Shortcut
POL_Shortcut "weblica.exe" "$TITLE"
   
# Cleanup
POL_System_TmpDelete
  
POL_SetupWindow_Close
exit 0

Réponses

Edité par petch

Ground0 Mercredi 3 Juin 2015 à 18:23
Ground0

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -0,0 +1,62 @@
+#!/usr/bin/env playonlinux-bash
+
+# CHANGELOG
+# [Ground0] (2015-06-02 08:45)
+#   Initial Version
+# [Ground0] (2015-06-03 17:15)
+#   Remove some uneeded things.
+   
+# Date : (2015-06-02 08:45)
+# Last revision : (2015-06-03 17:15)
+# Wine version used : 1.7.44
+# Distribution used to test : OpenSUSE Tumbleweed
+# Weblica Version used to test : 3.7.3
+# Author : Ground0
+   
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+   
+TITLE="Weblica"
+PREFIX="Weblica"
+WINEVERSION="1.7.44"
+EDITOR="empros GmbH"
+APP_URL="http://www.weblica.ch"
+AUTHOR="Ground0"
+DOWNLOAD_URL="https://download.weblica.com/cms/weblica-3.7.3-setup.exe"
+   
+#Initialization
+#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
+   
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$APP_URL" "$AUTHOR" "$PREFIX"
+   
+POL_Wine_SelectPrefix "$PREFIX"
+#prefix must be created
+POL_Wine_PrefixCreate "$WINEVERSION"
+#main config
+#Install some needed plugins
+POL_Call POL_Install_vcrun6
+POL_Call POL_Install_vcrun2005
+POL_Call POL_Install_vcrun2008
+POL_Call POL_Install_wsh57
+POL_Call POL_Install_ie8
+Set_OS "winxp"
+  
+# Installation
+POL_System_TmpCreate "$PREFIX"
+cd $POL_System_TmpDir
+POL_Download "$DOWNLOAD_URL"
+POL_Wine "weblica-3.7.3-setup.exe"
+POL_Wine_WaitExit "$TITLE"
+   
+# Create Shortcut
+POL_Shortcut "weblica.exe" "$TITLE"
+   
+# Cleanup
+POL_System_TmpDelete
+  
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash

# CHANGELOG
# [Ground0] (2015-06-02 08:45)
#   Initial Version
# [Ground0] (2015-06-03 17:15)
#   Remove some uneeded things.
   
# Date : (2015-06-02 08:45)
# Last revision : (2015-06-03 17:15)
# Wine version used : 1.7.44
# Distribution used to test : OpenSUSE Tumbleweed
# Weblica Version used to test : 3.7.3
# Author : Ground0
   
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Weblica"
PREFIX="Weblica"
WINEVERSION="1.7.44"
EDITOR="empros GmbH"
APP_URL="http://www.weblica.ch"
AUTHOR="Ground0"
DOWNLOAD_URL="https://download.weblica.com/cms/weblica-3.7.3-setup.exe"
   
#Initialization
#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
   
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$APP_URL" "$AUTHOR" "$PREFIX"
   
POL_Wine_SelectPrefix "$PREFIX"
#prefix must be created
POL_Wine_PrefixCreate "$WINEVERSION"
#main config
#Install some needed plugins
POL_Call POL_Install_vcrun6
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_wsh57
POL_Call POL_Install_ie8
Set_OS "winxp"
  
# Installation
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "$DOWNLOAD_URL"
POL_Wine "weblica-3.7.3-setup.exe"
POL_Wine_WaitExit "$TITLE"
   
# Create Shortcut
POL_Shortcut "weblica.exe" "$TITLE"
   
# Cleanup
POL_System_TmpDelete
  
POL_SetupWindow_Close
exit 0

Réponses

Mercredi 3 Juin 2015 à 18:24
Now the final Version for now...
Mercredi 3 Juin 2015 à 18:26
Excellent! It looks very clean. Approved. :D
Ground0 Mercredi 3 Juin 2015 à 17:17
Ground0

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Corrected Version

Differences

@@ -0,0 +1,62 @@
+#!/bin/bash
+ 
+# CHANGELOG
+# [Ground0] (2015-06-02 08:45)
+#   Initial Version
+# [Ground0] (2015-06-03 17:15)
+#   Remove some uneeded things.
+  
+# Date : (2015-06-02 08:45)
+# Last revision : (2015-06-03 17:15)
+# Wine version used : 1.7.44
+# Distribution used to test : OpenSUSE Tumbleweed
+# Weblica Version used to test : 3.7.3
+# Author : Ground0
+  
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="Weblica"
+PREFIX="Weblica"
+WINEVERSION="1.7.44"
+EDITOR="empros GmbH"
+APP_URL="http://www.weblica.ch"
+AUTHOR="Ground0"
+DOWNLOAD_URL="https://download.weblica.com/cms/weblica-3.7.3-setup.exe"
+  
+#Initialization
+#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
+  
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$APP_URL" "$AUTHOR" "$PREFIX"
+  
+POL_Wine_SelectPrefix "$PREFIX"
+#prefix must be created
+POL_Wine_PrefixCreate "$WINEVERSION"
+#main config
+#Install some needed plugins
+POL_Call POL_Install_vcrun6
+POL_Call POL_Install_vcrun2005
+POL_Call POL_Install_vcrun2008
+POL_Call POL_Install_wsh57
+POL_Call POL_Install_ie8
+Set_OS "winxp"
+ 
+# Installation
+POL_System_TmpCreate "$PREFIX"
+cd $POL_System_TmpDir
+POL_Download "$DOWNLOAD_URL"
+POL_Wine "weblica-3.7.3-setup.exe"
+POL_Wine_WaitExit "$TITLE"
+  
+# Create Shortcut
+POL_Shortcut "weblica.exe" "$TITLE"
+  
+# Cleanup
+POL_System_TmpDelete
+ 
+POL_SetupWindow_Close
+exit 0 
\ No newline at end of file

Nouveau code source

#!/bin/bash
 
# CHANGELOG
# [Ground0] (2015-06-02 08:45)
#   Initial Version
# [Ground0] (2015-06-03 17:15)
#   Remove some uneeded things.
  
# Date : (2015-06-02 08:45)
# Last revision : (2015-06-03 17:15)
# Wine version used : 1.7.44
# Distribution used to test : OpenSUSE Tumbleweed
# Weblica Version used to test : 3.7.3
# Author : Ground0
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Weblica"
PREFIX="Weblica"
WINEVERSION="1.7.44"
EDITOR="empros GmbH"
APP_URL="http://www.weblica.ch"
AUTHOR="Ground0"
DOWNLOAD_URL="https://download.weblica.com/cms/weblica-3.7.3-setup.exe"
  
#Initialization
#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
  
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$APP_URL" "$AUTHOR" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
#prefix must be created
POL_Wine_PrefixCreate "$WINEVERSION"
#main config
#Install some needed plugins
POL_Call POL_Install_vcrun6
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_wsh57
POL_Call POL_Install_ie8
Set_OS "winxp"
 
# Installation
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "$DOWNLOAD_URL"
POL_Wine "weblica-3.7.3-setup.exe"
POL_Wine_WaitExit "$TITLE"
  
# Create Shortcut
POL_Shortcut "weblica.exe" "$TITLE"
  
# Cleanup
POL_System_TmpDelete
 
POL_SetupWindow_Close
exit 0 

Réponses

Mercredi 3 Juin 2015 à 17:19
And this is testing working correctly? The script itself looks good to me.
Mercredi 3 Juin 2015 à 18:02
Yes it works... The old #!/usr/bin/env playonlinux-bash i was using it from here: http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_1:_Getting_to_know_Bash
Mercredi 3 Juin 2015 à 18:08
I forget... PlayonMac was not tested becuase i didn't have one here with a OSX newer than 10.5 ... it should work too ...
Mercredi 3 Juin 2015 à 18:12
Ok. That is my bad. I didn't know that we changed that (both will work, but I didn't know that we changed that particular part of our docs.). Use what the docs said. Sorry about that. With the growing size of the wiki, sometimes it is hard to keep up on changes. ;)

We will leave it in mac testing and go from there. Go ahead and switch the #! statement back to the playonlinux-bash one, and we can approve it.
Mercredi 3 Juin 2015 à 18:14
I have also changed the category to "Development", as that would be the appropriate place for that.
Ground0 Mardi 2 Juin 2015 à 8:46
Ground0

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

The Initial Version who works for now.

Differences

@@ -0,0 +1,65 @@
+#!/usr/bin/env playonlinux-bash
+
+# CHANGELOG
+# [Ground0] (2015-06-02 08:45)
+#   Initial Version
+ 
+# Date : (2015-06-02 08:45)
+# Last revision : (2015-06-02 08:45)
+# Wine version used : 1.7.44
+# Distribution used to test : OpenSUSE Tumbleweed
+# Weblica Version used to test : 3.7.3
+# Author : Ground0
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Weblica"
+PREFIX="Weblica"
+WORKING_WINE_VERSION="1.7.44"
+WINEVERSION="1.7.44"
+EDITOR="empros GmbH"
+APP_URL="http://www.weblica.ch"
+AUTHOR="Ground0"
+DOWNLOAD_URL="https://download.weblica.com/cms/weblica-3.7.3-setup.exe"
+ 
+#Initialization
+#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
+ 
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$APP_URL" "$AUTHOR" "$PREFIX"
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+#prefix must be created
+POL_Wine_PrefixCreate "$WINEVERSION"
+#main config
+Set_OS "winxp"
+#Install some needed plugins
+POL_Call POL_Install_vcrun6
+POL_Call POL_Install_vcrun2005
+POL_Call POL_Install_vcrun2008
+POL_Call POL_Install_wsh57
+#POL_Call POL_Install_ie6
+Set_OS "winxp"
+POL_Call POL_Install_ie8
+Set_OS "winxp"
+
+# Installation
+POL_System_TmpCreate "$PREFIX"
+cd $POL_System_TmpDir
+POL_Download "$DOWNLOAD_URL"
+POL_Wine "weblica-3.7.3-setup.exe"
+POL_Wine_WaitExit "$TITLE"
+ 
+# Create Shortcut
+POL_Shortcut "weblica.exe" "$TITLE"
+ 
+# Cleanup
+POL_System_TmpDelete
+
+POL_SetupWindow_Close
+exit 0 
+ 

Nouveau code source

#!/usr/bin/env playonlinux-bash

# CHANGELOG
# [Ground0] (2015-06-02 08:45)
#   Initial Version
 
# Date : (2015-06-02 08:45)
# Last revision : (2015-06-02 08:45)
# Wine version used : 1.7.44
# Distribution used to test : OpenSUSE Tumbleweed
# Weblica Version used to test : 3.7.3
# Author : Ground0
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Weblica"
PREFIX="Weblica"
WORKING_WINE_VERSION="1.7.44"
WINEVERSION="1.7.44"
EDITOR="empros GmbH"
APP_URL="http://www.weblica.ch"
AUTHOR="Ground0"
DOWNLOAD_URL="https://download.weblica.com/cms/weblica-3.7.3-setup.exe"
 
#Initialization
#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
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$APP_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
#prefix must be created
POL_Wine_PrefixCreate "$WINEVERSION"
#main config
Set_OS "winxp"
#Install some needed plugins
POL_Call POL_Install_vcrun6
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_wsh57
#POL_Call POL_Install_ie6
Set_OS "winxp"
POL_Call POL_Install_ie8
Set_OS "winxp"

# Installation
POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "$DOWNLOAD_URL"
POL_Wine "weblica-3.7.3-setup.exe"
POL_Wine_WaitExit "$TITLE"
 
# Create Shortcut
POL_Shortcut "weblica.exe" "$TITLE"
 
# Cleanup
POL_System_TmpDelete

POL_SetupWindow_Close
exit 0 
 

Réponses

Mercredi 3 Juin 2015 à 16:45
So, for the declaration at the top, just use the normal #!/bin/bash statement. Nothing fancy is needed. You also have redundant variables (WINEVERSION and WORKING_WINE_VERSION). There is no need to have both, so just use WINEVERSION where needed. winxp is default for Wine, so does it really need to be changed 3 times in the script? I know that some installers (like ie6) will change the Wine Windows version and leave it that way; is that the case here? If so, you can drop the first Set_OS "winxp" statement, and just use the others when you need them.
Mercredi 3 Juin 2015 à 17:14
Ok i will correct it...