User Tools

Site Tools


userspace:zygrib

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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] (current)
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://www.zygrib.org/+Download zyGrib from here: https://www.zygrib.org/ \\
  
-type: localboot // +type: localboot \\ 
-id: zyGrib // +id: zyGrib \\ 
-description: GRIB File Viewer - Weather data visualization // +description: GRIB File Viewer - Weather data visualization \\ 
-Beschreibung: description: GRIB File Viewer -Grafische Darstellung von Wetterdaten //+Beschreibung: GRIB File Viewer -Grafische Darstellung von Wetterdaten \\
  
  
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
 </code> </code>
  
 +\\
 +\\
  
 ==== setup.opsiscript ==== ==== setup.opsiscript ====
Line 132: Line 133:
 endif endif
  
-;if not(FileExists("%ProgramFilesSysnativeDir%\7-Zip\7z.exe")) 
 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 "Unpack of Zip File successful."  comment "Unpack of Zip File successful."
  else  else
- LogError "Unpack of Zip File erroneous. Exitcode " + $ExitCode$ + " returned." + if ($ExitCode$ = "7"
- isFatalError "Unpack erroneous"+ LogError "7-Zip Command Line Error. Exit Code" + $ExitCode$ + " returned." 
 + isFatalError "7-Zip CLI Error" 
 + else 
 + LogError "Unpack of Zip File erroneous. Exitcode " + $ExitCode$ + " returned." 
 + isFatalError "Unpack erroneous" 
 + 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
 +</code>
  
userspace/zygrib.1673368596.txt.gz · Last modified: 2023/01/10 16:36 by chris_10