Logos Bible Software – Supported software – PlayOnLinux – Run your Windows applications on Linux easily!

boardgamesaz

Wednesday 26 January 2022 at 10:29

boardgamesaz
Anonymous

Message

A good article, a good book can change the fate of so many people. Thanks for the valuable sharing, please keep it up to date and I will always follow you.

poppy playtime

 

 

Replies

m0rvj

Tuesday 9 November 2021 at 1:19

m0rvj
Anonymous

Warning

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

logo Try this update

Message

I realised as per bug https://bugs.winehq.org/show_bug.cgi?id=48847 that dotnet48 will not install on newer versions of wine. I’m still not sure this is quite right but I think it has a better chance of working. To be honest users might do better to use the ferion script or the wasta packages. See https://appdb.winehq.org/objectManager.php?sClass=version&iId=39484 for up to date install guides.

Differences

@@ -1,7 +1,7 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2021-09-12 09:30)
   
-# Wine version used : 6.17
+# Wine version used : 5.11
 # Distribution used to test : Kubuntu 21.04 amd64
 # Author : Revd John Goodman
 # Licence : GPLv3
@@ -9,7 +9,10 @@
  
 # CHANGELOG
 # [Revd John Goodman] (2021-09-12 09:30)
-#    First script.
+#    Change to wine 5.11 to fix dotnet48 install.
+#    Add popup to tell user they can update to more recent wine once completed.
+# [Revd John Goodman] (2021-09-12 09:30)
+#     First script.
 #    Install wine 6.17 or newer
 #    winetricks corefonts
 #    winetricks settings fontsmooth=rgb
@@ -52,7 +55,7 @@
 
 POL_Wine_SelectPrefix "LogosBibleSoftware"
 POL_System_SetArch "auto"
-POL_Wine_PrefixCreate "6.17"
+POL_Wine_PrefixCreate "5.11"
 
 
 POL_SetupWindow_wait "$(eval_gettext 'Installation in progress.')" "$TITLE"
@@ -107,6 +110,6 @@
 POL_SetupWindow_wait "$(eval_gettext 'Creating Shortcut')" "$TITLE"
 POL_Shortcut "Logos.exe" "$TITLE"
 
-POL_SetupWindow_message "$(eval_gettext 'Setup Complete')" "$TITLE"
+POL_SetupWindow_message "$(eval_gettext 'Setup Complete, you may like to change wine version to more recent.')" "$TITLE"
 POL_SetupWindow_Close
 exit

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2021-09-12 09:30)
  
# Wine version used : 5.11
# Distribution used to test : Kubuntu 21.04 amd64
# Author : Revd John Goodman
# Licence : GPLv3
# PlayOnLinux: 4.3.4
 
# CHANGELOG
# [Revd John Goodman] (2021-09-12 09:30)
#    Change to wine 5.11 to fix dotnet48 install.
#    Add popup to tell user they can update to more recent wine once completed.
# [Revd John Goodman] (2021-09-12 09:30)
#     First script.
#    Install wine 6.17 or newer
#    winetricks corefonts
#    winetricks settings fontsmooth=rgb
#    winetricks dotnet48
#    winetricks settings renderer=gdi (you might need to set the reg key manually)
#    Install the Logos.msi download but don't run it.
#    wine64 reg add "HKCU\\Software\\Wine\\AppDefaults\\LogosIndexer.exe" /v Version /t REG_SZ /d vista /f
#    Run Logos installer
#    Create Shortcut
# [Revd John Goodman] (2021-09-12 21:30)
#    Had to revise the code for registry entries

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

#prevent mono installation
export WINEDLLOVERRIDES="mscoree,mshtml="
export TITLE="Logos Bible Software"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Faithlife" "http://www.logos.com" "Revd John Goodman" "LogosBibleSoftware"
POL_SetupWindow_message "$(eval_gettext 'For amd64 systems only. No 32bit support. Installing .NET can take 30 mins - it has not frozen. A free / paid account is required to use this software, visit: http://www.logos.com')" "$TITLE"

