Hi there!
I'm developing a Ranorex test for an application, and the test will be run on a virtual machine under a corporate network license. I'm having problems coping with the Windows 7 User Access Controls, which under the corporate policy cannot be disabled. I have two problems I would like advice with please.
1: Using an unattended install (msiexec /i "application path" /qn TARGETDIR="targetfolder") fails as the installation reports insufficient permissions to install.
2: Using Ranorex to simulate the user input for the MSI installation wizard also fails because the UAC confirmation seems to be invisible to both Ranorex Spy and the recording wizard. When trying to record the mouse clicks on the UAC confirmation screen I cannot access the recording interface (due to the screen dimming) and therecording does not record the clicks on the UAC confirmation screen.
Can anyone offer some guidance that will allow me to manage this installation please?
Thanks in advance.
Dave
Windows 7 UAC
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Windows 7 UAC
Hello Dave,
Unfortunately it is not possible to automate an UAC Dialog in Windows.
UAC is for making sure that administrative actions require a user prompt.
It also disables your vbscript and vb.net when its active.
I am sorry that I'm not able to provide with any solution here.
Kind regards,
Markus (S)
Unfortunately it is not possible to automate an UAC Dialog in Windows.
UAC is for making sure that administrative actions require a user prompt.
It also disables your vbscript and vb.net when its active.
I am sorry that I'm not able to provide with any solution here.
Kind regards,
Markus (S)
Re: Windows 7 UAC
Thanks for your response. I had a feeling that this would be the case but thank you for confirming it ans saving me a lot of time.
All the best,
Dave
All the best,
Dave
Re: Windows 7 UAC
You can find more info about this "state" looking for "Windows Session 0" in Google. Also, here is a program that gets you into Session 0 [http://www.coretechnologies.com/product ... oSession0/]
regards,
Mateo.
regards,
Mateo.