Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / July 2004

Tip: Looking for answers? Try searching our database.

IEExec command line arguments

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Corey - 23 Feb 2004 07:01 GMT
Hi all

I'm currently learning about Zero-touch deployment with WinForm apps, and I am trying to set up an app in Visual Studio .NET 2003 so that it will run with IEExec.exe to simulate the setup of an appropriate security environment for the application to run in

The parameters for IEExec.exe are not well documented, but from reading http://msdn.microsoft.com/msdnmag/issues/02/07/NetSmartClients/default.aspx, it appears that it is

Usage: ieexec.exe url flags [securityZone] [domainId
url          Assembly to launch, e.g. http://localhost/foo.ex
flags        Flags to control execution. Values that can be added together are
            0:   no flag
            1:   create evidence for the zon
            2:   create evidence for the sit
securityZone If evidenceFlags != 0, sets the security zone
            Values can be {0, 1, 2, 3} for {MyComputer, Intranet, Trusted, Internet
domainId     If evidenceFlags != 0, unused hex-encoded bytes
            Use 00

I've tried setting up my app under Visual Studio to use IEExec, but it keeps throwing a System.ArgumentExeception - unfortunately it's not telling me which argument to IEExec.exe it doesn't like.  It doesn't work from the command line either - throws the same ArgumentException, e.g.

IEExec.exe http://localhost/DeploymentFun/DeploymentFun.exe

won't work for me.  Does anyone know what I'm doing wrong? Sorry if this is a stupid question, but I'm still learning this stuff

Thanks

Regards
Corey
DotNetJunkies User - 06 Jul 2004 14:14 GMT
If you did not find the answer yet:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;822485

Important How you use the IEExec.exe application that is included with the .NET Framework 1.1 is different from how you use the IEExec.exe application that is included with the .NET Framework 1.0. In the .NET Framework 1.1, the IEExec.exe application only accepts the url parameter. The IEExec.exe application does not permit you to specify the zone setting and the site setting. If you try to specify the zone setting and the site setting, you receive the following error message at runtime:

ArgumentException

---

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.