POL_System_TmpCreate "LogosBibleSoftware"

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://downloads.logoscdn.com/LBS9/Installer/9.7.0.0025/Logos-x64.msi"
    INSTALLER="$POL_System_TmpDir/Logos-x64.msi"
fi

POL_Wine_SelectPrefix "LogosBibleSoftware"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "5.11"


POL_SetupWindow_wait "$(eval_gettext 'Installation in progress.')" "$TITLE"

# Install dependencies
POL_SetupWindow_wait "$(eval_gettext 'Installing Microsoft Corefonts')" "Corefonts"
POL_Call POL_Install_corefonts
POL_Call POL_Install_tahoma2
POL_SetupWindow_wait "$(eval_gettext 'Installing .NET Framework. Please be aware that setting up .NET can take about 30mins. Setup has not hung or crashed.')" "$TITLE"
POL_Call POL_Install_dotnet480

POL_Wine_OverrideDLL "native" "mscoree"

###Set required wine options
#Font smoothing
POL_SetupWindow_wait "$(eval_gettext 'Enabling Font Smoothing')" "Fontsmoothing"
POL_Call POL_Function_FontsSmoothRGB

#Fix graphics draw glitches
#set manually
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Please wait setting Renderer to GDI...')" "$TITLE"
cat << EOF > "$REPERTOIRE/tmp/renderer.reg"
REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"renderer"="gdi"
EOF
POL_Wine regedit "$REPERTOIRE/tmp/renderer.reg"


#Set required win version (win10 might also work)
POL_SetupWindow_wait "$(eval_gettext 'Setting Windows Version')" "win7"
Set_OS "win7"

#The indexer exe needs to be set to vista or it crashes (strange bug, took ages to figure)
POL_SetupWindow_wait "$(eval_gettext '')" "$TITLE"
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Please wait setting LogosIndexer.exe to vista...')" "$TITLE"
cat << EOF > "$REPERTOIRE/tmp/Indexer.reg"
REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\AppDefaults\LogosIndexer.exe]
"Version"="vista"
EOF
POL_Wine regedit "$REPERTOIRE/tmp/Indexer.reg"

#run installer
POL_SetupWindow_wait "$(eval_gettext 'Running Logos Installer msi')" "$TITLE"
POL_Wine "$INSTALLER"

#cleanup
POL_System_TmpDelete

#create shortcut
POL_SetupWindow_wait "$(eval_gettext 'Creating Shortcut')" "$TITLE"
POL_Shortcut "Logos.exe" "$TITLE"

POL_SetupWindow_message "$(eval_gettext 'Setup Complete, you may like to change wine version to more recent.')" "$TITLE"
POL_SetupWindow_Close
exit

Replies

m0rvj

Monday 13 September 2021 at 1:14

m0rvj
Anonymous

Information

This update has been approved by the team.

logo Try this update

Message

I’ve realised there were some problems setting the registry entries that way so I’ve revised. Unfortunately since POL_Install_dotnet480 is broken it doesn’t result in a working install.

Differences

@@ -9,7 +9,7 @@
  
 # CHANGELOG
 # [Revd John Goodman] (2021-09-12 09:30)
-#     First script.
+#    First script.
 #    Install wine 6.17 or newer
 #    winetricks corefonts
 #    winetricks settings fontsmooth=rgb
@@ -19,18 +19,21 @@
 #    wine64 reg add "HKCU\\Software\\Wine\\AppDefaults\\LogosIndexer.exe" /v Version /t REG_SZ /d vista /f
 #    Run Logos installer
 #    Create Shortcut
+# [Revd John Goodman] (2021-09-12 21:30)
+#    Had to revise the code for registry entries
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
-POL_Wine_OverrideDLL "native" "mscoree"
+#prevent mono installation
+export WINEDLLOVERRIDES="mscoree,mshtml="
 export TITLE="Logos Bible Software"
 
 POL_SetupWindow_Init
 POL_Debug_Init
 
 POL_SetupWindow_presentation "$TITLE" "Faithlife" "http://www.logos.com" "Revd John Goodman" "LogosBibleSoftware"
