/build/static/layout/Breadcrumb_cap_w.png

Security dialog during .NET install

Greetings,

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

Answers (3)

Posted by: AngelD 14 years ago
Red Belt
0
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.
Posted by: PudgeRok 14 years ago
Senior Yellow Belt
0
Thanks for the info. I found a cool utility called 'Streams' on www.sysinternals.com that removed the stream information from the file, thus enabling a fully silent installation.
Posted by: AngelD 14 years ago
Red Belt
0
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