Forums

[Script] BarTender

BarTender is barcode label printing software for Windows. It is a professional tool for creating labels and barcodes that includes standardized label functions and integration with enterprise software.

Auteur Réponses
GuerreroAzul Jeudi 18 Avril 2024 à 23:34
GuerreroAzul

BarTender 10.1 RS3

                    

Software Description

            

BarTender is barcode label printing software for Windows. It is a professional tool for creating labels and barcodes that includes standardized label functions and integration with enterprise software.

Download Link

Whats work:

  • Installation
  • Application start
  • Setting

What doesn't work:

  • Error opening file explorer. The error is related to the .Net library

    [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object

  • The ODBC installation is missing. Necessary characteristic to link the format with the Databases.

Screenshots

    

  

Script

#!/usr/bin/env PlayOnLinux-Bash
: '
Date: See changelog.
Last revision: See changelog.
Wine version used: See changelog.
Distribution used to test: See changelog.
Author: GuerreroAzul
License: Retail

CHANGELOG
[GuerrreroAzul] (2024-04-18 08:40 GMT-6) Wine 9.0 x32 / Linux Mint 21.3 x86_64
  First script. 

REFERENCE
GuerreroAzul: Documentation POL. - https://wiki.playonlinux.com/
GuerreroAzul: Link Download. - https://portal.seagullscientific.com/downloads/bartender
'

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

#Setting
TITLE="BarTender"
PREFIX="bartender"
CATEGORY="Other;"
WINEVERSION="9.0"
OSVERSION="win10"
EDITHOR="GuerreroAzul"
COMPANY="Seagull Scientific"
HOMEPAGE="https://www.seagullscientific.com/es/software/"
LOGO="https://i.imgur.com/pW7zb7Z.png"
BANNER="https://i.imgur.com/Di6W76j.png"

#Setup Image
POL_GetSetupImages "$LOGO" "$BANNER" "$TITLE"

# Starting the script
POL_SetupWindow_Init

# Welcome message
POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$HOMEPAGE" "$EDITHOR" "$PREFIX"

# PlayOnLinux Version Check
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$(eval_gettext 'TITLE wont work with $APPLICATION_TITLE $VERSION\nPlease update!')"

# Check winbind library is installed.
if [ "$POL_OS" = "Linux" ]; then
  wbinfo -V || POL_Debug_Fatal "$(eval_gettext 'Please install winbind before installing.')" "$TITLE!"
fi

# Prepare resources for installation!
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "$OSVERSION"

# Dependencies
# [GuerreroAzul] Change the region to US
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
echo -e 'REGEDIT4

[HKEY_CURRENT_USER\Control Panel\International]
"Locale"="00000409"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Language]
"InstallLanguage"="0409"
"Default"="0409"' > ConfigRegion.reg  
POL_Wine regedit ConfigRegion.reg

# [GuerreroAzul] Install .Net Framework 3 SP2
POL_Download_Resource "https://download.microsoft.com/download/4/2/C/42CB3D49-40D7-4C2A-BFAF-E8E9E9D05928/NDP30SP2-KB2604110-x86.exe" "dc7674c88f1328cfbed606d287af285c" "dotnet30sp2"
POL_Wine start /unix "$POL_USER_ROOT/ressources/dotnet30sp2/NDP30SP2-KB2604110-x86.exe" /q /norestart 
POL_Wine_WaitExit ".Net Framework 3 SP2"

# [GuerreroAzul] Install VC Runtime 2008 SP1
POL_Download_Resource "https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x86.exe" "a92a4d8e784d8f859217f828fe879047" "vcrun2008sp1"
POL_Wine start /unix "$POL_USER_ROOT/ressources/vcrun2008sp1/vcredist_x86.exe" /q
POL_Wine_WaitExit "VC Runtime 2008 SP1"

# [GuerreroAzul] Dll Obtained from the site DLL-FILES.COM
POL_Download_Resource "https://archive.org/download/mscorwks32/mscorwks.dll" "8afa8b582babf0b563e83362dec4cca3" "mscorwks32"
cp "$POL_USER_ROOT/ressources/mscorwks32/mscorwks.dll" -d "$WINEPREFIX/drive_c/windows/system32/"

# Installing DLL Libraries
POL_Wine_OverrideDLL "native, builtin" "mscoree"

POL_Call POL_Install_msxml3
POL_Wine_OverrideDLL "native, builtin" "msxml3"

POL_Call POL_Install_msxml4
POL_Wine_OverrideDLL "native, builtin" "msxml4"

POL_Call POL_Install_msxml4
POL_Wine_OverrideDLL "native, builtin" "msxml6"

# Script start
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
INSTALLER="$APP_ANSWER"

# [GuerreroAzul] Checking installer files. since it can change.
POL_Wine start /unix "$INSTALLER" /S
POL_Wine_WaitExit "$TITLE"

# Shortcut
POL_Shortcut "bartend.exe" "$TITLE" "" "" "$CATEGORY"
POL_Extension_Write btw "$TITLE"

# End script
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Edité par GuerreroAzul