-POL_SetupWindow_textbox "A free / paid account is required to use this software, visit: http://www.logos.com" "$TITLE"
+POL_SetupWindow_message "$(eval_gettext 'For amd64 systems only. No 32bit support. Installing .NET can take 30 mins - it has not frozen. A free / paid account is required to use this software, visit: http://www.logos.com')" "$TITLE"
 
 POL_System_TmpCreate "LogosBibleSoftware"
 
@@ -47,43 +50,61 @@
     INSTALLER="$POL_System_TmpDir/Logos-x64.msi"
 fi
 
-POL_Wine_SelectPrefix "LogosBible"
+POL_Wine_SelectPrefix "LogosBibleSoftware"
+POL_System_SetArch "auto"
 POL_Wine_PrefixCreate "6.17"
 
 
 POL_SetupWindow_wait "$(eval_gettext 'Installation in progress.')" "$TITLE"
 
 # Install dependencies
-POL_SetupWindow_message "$(eval_gettext 'Installing Microsoft Corefonts')" "Corefonts"
+POL_SetupWindow_wait "$(eval_gettext 'Installing Microsoft Corefonts')" "Corefonts"
 POL_Call POL_Install_corefonts
-POL_SetupWindow_message "$(eval_gettext 'Installing .NET Framework')" "Microsoft"
+POL_Call POL_Install_tahoma2
+POL_SetupWindow_wait "$(eval_gettext 'Installing .NET Framework. Please be aware that setting up .NET can take about 30mins. Setup has not hung or crashed.')" "$TITLE"
 POL_Call POL_Install_dotnet480
 
+POL_Wine_OverrideDLL "native" "mscoree"
+
 ###Set required wine options
 #Font smoothing
-POL_SetupWindow_message "$(eval_gettext 'Enabling Font Smoothing')" "Fontsmoothing"
-POL_Winetricks FontSmoothRGB
+POL_SetupWindow_wait "$(eval_gettext 'Enabling Font Smoothing')" "Fontsmoothing"
+POL_Call POL_Function_FontsSmoothRGB
 
 #Fix graphics draw glitches
-POL_SetupWindow_message "$(eval_gettext 'Setting Graphics Option')" "Renderer GDI"
-POL_Call POL_Wine_Direct3D "DirectDrawRenderer" "gdi"
+#set manually
+POL_SetupWindow_wait_next_signal "$(eval_gettext 'Please wait setting Renderer to GDI...')" "$TITLE"
+cat << EOF > "$REPERTOIRE/tmp/renderer.reg"
+REGEDIT4
+[HKEY_CURRENT_USER\Software\Wine\Direct3D]
+"renderer"="gdi"
+EOF
+POL_Wine regedit "$REPERTOIRE/tmp/renderer.reg"
+
+
 #Set required win version (win10 might also work)
-POL_SetupWindow_message "$(eval_gettext 'Setting Windows Version')" "win7"
+POL_SetupWindow_wait "$(eval_gettext 'Setting Windows Version')" "win7"
 Set_OS "win7"
 
 #The indexer exe needs to be set to vista or it crashes (strange bug, took ages to figure)
-POL_SetupWindow_message "$(eval_gettext 'Configuring Logos Indexer only to vista')" "$TITLE"
-POL_Wine "reg add "HKCU\\Software\\Wine\\AppDefaults\\LogosIndexer.exe" /v Version /t REG_SZ /d vista /f"
+POL_SetupWindow_wait "$(eval_gettext '')" "$TITLE"
+POL_SetupWindow_wait_next_signal "$(eval_gettext 'Please wait setting LogosIndexer.exe to vista...')" "$TITLE"
+cat << EOF > "$REPERTOIRE/tmp/Indexer.reg"
+REGEDIT4
+[HKEY_CURRENT_USER\Software\Wine\AppDefaults\LogosIndexer.exe]
+"Version"="vista"
+EOF
+POL_Wine regedit "$REPERTOIRE/tmp/Indexer.reg"
 
 #run installer
-POL_SetupWindow_message "$(eval_gettext 'Running Logos Installer msi')" "$TITLE"
+POL_SetupWindow_wait "$(eval_gettext 'Running Logos Installer msi')" "$TITLE"
 POL_Wine "$INSTALLER"
 
 #cleanup
 POL_System_TmpDelete
 
 #create shortcut
-POL_SetupWindow_message "$(eval_gettext 'Creating Shortcut')" "$TITLE"
+POL_SetupWindow_wait "$(eval_gettext 'Creating Shortcut')" "$TITLE"
 POL_Shortcut "Logos.exe" "$TITLE"
 
 POL_SetupWindow_message "$(eval_gettext 'Setup Complete')" "$TITLE"

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2021-09-12 09:30)
  
# Wine version used : 6.17
# Distribution used to test : Kubuntu 21.04 amd64
# Author : Revd John Goodman
# Licence : GPLv3
# PlayOnLinux: 4.3.4
 
# CHANGELOG
# [Revd John Goodman] (2021-09-12 09:30)
#    First script.
#    Install wine 6.17 or newer
#    winetricks corefonts
#    winetricks settings fontsmooth=rgb
#    winetricks dotnet48
#    winetricks settings renderer=gdi (you might need to set the reg key manually)
#    Install the Logos.msi download but don't run it.
#    wine64 reg add "HKCU\\Software\\Wine\\AppDefaults\\LogosIndexer.exe" /v Version /t REG_SZ /d vista /f
#    Run Logos installer
#    Create Shortcut
# [Revd John Goodman] (2021-09-12 21:30)
#    Had to revise the code for registry entries

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

#prevent mono installation
export WINEDLLOVERRIDES="mscoree,mshtml="
export TITLE="Logos Bible Software"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Faithlife" "http://www.logos.com" "Revd John Goodman" "LogosBibleSoftware"
POL_SetupWindow_message "$(eval_gettext 'For amd64 systems only. No 32bit support. Installing .NET can take 30 mins - it has not frozen. A free / paid account is required to use this software, visit: http://www.logos.com')" "$TITLE"

POL_System_TmpCreate "LogosBibleSoftware"

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://downloads.logoscdn.com/LBS9/Installer/9.7.0.0025/Logos-x64.msi"
    INSTALLER="$POL_System_TmpDir/Logos-x64.msi"
fi

POL_Wine_SelectPrefix "LogosBibleSoftware"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "6.17"


POL_SetupWindow_wait "$(eval_gettext 'Installation in progress.')" "$TITLE"

# Install dependencies
POL_SetupWindow_wait "$(eval_gettext 'Installing Microsoft Corefonts')" "Corefonts"
POL_Call POL_Install_corefonts
POL_Call POL_Install_tahoma2
POL_SetupWindow_wait "$(eval_gettext 'Installing .NET Framework. Please be aware that setting up .NET can take about 30mins. Setup has not hung or crashed.')" "$TITLE"
POL_Call POL_Install_dotnet480

POL_Wine_OverrideDLL "native" "mscoree"

###Set required wine options
#Font smoothing
POL_SetupWindow_wait "$(eval_gettext 'Enabling Font Smoothing')" "Fontsmoothing"
POL_Call POL_Function_FontsSmoothRGB

#Fix graphics draw glitches
#set manually
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Please wait setting Renderer to GDI...')" "$TITLE"
cat << EOF > "$REPERTOIRE/tmp/renderer.reg"
REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"renderer"="gdi"
EOF
POL_Wine regedit "$REPERTOIRE/tmp/renderer.reg"


#Set required win version (win10 might also work)
POL_SetupWindow_wait "$(eval_gettext 'Setting Windows Version')" "win7"
Set_OS "win7"

#The indexer exe needs to be set to vista or it crashes (strange bug, took ages to figure)
POL_SetupWindow_wait "$(eval_gettext '')" "$TITLE"
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Please wait setting LogosIndexer.exe to vista...')" "$TITLE"
cat << EOF > "$REPERTOIRE/tmp/Indexer.reg"
REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\AppDefaults\LogosIndexer.exe]
"Version"="vista"
EOF
POL_Wine regedit "$REPERTOIRE/tmp/Indexer.reg"

