NET-Framework als .opsi Paket

baschtiii
Beiträge: 30
Registriert: 08 Sep 2009, 08:53

NET-Framework als .opsi Paket

Beitrag von baschtiii »

Hallo,

Hat es jemand geschafft NET-Framework als .opsi Paket zu erstellen ?

Hat jemand eins für mich bzw. kann mir sagen wie ich das mache ?
baschtiii
Beiträge: 30
Registriert: 08 Sep 2009, 08:53

Re: NET-Framework als .opsi Paket

Beitrag von baschtiii »

hmm... das blöde NET-Framework möchte während der installation eine internet verbindung um ca 10 mb runterzuladen - bei ca 300 clients ein ziemlich hocher traffic :-S
matth46
Beiträge: 172
Registriert: 22 Jun 2009, 19:48

Re: NET-Framework als .opsi Paket

Beitrag von matth46 »

gidf -> net framework redistributable
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: NET-Framework als .opsi Paket

Beitrag von wolfbardo »

baschtiii hat geschrieben:Hallo,

Hat es jemand geschafft NET-Framework als .opsi Paket zu erstellen ?

Hat jemand eins für mich bzw. kann mir sagen wie ich das mache ?
siehe http://sourceforge.net/projects/opsi/fo ... ge=4898858

und viewtopic.php?f=8&t=956

Zum testen habe ich ein Template als Vorlage nach

http://download.uib.de/opsi3.4/testing/ ... plate.opsi

abgelegt, in dem noch die beiden Dateien

dotnetfx35.exe dotnetfx35langpack_x86de.exe

eingefügt werden muessen.

Rückmeldungen sind willkommen.

Gruss
Bardo Wolf


OPSICONF 2024
https://opsi.org/en/opsiconf/

Basisworkshop Mainz :

17. - 20. 06. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
beelze
Beiträge: 3
Registriert: 22 Aug 2009, 00:05

Re: NET-Framework als .opsi Paket

Beitrag von beelze »

Habe aus dem Template mal ein funktionierendes Paket erstellt.
.NET Framework 3.5 SP1 deutsche Redistributable dafür verwendet und Language Pack weggelassen.
Installation dauert zwar einige Zeit, funktioniert aber anscheinend tadellos.

Vielen Dank!
mr.quickly
Beiträge: 157
Registriert: 11 Nov 2008, 15:17

Re: NET-Framework als .opsi Paket

Beitrag von mr.quickly »

Gibt leider immer noch keinen Weg das localadmin Script nicht zu nutzen oder?

Habe es gerade noch mal probiert aber wie damals ohne Erfolg :-(

Weiß gar nicht warum das setup so lange rödelt. Beim dotnet framework 1.1 geht es auch viel schneller.

Hat es jemand ggf. anders gelöst?
Viele Grüße

Thomas S.
karni
Beiträge: 193
Registriert: 08 Okt 2009, 14:07

Re: NET-Framework als .opsi Paket

Beitrag von karni »

Hallo,

schau da:
http://blog.project84.net/default,date,2008-03-10.aspx
http://www.appdeploy.com/packages/detail.asp?id=882

Nur das hat für mich funktioniert - administrative install point.
dotnetfx35.exe downloaden
mit dem Skript administrative install point erstellen

in opsi setup script
* MSXML Parser 6 - msiexec /i netfx35_deploy\AdminInstallPoint\MSXML6_x86\msxml6.msi /qb-
* RGB Rasterizer - msiexec /i netfx35_deploy\AdminInstallPoint\RGBRAST_x86\RGB9RAST_x86.msi /qb- ALLUSERS=1
* .NET Framework 2.0 SP1 - msiexec /i netfx35_deploy\AdminInstallPoint\NETFX20_x86\netfx20a_x86.msi /qb VSEXTUI=1
* .NET Framework 3.0 SP1 - msiexec /i netfx35_deploy\AdminInstallPoint\NETFX30_x86\netfx30a_x86.msi /qb VSEXTUI=1
* .NET Framework 3.5 - msiexec /i netfx35_deploy\AdminInstallPoint\netfx35_x86\vs_setup.msi /qb VSEXTUI=1
mr.quickly
Beiträge: 157
Registriert: 11 Nov 2008, 15:17

Re: NET-Framework als .opsi Paket

Beitrag von mr.quickly »

Besten Dank karni,

ich habe aber trotzdem noch einige Stunden gebraucht bis es klappte.

Habe das aktuelle vollständige Paket "Microsoft .NET Framework 3.5 Service Pack 1", heruntergeladen. Download hier:
.NET Framework 3.5 Service Pack 1

Dann habe ich nach der Anleitung unter http://blog.project84.net/default,date,2008-03-10.aspx mittels der Batch Datei die Administrativen install points erstellt.

Dachte das wäre dann schon alles und ich muss nur noch meine .ins Datei mittels der von Dir aufgeführten Befehle zum installieren ergänzen. Leider klappte dies aber bei mir nicht.

Für den MSXML 6.0 Parser musste ich mir ein Autoit Script schreiben, welches eine Fehlermeldung "The Windows Installer service cannot update the system file c:\WINDOWS\system32\msxml6r.dll because the file is protected by Windows. You may need to update your operating system for this program to work correctly." bestätigten, welche Microsoft zwar bekannt ist aber bis heute nicht gefixt wurde. Hier das Script:

Code: Alles auswählen

AutoItSetOption ("WinTitleMatchMode", 2)
Opt("WinDetectHiddenText", 1)

BlockInput(1)

Run("msiexec.exe /i " & @ScriptDir & "\msxml6.msi /qb!")

WinWait("MSXML 6.0 Parser", "The Windows Installer service cannot update the system file")
ControlClick("MSXML 6.0 Parser", "The Windows Installer service cannot update the system file", "Button1")

While WinExists("MSXML 6.0 Parser (KB933579)", "")

sleep(2000)

WEnd

BlockInput(0)
Dann musste ich zuerst beim "RGB9RAST" den Parameter "ALLUSERS=1" ergänzen sonst bliebt die Installation mit einer Fehlermeldung stehen.
Beim "Microsoft .NET Framework 3.0" musste ich dann noch den Parameter "ALLUSERS=2" ergänzen, sonst brach diese mit Error 2337 ab.

Die Installationsaufrufe sehe nun bei mir so aus:

"%scriptpath%\MSXML6_x86\setup_msxml6.exe"
"%scriptpath%\RGBRAST_x86\RGB9RAST_x86.msi" ALLUSERS=1 /qb! /norestart
"%scriptpath%\NETFX11_x86\netfx.msi" /passive /norestart
"%scriptpath%\NETFX11_x86\sp1\service_pack_1.exe" /q
"%scriptpath%\NETFX20_x86\netfx20a_x86.msi" /qb! VSEXTUI=1 /norestart
"%scriptpath%\NETFX30_x86\netfx30a_x86.msi" /qb! VSEXTUI=1 ALLUSERS=2 /norestart
"%scriptpath%\netfx35_x86\vs_setup.msi" /qb! VSEXTUI=1 /norestart

Ich hoffe das hilft dem ein oder anderen. Sonst einfach fragen :-)
Viele Grüße

Thomas S.
mr.quickly
Beiträge: 157
Registriert: 11 Nov 2008, 15:17

Re: NET-Framework als .opsi Paket

Beitrag von mr.quickly »

Falls jemand eine andere Lösung bzgl. der Installation von msxml6 hat immer her damit :-)
Viele Grüße

Thomas S.
Antworten