This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
userspace:zygrib [2023/01/10 16:36] chris_10 |
userspace:zygrib [2023/01/10 16:42] chris_10 |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== zyGrib ====== | ====== zyGrib ====== | ||
- | Tested with opsi 4.2 // | + | Tested with opsi 4.2 \\ |
- | Windows 10 x64 Ent SAC 19.09, 20H2 & 21H2 // | + | Windows 10 x64 Ent SAC 19.09, 20H2 & 21H2 \\ |
- | Download zyGrib from here: https:// | + | Download zyGrib from here: https:// |
- | type: localboot | + | type: localboot |
- | id: zyGrib | + | id: zyGrib |
- | description: | + | description: |
- | Beschreibung: description: GRIB File Viewer -Grafische Darstellung von Wetterdaten | + | Beschreibung: |
Line 23: | Line 23: | ||
__**Notice: | __**Notice: | ||
- | zyGrib is not available as a classic installer. It is a packed program which is only unpacked to the desired location, in this case the installation directory. | + | zyGrib is not available as a classic installer. It is a packed program which only needs to be unpacked to the desired location, in this case the installation directory. |
I used the 7-Zip program to unpack, which is a prerequisite for this script to work. | I used the 7-Zip program to unpack, which is a prerequisite for this script to work. | ||
A link is then simply created in the start menu to the executable file, which starts the program. | A link is then simply created in the start menu to the executable file, which starts the program. | ||
Line 39: | Line 39: | ||
|-- uninstall.opsiscript | |-- uninstall.opsiscript | ||
|-- zyGrib_win_withmaps2-8.0.1.zip | |-- zyGrib_win_withmaps2-8.0.1.zip | ||
- | |-- zyGrib_32.ico | ||
|-- zyGrib_32.png | |-- zyGrib_32.png | ||
</ | </ | ||
+ | \\ | ||
+ | \\ | ||
==== setup.opsiscript ==== | ==== setup.opsiscript ==== | ||
Line 132: | Line 133: | ||
endif | endif | ||
- | ;if not(FileExists(" | ||
if not(FileExists($7zPrg$)) | if not(FileExists($7zPrg$)) | ||
LogError "7-Zip not found in default Installation destination " + $7zPrg$ + ". Check 7-Zip installation." | LogError "7-Zip not found in default Installation destination " + $7zPrg$ + ". Check 7-Zip installation." | ||
Line 153: | Line 153: | ||
comment " | comment " | ||
else | else | ||
- | LogError " | + | if ($ExitCode$ = " |
- | isFatalError " | + | LogError "7-Zip Command Line Error. Exit Code" + $ExitCode$ + " returned." |
+ | isFatalError "7-Zip CLI Error" | ||
+ | else | ||
+ | LogError " | ||
+ | isFatalError " | ||
+ | endif | ||
endif | endif | ||
DosInAnIcon_rights | DosInAnIcon_rights | ||
Line 345: | Line 350: | ||
Project created with opsi Package Builder 8.4.4 | Project created with opsi Package Builder 8.4.4 | ||
+ | </ | ||