#run installer
POL_SetupWindow_wait "$(eval_gettext 'Running Logos Installer msi')" "$TITLE"
POL_Wine "$INSTALLER"

#cleanup
POL_System_TmpDelete

#create shortcut
POL_SetupWindow_wait "$(eval_gettext 'Creating Shortcut')" "$TITLE"
POL_Shortcut "Logos.exe" "$TITLE"

POL_SetupWindow_message "$(eval_gettext 'Setup Complete')" "$TITLE"
POL_SetupWindow_Close
exit

Replies

Dadu042

Script approved, I hope I will have the time to look at POL_Install_dotnet480

m0rvj

Sunday 12 September 2021 at 16:10

m0rvj
Anonymous

Warning

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

logo Try this update

Message

Apologies, didn’t realise this needed to go into the forum first. Anyway here is the latest. I still need a bit of help.

Differences

@@ -0,0 +1,91 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2021-09-12 09:30)
+  
+# Wine version used : 6.17
+# Distribution used to test : Kubuntu 21.04 amd64
+# Author : Revd John Goodman
+# Licence : GPLv3
+# PlayOnLinux: 4.3.4
+ 
+# CHANGELOG
+# [Revd John Goodman] (2021-09-12 09:30)
+#     First script.
+#    Install wine 6.17 or newer
+#    winetricks corefonts
+#    winetricks settings fontsmooth=rgb
+#    winetricks dotnet48
+#    winetricks settings renderer=gdi (you might need to set the reg key manually)
+#    Install the Logos.msi download but don't run it.
+#    wine64 reg add "HKCU\\Software\\Wine\\AppDefaults\\LogosIndexer.exe" /v Version /t REG_SZ /d vista /f
+#    Run Logos installer
+#    Create Shortcut
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+POL_Wine_OverrideDLL "native" "mscoree"
+export TITLE="Logos Bible Software"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Faithlife" "http://www.logos.com" "Revd John Goodman" "LogosBibleSoftware"
+POL_SetupWindow_textbox "A free / paid account is required to use this software, visit: http://www.logos.com" "$TITLE"
+
+POL_System_TmpCreate "LogosBibleSoftware"
+
+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://downloads.logoscdn.com/LBS9/Installer/9.7.0.0025/Logos-x64.msi"
+    INSTALLER="$POL_System_TmpDir/Logos-x64.msi"
+fi
+
+POL_Wine_SelectPrefix "LogosBible"
+POL_Wine_PrefixCreate "6.17"
+
+
+POL_SetupWindow_wait "$(eval_gettext 'Installation in progress.')" "$TITLE"
+
+# Install dependencies
+POL_SetupWindow_message "$(eval_gettext 'Installing Microsoft Corefonts')" "Corefonts"
+POL_Call POL_Install_corefonts
+POL_SetupWindow_message "$(eval_gettext 'Installing .NET Framework')" "Microsoft"
+POL_Call POL_Install_dotnet480
+
+###Set required wine options
+#Font smoothing
+POL_SetupWindow_message "$(eval_gettext 'Enabling Font Smoothing')" "Fontsmoothing"
+POL_Winetricks FontSmoothRGB
+
+#Fix graphics draw glitches
+POL_SetupWindow_message "$(eval_gettext 'Setting Graphics Option')" "Renderer GDI"
+POL_Call POL_Wine_Direct3D "DirectDrawRenderer" "gdi"
+#Set required win version (win10 might also work)
+POL_SetupWindow_message "$(eval_gettext 'Setting Windows Version')" "win7"
+Set_OS "win7"
+
+#The indexer exe needs to be set to vista or it crashes (strange bug, took ages to figure)
+POL_SetupWindow_message "$(eval_gettext 'Configuring Logos Indexer only to vista')" "$TITLE"
+POL_Wine "reg add "HKCU\\Software\\Wine\\AppDefaults\\LogosIndexer.exe" /v Version /t REG_SZ /d vista /f"
+
+#run installer
+POL_SetupWindow_message "$(eval_gettext 'Running Logos Installer msi')" "$TITLE"
+POL_Wine "$INSTALLER"
+
+#cleanup
+POL_System_TmpDelete
+
+#create shortcut
+POL_SetupWindow_message "$(eval_gettext 'Creating Shortcut')" "$TITLE"
+POL_Shortcut "Logos.exe" "$TITLE"
+
+POL_SetupWindow_message "$(eval_gettext 'Setup Complete')" "$TITLE"
+POL_SetupWindow_Close
+exit

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2021-09-12 09:30)
  
