| |
Support Forum -
Display Thread
Date: 4/25/2005 7:20:08 PM |
Author: acbannis |
Subject: Launching IE with TQCRunAs |
I am trying to launch IE with Admin credentials to install some required ActiveX components for our users here to access the VPN. I am using version 2.5 of tqc and I am not having great success. This is what I'm using to make my tqc file. TQCRunAs /build file.tqc /profile /user admin /pw password "C:\Program Files\Internet Explorer\iexplore.exe http://myurl.com" I have tried several different switches and still it will not work. If anybody can help I would greatly appreciate it.
Thanks |
Reply |
|
Date: 4/4/2006 12:04:21 AM |
Author: Tdoughboy |
Subject: Re: Launching IE with TQCRunAs |
According to the Author: Quimeras you need to put the UNC path, "2- Always specify UNC paths when referring files", however, I'm not sure what that is for a local file i.e. c:\filepath\file.msi. Can someone explain what is should be? Also, someone else said explorer.exe is one of the rare files that cannot be launched by tqcrunas. |
Reply |
|
Date: 4/4/2006 10:23:06 AM |
Author: Quimeras |
Subject: Re: Re: Launching IE with TQCRunAs |
Yes, explorer is one of those "rare" programs that cannot be launched by TqcRunas, this is because if explorer detects any previous instance of itself running then activates it and exits.
Regarding launching iexplore try to separate the target file and the argument file with additional quotes (to put quotes inside quotes use \") for example:
TQCRunAs /build file.tqc /profile /user admin /pw password "\"C:\Program Files\Internet Explorer\iexplore.exe\" \"http://myurl.com\""
That works. |
Reply |
|
|