Seite 1 von 5

NET-Framework als .opsi Paket

Verfasst: 27 Sep 2009, 15:06
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 ?

Re: NET-Framework als .opsi Paket

Verfasst: 28 Sep 2009, 11:09
von matth46

Re: NET-Framework als .opsi Paket

Verfasst: 28 Sep 2009, 12:09
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

Re: NET-Framework als .opsi Paket

Verfasst: 28 Sep 2009, 14:03
von matth46
gidf -> net framework redistributable

Re: NET-Framework als .opsi Paket

Verfasst: 30 Sep 2009, 15:21
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

Re: NET-Framework als .opsi Paket

Verfasst: 30 Sep 2009, 16:43
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!

Re: NET-Framework als .opsi Paket

Verfasst: 11 Nov 2009, 16:07
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?

Re: NET-Framework als .opsi Paket

Verfasst: 12 Nov 2009, 19:48
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

Re: NET-Framework als .opsi Paket

Verfasst: 13 Nov 2009, 15:53
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 :-)

Re: NET-Framework als .opsi Paket

Verfasst: 16 Nov 2009, 14:37
von mr.quickly
Falls jemand eine andere Lösung bzgl. der Installation von msxml6 hat immer her damit :-)