# Wine version used : 6.17
# Distribution used to test : Kubuntu 21.04 amd64
# Author : Revd John Goodman
# Licence : GPLv3
# PlayOnLinux: 4.3.4
 
# CHANGELOG
# [Revd John Goodman] (2021-09-12 09:30)
#     First script.
#    Install wine 6.17 or newer
#    winetricks corefonts
#    winetricks settings fontsmooth=rgb
#    winetricks dotnet48
#    winetricks settings renderer=gdi (you might need to set the reg key manually)
#    Install the Logos.msi download but don't run it.
#    wine64 reg add "HKCU\\Software\\Wine\\AppDefaults\\LogosIndexer.exe" /v Version /t REG_SZ /d vista /f
#    Run Logos installer
#    Create Shortcut

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

POL_Wine_OverrideDLL "native" "mscoree"
export TITLE="Logos Bible Software"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Faithlife" "http://www.logos.com" "Revd John Goodman" "LogosBibleSoftware"
POL_SetupWindow_textbox "A free / paid account is required to use this software, visit: http://www.logos.com" "$TITLE"

POL_System_TmpCreate "LogosBibleSoftware"

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://downloads.logoscdn.com/LBS9/Installer/9.7.0.0025/Logos-x64.msi"
    INSTALLER="$POL_System_TmpDir/Logos-x64.msi"
fi

POL_Wine_SelectPrefix "LogosBible"
POL_Wine_PrefixCreate "6.17"


POL_SetupWindow_wait "$(eval_gettext 'Installation in progress.')" "$TITLE"

# Install dependencies
POL_SetupWindow_message "$(eval_gettext 'Installing Microsoft Corefonts')" "Corefonts"
POL_Call POL_Install_corefonts
POL_SetupWindow_message "$(eval_gettext 'Installing .NET Framework')" "Microsoft"
POL_Call POL_Install_dotnet480

###Set required wine options
#Font smoothing
POL_SetupWindow_message "$(eval_gettext 'Enabling Font Smoothing')" "Fontsmoothing"
POL_Winetricks FontSmoothRGB

#Fix graphics draw glitches
POL_SetupWindow_message "$(eval_gettext 'Setting Graphics Option')" "Renderer GDI"
POL_Call POL_Wine_Direct3D "DirectDrawRenderer" "gdi"
#Set required win version (win10 might also work)
POL_SetupWindow_message "$(eval_gettext 'Setting Windows Version')" "win7"
Set_OS "win7"

#The indexer exe needs to be set to vista or it crashes (strange bug, took ages to figure)
POL_SetupWindow_message "$(eval_gettext 'Configuring Logos Indexer only to vista')" "$TITLE"
POL_Wine "reg add "HKCU\\Software\\Wine\\AppDefaults\\LogosIndexer.exe" /v Version /t REG_SZ /d vista /f"

#run installer
POL_SetupWindow_message "$(eval_gettext 'Running Logos Installer msi')" "$TITLE"
POL_Wine "$INSTALLER"

#cleanup
POL_System_TmpDelete

#create shortcut
POL_SetupWindow_message "$(eval_gettext 'Creating Shortcut')" "$TITLE"
POL_Shortcut "Logos.exe" "$TITLE"

POL_SetupWindow_message "$(eval_gettext 'Setup Complete')" "$TITLE"
POL_SetupWindow_Close
exit

Replies

Dadu042

Script approved.

m0rvj

Sunday 12 September 2021 at 11:25

m0rvj
Anonymous

Warning

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

logo Try this update

Message

Its a fast learning curve. I’m not succeeding. Some of the ‘built in’ scripts just say “This script not more exists”.

So I feel this should work but it doesn’t.

Differences

@@ -0,0 +1,77 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2021-09-12 09:30)
+  
+# Wine version used : 6.17
+# Distribution used to test : Kubuntu 21.04 amd64
+# Author : Revd John Goodman
+# Licence : GPLv3
+# PlayOnLinux: 4.3.4
+ 
+# CHANGELOG
+# [Revd John Goodman] (2021-09-12 09:30)
+#     First script - Sequence.
+#*    Install wine 6.17 or newer
+#*    winetricks corefonts
+#*    winetricks settings fontsmooth=rgb
+#*    winetricks dotnet48
+#*    winetricks settings renderer=gdi (you might need to set the reg key manually)
+#*    Install the Logos.msi download but don't run it.
+#*    wine64 reg add "HKCU\\Software\\Wine\\AppDefaults\\LogosIndexer.exe" /v Version /t REG_SZ /d vista /f
+#*    Run Logos installer
+#*    Create Shortcut
+export WINEDLLOVERRIDES="mscoree,mshtml="
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "Logos Bible Software" "Faithlife" "http://www.logos.com" "Revd John Goodman" "LogosBibleSoftware"
+
+POL_System_TmpCreate "LogosBibleSoftware"
+
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "Please select the installation file to run." "Logos Bible Software"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "https://downloads.logoscdn.com/LBS9/Installer/9.7.0.0025/Logos-x64.msi"
+    INSTALLER="$POL_System_TmpDir/Logos-x64.msi"
+fi
+
+POL_Wine_SelectPrefix "LogosBible"
+POL_Wine_PrefixCreate "6.17"
+
+
+POL_SetupWindow_wait "Installation in progress." "Logos Bible Software"
+
+# Install dependencies
+POL_SetupWindow_wait "Installing Microsoft Corefonts" "Corefonts"
+POL_Call POL_Install_corefonts
+POL_SetupWindow_wait "Enabling Font Smoothing" "Fontsmoothing"
+POL_Call POL_Install_FontSmoothRGB
+POL_SetupWindow_wait "Installing .NET Framework" "Microsoft"
+POL_Call POL_Install_dotnet480
+POL_SetupWindow_wait "Setting Graphics Option" "Renderer GDI"
+POL_Call POL_Wine_Direct3D "DirectDrawRenderer" "gdi"
+POL_SetupWindow_wait "Setting Windows Version" "win7"
+Set_OS "win7"
+POL_SetupWindow_wait "Configuring Logos Indexer only to vista" "Logos Bible Software"
+POL_Wine "reg add "HKCU\\Software\\Wine\\AppDefaults\\LogosIndexer.exe" /v Version /t REG_SZ /d vista /f"
+
+#run installer
+POL_SetupWindow_wait "Running Logos Installer msi" "Logos Bible Software"
+POL_Wine "$INSTALLER"
+
+#cleanup
+POL_System_TmpDelete
+
+#create shortcut
+POL_Shortcut "Logos.exe" "Logos Bible Software"
+
+POL_SetupWindow_Close
+exit

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2021-09-12 09:30)
  
# Wine version used : 6.17
# Distribution used to test : Kubuntu 21.04 amd64
# Author : Revd John Goodman
# Licence : GPLv3
# PlayOnLinux: 4.3.4
 
