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
---