Files
auto_completion
autoinstall
alta-expert
alta-gtd
alta-maximum
alta-tamdoc
alta-tax
alta-zap
ctm-finance
ctm-journals
ctm-monitor
ctm-report
ctm-service
declaration
easymnemo
keepsoft_simulator4
npul
ppdgr2
scadoffice
soun
spravki-bk
t-flex-cad-edu17
t-flex-cad17
t-flex-cad17-applications
t-flex-cad17-resources
t-flex-cad2d+17
t-flex-doc17
t-flex-viewer17
tester_n
ved-alf
ved-control
ved-dcl
ved-info
ved-payments
ved-sts
zulugis
database
image
manualinstall
testinstall
CHANGELOG
COPYING
LICENSE
THIRD-PARTY
dependencies.sh
sha256sum.list
winehelper
winetricks_20250102
winehelper/autoinstall/ppdgr2
2025-04-01 16:37:35 +03:00

25 lines
1022 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env bash
# info_ru: Подготовка документов для государственной регистрации (ППДГР)
########################################################################
export AUTOINSTALL_EXE="${WH_TMP_DIR}/SetupPPDGR2.msi"
export WH_WINE_USE="wine_x_tkg_10-0_amd64"
export WINEPREFIX="ppdgr2"
export PROG_NAME="ППДГР-2"
# export PROG_VERSION=""
export PROG_ICON="ppdgr"
# export ADD_MIME_TYPE=""
export BASE_PFX="defpfx_dn48_x86_v01"
export WINEARCH="win32"
export INSTALL_DLL="dotnet48 msxml3 msxml4 msxml6 corefonts lucida wsh57 vcrun6 jet40 gdiplus"
export WH_WINDOWS_VER="10"
var_winedlloverride_update "msxml4=b,wininet=b"
prepair_wine
if try_download "https://data.nalog.ru/files/ppdgr/2.7.0/SetupPPDGR2.msi" "${AUTOINSTALL_EXE}" ; then
wine_run_install "${AUTOINSTALL_EXE}" /q
try_remove_file "${AUTOINSTALL_EXE}"
WIN_FILE_EXEC="$DRIVE_C/АО ГНИВЦ/ППДГР-2/PPDGR2.exe"
create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON"
fi