Jump to content

Installing Dot Net Framework from RunOnceEx getting security warning d


Huli

Recommended Posts

Hi everybody! Ok i looked around but couldn't find anything resmebling my issue. I have Dot Net Framework 1.1(+servicepack) & 2(+hotfix) and Windows Media Player 10(also +hotfix) installing from RunOnceEx. I know i can do them both from svcpack.ini but this just seemed simpler to setup and maintain. The installations install beautifully, BUT before they commence I am getting a security warning dialog box that asks if I want to run the application(the installation .exe) or not. What confuses me is that i have several other third party apps (Java, Adobe, Symantec, etc) also installing during RunOnceEx that run without this security warning dialog box. Below is the relevent portion of my RunOnceEx

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "Microsoft .NET Framework 1.1" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Installs\dotnet1_1\DOTNETFX.EXE /Q /C:\"install.exe /Q\"" /f

REG ADD %KEY%\005 /V 2 /D "%systemdrive%\installs\dotnet1_1\KB867460.exe /I /Q" /f

REG ADD %KEY%\010 /VE /D "Microsoft .NET Framework 2.0" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Installs\dotnet2_0\DOTNETFX.EXE /Q /C:\"install.exe /LANG 1033 /Q\"" /f

REG ADD %KEY%\010 /V 2 /D "%systemdrive%\installs\dotnet2_0\KB917283.exe /Q" /f

REG ADD %KEY%\015 /VE /D "Windows Media Player 10" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\installs\WMP10\MP10Setup.exe /C:\"setup_wm.exe /DisallowSystemRestore /Q:A /R:N\" /Q:A /R:N" /f

REG ADD %KEY%\015 /V 2 /D "%systemdrive%\installs\WMP10\KB917734.exe /Q /O /N /V" /f

.

.

.

Does this strike a chord with anyone? Or am i missing something totally obvious? I just started an unattended installation this morning so i'll try and post a screen shot later this afternoon of the security warning dialog box. Thank you.

Link to comment
Share on other sites

  • 2 weeks later...

For WM10, use the MS Enterprise deployment tool for Media player to repackage the WM10 download. You can add the WM10 security patch into it. http://www.microsoft.com/windows/windowsme...deploypack.aspx

For DotNet 2.0, I got past the warning by starting the install from a command box

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f



REG ADD %KEY%\090 /VE /D "Installing Dot Net Framework 2.0" /f
REG ADD %KEY%\090 /V 1 /D "cmd /c start \"dOTneT 2.0\"/wait %systemdrive%\install\dotnetfx.exe /q /c:\"install /q\"" /f

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...