# CHANGELOG
# [Revd John Goodman] (2021-09-12 09:30)
#     First script - Sequence.
#*    Install wine 6.17 or newer
#*    winetricks corefonts
#*    winetricks settings fontsmooth=rgb
#*    winetricks dotnet48
#*    winetricks settings renderer=gdi (you might need to set the reg key manually)
#*    Install the Logos.msi download but don't run it.
#*    wine64 reg add "HKCU\\Software\\Wine\\AppDefaults\\LogosIndexer.exe" /v Version /t REG_SZ /d vista /f
#*    Run Logos installer
#*    Create Shortcut
export WINEDLLOVERRIDES="mscoree,mshtml="
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "Logos Bible Software" "Faithlife" "http://www.logos.com" "Revd John Goodman" "LogosBibleSoftware"

POL_System_TmpCreate "LogosBibleSoftware"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "Logos Bible Software"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "https://downloads.logoscdn.com/LBS9/Installer/9.7.0.0025/Logos-x64.msi"
    INSTALLER="$POL_System_TmpDir/Logos-x64.msi"
fi

POL_Wine_SelectPrefix "LogosBible"
POL_Wine_PrefixCreate "6.17"


POL_SetupWindow_wait "Installation in progress." "Logos Bible Software"

# Install dependencies
POL_SetupWindow_wait "Installing Microsoft Corefonts" "Corefonts"
POL_Call POL_Install_corefonts
POL_SetupWindow_wait "Enabling Font Smoothing" "Fontsmoothing"
POL_Call POL_Install_FontSmoothRGB
POL_SetupWindow_wait "Installing .NET Framework" "Microsoft"
POL_Call POL_Install_dotnet480
POL_SetupWindow_wait "Setting Graphics Option" "Renderer GDI"
POL_Call POL_Wine_Direct3D "DirectDrawRenderer" "gdi"
POL_SetupWindow_wait "Setting Windows Version" "win7"
Set_OS "win7"
POL_SetupWindow_wait "Configuring Logos Indexer only to vista" "Logos Bible Software"
POL_Wine "reg add "HKCU\\Software\\Wine\\AppDefaults\\LogosIndexer.exe" /v Version /t REG_SZ /d vista /f"

#run installer
POL_SetupWindow_wait "Running Logos Installer msi" "Logos Bible Software"
POL_Wine "$INSTALLER"

#cleanup
POL_System_TmpDelete

#create shortcut
POL_Shortcut "Logos.exe" "Logos Bible Software"

POL_SetupWindow_Close
exit

Replies

m0rvj

Sunday 12 September 2021 at 9:43

m0rvj
Anonymous

Warning

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

logo Try this update

Differences

@@ -0,0 +1,35 @@
+#!/usr/bin/env playonlinux-bash
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+POL_SetupWindow_Init
+
+POL_SetupWindow_presentation "Logos Bible Software" "Faithlife" "http://www.logos.com" "M0RVJ" "LogosBibleSoftware"
+
+POL_System_TmpCreate "LogosBibleSoftware"
+
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "Please select the installation file to run." "Logos Bible Software"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "https://downloads.logoscdn.com/LBS9/Installer/9.7.0.0025/Logos-x64.msi"
+    INSTALLER="$POL_System_TmpDir/Logos-x64.msi"
+fi
+
+POL_Wine_SelectPrefix "LogosBible"
+POL_Wine_PrefixCreate
+
+POL_SetupWindow_wait "Installation in progress." "Logos Bible Software"
+POL_Wine "$INSTALLER"
+
+POL_System_TmpDelete
+
+POL_Shortcut "Logos.exe" "Logos Bible Software"
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

POL_SetupWindow_Init

POL_SetupWindow_presentation "Logos Bible Software" "Faithlife" "http://www.logos.com" "M0RVJ" "LogosBibleSoftware"

POL_System_TmpCreate "LogosBibleSoftware"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "Logos Bible Software"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "https://downloads.logoscdn.com/LBS9/Installer/9.7.0.0025/Logos-x64.msi"
    INSTALLER="$POL_System_TmpDir/Logos-x64.msi"
fi

POL_Wine_SelectPrefix "LogosBible"
POL_Wine_PrefixCreate

POL_SetupWindow_wait "Installation in progress." "Logos Bible Software"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

POL_Shortcut "Logos.exe" "Logos Bible Software"

POL_SetupWindow_Close
exit

Replies