Hallo,
ist es möglich die Productversion aus dem opsi Pakte im .opsiscript zu verwenden?
Derzeit pflege ich diese quasi immer doppelt (im opsi Paket und im Script)
lg
Bernhard
Produktversion aus OPSI Pakte
- SisterOfMercy
- Beiträge: 1531
- Registriert: 22 Jun 2012, 19:18
Re: Produktversion aus OPSI Pakte
Do you mean this?
Code: Alles auswählen
DefStringList $ProductInfo$
DefVar $DisplayVersion$
DefVar $DisplayName$
set $ProductInfo$ = getProductMap
set $DisplayVersion$ = getValue("productversion", $ProductInfo$)
set $DisplayName$ = getValue("name", $ProductInfo$)
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Re: Produktversion aus OPSI Pakte
Oder so: %installingProdVersion%: product version //since 4.10.8
Vgl: https://download.uib.de/opsi_stable/doc ... st-service
Vgl: https://download.uib.de/opsi_stable/doc ... st-service
Re: Produktversion aus OPSI Pakte
dritte Variante:
Code: Alles auswählen
DefVar $SetupVersion$
Set $SetupVersion$ = takeString(0, splitString("%installingProdVersion%","-"))
Set $SetupFile$ = "signal-desktop-win-" + $SetupVersion$ + ".exe"
Leibniz-Institut für Bildungsmedien | Georg-Eckert-Institut (GEI)
---
'opsi4instituts' = Communityprojekt für wissenschaftliche Einrichtungen
offenes Repository, Update-Notifier
wiki.o4i.org - www.gei.de/institut/direktion/it-service/opsi4instituts
---
'opsi4instituts' = Communityprojekt für wissenschaftliche Einrichtungen
offenes Repository, Update-Notifier
wiki.o4i.org - www.gei.de/institut/direktion/it-service/opsi4instituts