I am customizing a distribution point for Windows XP Service Pack 2. The distribution point is set up to run a VBScript after OS installation that launches setup silently for several apps, including .NET Framework 1.1 and .NET 1.1 SP1. The commands are as follows:

.NET 1.1 - dotnetfx.exe /q:a /c:"install /l /q"
.NET 1.1 SP1 - NDP1.1sp1-KB867460-X86.exe /Q

When the script reaches these lines, it executes the installations. These are for the most part silent, but I still receive the Windows Security Dialog box ("Do you want to run this file?"). How can I elminate this security dialog from being displayed? I have several other chained apps in the script (Windows Installer 3.1, WMP 10) that do not display this prompt.

As always, any help is appreciated :)
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


Try change the ZoneId from 3 to 1 or add the directory where the media is located as "Trusted site" and execute it once. This will remove the issue your having.

To change the ZoneId just run:
notepad "dotnetfx.exe:Zone.Identifier"
change to ZoneId=1 and save the file from notepad
This work sometimes.
Answered 06/05/2006 by: AngelD
Red Belt

Please log in to comment
Thanks for the info. I found a cool utility called 'Streams' on that removed the stream information from the file, thus enabling a fully silent installation.
Answered 06/06/2006 by: PudgeRok
Senior Yellow Belt

Please log in to comment
PudgeRok, the tool from sysinternals will remove the identifier (Zone.Identifier) from the file which is a good thing for you. Sometimes that doesn't work so by using the Trusted Site solution that will manage to solve the issue in such cases.
Answered 06/07/2006 by: AngelD
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity