Skip to content

opsi.orgheader image

opsi.org
Views
WinstScripts >>

dotnetframwork

Document Actions
last edited 3 years ago by nwiesner
;Framework wird in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 installiert
;Der LanguagePack in Deutsch wird nachinstalliert

[Initial]
        Message=Installation des .Net Framework 2.0 und des Language-Pack DEU
        LogLevel=2
        ExitOnError=false
        ScriptErrorMessages=true
        TraceMode=off

[Aktionen]
    if not (HasMinimumSpace("%Systemdrive%","700MB"))
    LogError "Nicht genĂ¼gend Platz auf C:"
    else
        Winbatch_doinstall /WaitOnClose
        ;ExitWindows /Reboot
        endif

[WinBatch_doinstall]
        ;Install des Framework
        msiexec.exe /i  %ScriptPath%\files\microsoft_.netframework_2.0\netfx.msi ADDEPLOY=1 /qn
        ;Install des Languagepack
        %ScriptPath%\files\microsoft_.netframework_2.0\langpack.exe /q:a /c:"install.exe /i /qn"