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
Last revision Both sides next revision
userspace:zygrib [2023/01/10 16:36]
chris_10
userspace:zygrib [2023/01/10 16:41]
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 43: Line 43:
 </code> </code>
  
 +\\
 +\\
  
 ==== setup.opsiscript ==== ==== setup.opsiscript ====
Line 132: Line 134:
 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 154:
  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 351:
  
 Project created with opsi Package Builder 8.4.4 Project created with opsi Package Builder 8.4.4
 +</code>
  
userspace/zygrib.txt · Last modified: 2023/01/10 16:42 by chris_10