Rollout Geogebra 5 per Gruppenrichtlinie


sehr verwirrender ArtikelNaja, ganz OKbrauchbar für Checker...guter Artikelsehr guter Artikel - Danke [2 Bewertung, Durchschnitt: 4,00]

Nachdem Geogebra 5 per “normale” Softwareverteilung via Gruppenrichtlinie nicht mehr funktioniert, anbei ein kleines Script, das den msi-Installer einmalig als Startscript ausführt.

Vorgangsweise:
1.) Download des Installers von GeoGebra-Windows-Installer-5-0-47-0.msi

2.) Folgendes Script als Install_Geogebra5.vbs speichern, anpassen (ServerShare – Logdatei) und als Startscript auf die gewünschten Maschinen per GPO einrichten:

on Error resume next
logdatei = "c:\geogebra5.txt"
Set fs = CreateObject("Scripting.FileSystemObject")
If NOT fs.FileExists (logdatei) then


Set WshShell = WScript.CreateObject("WScript.Shell")

'ACHTUNG: alles was auf WshShell.Run folgt, MUSS in EINER ZEILE stehen!!!

WshShell.Run "msiexec.exe /i ""\\dc1\sysvol\brgmattersburg.at\scripts\software\geogebra\GeoGebra-Windows-Installer-5.msi"" /qn ALLUSERS=2  /Lime C:\GeogebraProtokolldatei.txt", 0, True

Set a = fs.CreateTextFile(logdatei, True)
a.WriteLine("z. B: Geogebra 5 Installation am " & now())
a.Close
END IF

oder noch kürzer:

on Error resume next
logdatei = "C:\GeogebraProtokolldatei.txt"
Set fs = CreateObject("Scripting.FileSystemObject")
If NOT fs.FileExists (logdatei) then
  
Set WshShell = WScript.CreateObject("WScript.Shell")
 
WshShell.Run "msiexec.exe /i ""\\dc1\sysvol\brgmattersburg.at\scripts\software\geogebra\GeoGebra-Windows-Installer-5.msi"" /qn ALLUSERS=2  /Lime C:\GeogebraProtokolldatei.txt", 0, True 

END IF

This entry was posted in Gruppenrichtlinie, Scripts. Bookmark the permalink.

One Response to Rollout Geogebra 5 per Gruppenrichtlinie

  1. Bernhard says:

    Hallo,
    danke für das Script. Funktioniert wunderbar.

Hinterlasse eine Antwort