OBDwiz OBDII vehicle diagnostic program

Informations

Créateur Messages
kukulo Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 11939
Wine: 1.6.2

Retours d'expérience

Description

The OBDwiz is OBDII vehicle diagnostic program from www.scantool.net .

After the installation please create a com port in your virtual drive according the guide here: https://www.scantool.net/forum/index.php?topic=12001.0

Code source

#!/usr/bin/env playonlinux-bash

[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
WINE_VERSION="1.6.2"
TITLE="OBDwiz OBDII vehicle diagnostic program"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "OBDwiz installation" "Kukulo" "OBDwiz"

POL_Wine_SelectPrefix "OBDwiz2"
POL_Wine_PrefixCreate "$WINE_VERSION"
POL_System_TmpCreate "OBDwiz2"
POL_Call POL_Install_dotnet35
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://www.obdsoftware.net/downloads/obdwiz/current" 
        POL_Wine_WaitBefore "$TITLE"
        mv "$POL_System_TmpDir/current" "$POL_System_TmpDir/OBDwizSetup.exe"
        POL_Wine "$POL_System_TmpDir/OBDwizSetup.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
        SETUP_PATH="$APP_ANSWER"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine "$SETUP_PATH"
fi

POL_Wine_WaitExit "$TITLE"

POL_Shortcut "OBDwiz.exe" "OBDwiz"
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
petch Mercredi 28 Octobre 2015 à 22:02
petch

Information

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

Messages

Fix typo

Differences

@@ -18,7 +18,7 @@
         cd "$POL_System_TmpDir"
         POL_Download "https://www.obdsoftware.net/downloads/obdwiz/current" 
         POL_Wine_WaitBefore "$TITLE"
-        mv "$POL_System_TmpDir/current" "$POL_System_Tmpdir/OBDwizSetup.exe"
+        mv "$POL_System_TmpDir/current" "$POL_System_TmpDir/OBDwizSetup.exe"
         POL_Wine "$POL_System_TmpDir/OBDwizSetup.exe"
 elif [ "$INSTALL_METHOD" = "LOCAL" ]
 then

Nouveau code source

#!/usr/bin/env playonlinux-bash

[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
WINE_VERSION="1.6.2"
TITLE="OBDwiz OBDII vehicle diagnostic program"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "OBDwiz installation" "Kukulo" "OBDwiz"

POL_Wine_SelectPrefix "OBDwiz2"
POL_Wine_PrefixCreate "$WINE_VERSION"
POL_System_TmpCreate "OBDwiz2"
POL_Call POL_Install_dotnet35
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://www.obdsoftware.net/downloads/obdwiz/current" 
        POL_Wine_WaitBefore "$TITLE"
        mv "$POL_System_TmpDir/current" "$POL_System_TmpDir/OBDwizSetup.exe"
        POL_Wine "$POL_System_TmpDir/OBDwizSetup.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
        SETUP_PATH="$APP_ANSWER"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine "$SETUP_PATH"
fi

POL_Wine_WaitExit "$TITLE"

POL_Shortcut "OBDwiz.exe" "OBDwiz"
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

kukulo Mercredi 28 Octobre 2015 à 22:00
kukulo Anonymous

Warning

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

Messages

The move command does not work well. The installer crashes. The downloaded file was ok, but the mv command did not succeed.

Differences

@@ -18,8 +18,7 @@
         cd "$POL_System_TmpDir"
         POL_Download "https://www.obdsoftware.net/downloads/obdwiz/current" 
         POL_Wine_WaitBefore "$TITLE"
-        mv "$POL_System_TmpDir/current" "$POL_System_Tmpdir/OBDwizSetup.exe"
-        POL_Wine "$POL_System_TmpDir/OBDwizSetup.exe"
+        POL_Wine "$POL_System_TmpDir/current"
 elif [ "$INSTALL_METHOD" = "LOCAL" ]
 then
         POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"

Nouveau code source

#!/usr/bin/env playonlinux-bash

[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
WINE_VERSION="1.6.2"
TITLE="OBDwiz OBDII vehicle diagnostic program"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "OBDwiz installation" "Kukulo" "OBDwiz"

POL_Wine_SelectPrefix "OBDwiz2"
POL_Wine_PrefixCreate "$WINE_VERSION"
POL_System_TmpCreate "OBDwiz2"
POL_Call POL_Install_dotnet35
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://www.obdsoftware.net/downloads/obdwiz/current" 
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine "$POL_System_TmpDir/current"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
        SETUP_PATH="$APP_ANSWER"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine "$SETUP_PATH"
fi

POL_Wine_WaitExit "$TITLE"

POL_Shortcut "OBDwiz.exe" "OBDwiz"
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Anonymous
Mercredi 28 Octobre 2015 à 22:01
petch, the move command did not work for some reason, here is the code which works.
petch Mercredi 28 Octobre 2015 à 20:28
petch

Warning

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

Messages

$TITLE must match script name in the repository

POL_Call POL_Install_dotnet35 already checks and warns about ptrace_scope

Give correct name to downloaded installer

Differences

@@ -1,15 +1,13 @@
-#!/usr/bin/env bash
- 
+#!/usr/bin/env playonlinux-bash
+
 [ "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
 WINE_VERSION="1.6.2"
-TITLE="OBDwiz installation"
+TITLE="OBDwiz OBDII vehicle diagnostic program"
 POL_SetupWindow_Init
 POL_Debug_Init
 POL_SetupWindow_presentation "OBDwiz installation" "Kukulo" "OBDwiz"
-POL_SetupWindow_textbox_multiline "The .net installation will need to execute this in terminal:" "OBDwiz" "echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope       
 
-Reference: https://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html"
 POL_Wine_SelectPrefix "OBDwiz2"
 POL_Wine_PrefixCreate "$WINE_VERSION"
 POL_System_TmpCreate "OBDwiz2"
@@ -20,16 +18,18 @@
         cd "$POL_System_TmpDir"
         POL_Download "https://www.obdsoftware.net/downloads/obdwiz/current" 
         POL_Wine_WaitBefore "$TITLE"
-        POL_Wine "$POL_System_TmpDir/current"
+        mv "$POL_System_TmpDir/current" "$POL_System_Tmpdir/OBDwizSetup.exe"
+        POL_Wine "$POL_System_TmpDir/OBDwizSetup.exe"
 elif [ "$INSTALL_METHOD" = "LOCAL" ]
 then
-          POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
         SETUP_PATH="$APP_ANSWER"
-         POL_Wine_WaitBefore "$TITLE"
+        POL_Wine_WaitBefore "$TITLE"
         POL_Wine "$SETUP_PATH"
 fi
- 
+
 POL_Wine_WaitExit "$TITLE"
+
 POL_Shortcut "OBDwiz.exe" "OBDwiz"
 POL_System_TmpDelete
 POL_SetupWindow_Close

Nouveau code source

#!/usr/bin/env playonlinux-bash

[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
WINE_VERSION="1.6.2"
TITLE="OBDwiz OBDII vehicle diagnostic program"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "OBDwiz installation" "Kukulo" "OBDwiz"

POL_Wine_SelectPrefix "OBDwiz2"
POL_Wine_PrefixCreate "$WINE_VERSION"
POL_System_TmpCreate "OBDwiz2"
POL_Call POL_Install_dotnet35
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://www.obdsoftware.net/downloads/obdwiz/current" 
        POL_Wine_WaitBefore "$TITLE"
        mv "$POL_System_TmpDir/current" "$POL_System_Tmpdir/OBDwizSetup.exe"
        POL_Wine "$POL_System_TmpDir/OBDwizSetup.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
        SETUP_PATH="$APP_ANSWER"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine "$SETUP_PATH"
fi

POL_Wine_WaitExit "$TITLE"

POL_Shortcut "OBDwiz.exe" "OBDwiz"
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

kukulo Mercredi 28 Octobre 2015 à 20:13
kukulo Anonymous

Warning

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

Differences

@@ -0,0 +1,36 @@
+#!/usr/bin/env bash
+ 
+[ "$PLAYONLINUX" = "" ] && exit
+source "$PLAYONLINUX/lib/sources"
+WINE_VERSION="1.6.2"
+TITLE="OBDwiz installation"
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_SetupWindow_presentation "OBDwiz installation" "Kukulo" "OBDwiz"
+POL_SetupWindow_textbox_multiline "The .net installation will need to execute this in terminal:" "OBDwiz" "echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope       
+
+Reference: https://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html"
+POL_Wine_SelectPrefix "OBDwiz2"
+POL_Wine_PrefixCreate "$WINE_VERSION"
+POL_System_TmpCreate "OBDwiz2"
+POL_Call POL_Install_dotnet35
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+        cd "$POL_System_TmpDir"
+        POL_Download "https://www.obdsoftware.net/downloads/obdwiz/current" 
+        POL_Wine_WaitBefore "$TITLE"
+        POL_Wine "$POL_System_TmpDir/current"
+elif [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+          POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
+        SETUP_PATH="$APP_ANSWER"
+         POL_Wine_WaitBefore "$TITLE"
+        POL_Wine "$SETUP_PATH"
+fi
+ 
+POL_Wine_WaitExit "$TITLE"
+POL_Shortcut "OBDwiz.exe" "OBDwiz"
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/usr/bin/env bash
 
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
WINE_VERSION="1.6.2"
TITLE="OBDwiz installation"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "OBDwiz installation" "Kukulo" "OBDwiz"
POL_SetupWindow_textbox_multiline "The .net installation will need to execute this in terminal:" "OBDwiz" "echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope       

Reference: https://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html"
POL_Wine_SelectPrefix "OBDwiz2"
POL_Wine_PrefixCreate "$WINE_VERSION"
POL_System_TmpCreate "OBDwiz2"
POL_Call POL_Install_dotnet35
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://www.obdsoftware.net/downloads/obdwiz/current" 
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine "$POL_System_TmpDir/current"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
          POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
        SETUP_PATH="$APP_ANSWER"
         POL_Wine_WaitBefore "$TITLE"
        POL_Wine "$SETUP_PATH"
fi
 
POL_Wine_WaitExit "$TITLE"
POL_Shortcut "OBDwiz.exe" "OBDwiz"
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Anonymous
Mercredi 28 Octobre 2015 à 20:14
Here is the source code of the script.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com