iVMS-4200
Is a video management software that uses a distributed structure to provide centralized management to all connectable devices. Allows you to manage the NVR, DVR, IP cameras and decoders.
Whats work:
- Installation
- Application start
- Setting
What doesn't work:
Scripts
#!/usr/bin/env PlayOnLinux-Bash
# Information
# Date: 2023-12-02
# Last revision: 2023-12-02
# Wine Version: 7.22
# OS: Linux Mint 21.2 x86_64
# Author: GuerreroAzul
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : Retail
# Reference
# Wine: https://appdb.winehq.org/objectManager.php?sClass=application&iId=18349
# Wine: https://appdb.winehq.org/objectManager.php?sClass=version&iId=35493
# Running the Scripts
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
POL_SetupWindow_Init
POL_Debug_Init
# Config
TITLE="iVMS-4200"
PREFIX="ivms4200"
POLVERSION="4.3.4"
WINEVERSION="2.12"
OSVERSION="winxp"
ARCHITECTURE="x86"
# Data Software
COMPANY="Hangzhou Hikvision Digital Technology Co., Ltd."
SITEWEB="https://www.hikvision.com/"
EDITOR="GuerreroAzul"
# Data Download
DOWNLOAD_URL="https://www.hikvisioneurope.com/eu/portal/portal/Technical%20Materials/11%20%20Software%E3%80%90For%20Latest%20Tools%26Software%2C%20please%20download%20directly%20from%20Hikvision%20Website%E3%80%91/01%20%20Video%20Management%20Software/00%20%20%20iVMS4200/Hikvision%20iVMS-4200%20v2.6.1.2%20%28Multi-lingual%29/iVMS-4200%28v2.6.1.2%29.exe"
MD5_CHECKSUM="d728efecf94623b74ed349fcb92ceabe"
SETUP="iVMS-4200(v2.6.1.2).exe"
#Presentation
POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$SITEWEB" "$EDITOR" "$TITLE"
# POL Validations
POL_RequiredVersion $POLVERSION || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION !nPlease update!"
#Linux Validations
if [ "$POL_OS" = "Linux" ]; then
wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE!"
fi
#Mac Validations
if [ "$POL_OS" = "Mac" ]; then
POL_Call POL_GetTool_samba3
source "$POL_USER_ROOT/tools/samba3/init"
fi
#wine Setup And Installation
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
POL_System_SetArch "$ARQUITECTURE"
# Installation of Libraries
POL_Call POL_Install_corefonts
# Library Riched30
POL_Call POL_Install_riched30
POL_Wine_OverrideDLL "native,builtin" "riched30"
#Library DirectX 11
POL_Call POL_Install_d3dx9
#Visual Basic 2006
POL_Call POL_Install_vcrun6
# GDI+
# No Funcional :(
#POL_Call POL_Install_gdiplus
Set_OS "$OS"
# Installation
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
# Local Installation
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
INSTALLER="$APP_ANSWER"
# Web Installation
else
DOWNLOAD_URL=$DOWNLOAD_URL
MD5_CHECKSUM="$MD5_CHECKSUM"
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
INSTALLER="$POL_System_TmpDir/$SETUP"
fi
#Installation started
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "$INSTALLER"
POL_Shortcut "iVMS-4200.exe" "$TITLE"
#End installation
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0
Edité par GuerreroAzul