PDA

View Full Version : UAC prevents running program on Vista VMWare


wellilein
06-29-2010, 10:37 AM
I cannot run a Setup.exe on Windows Vista. I use the full path as suggested by another forum post.

Is it blocked by UAC? I don't even see the UAC screen, but when I disable UAC and reboot, the application almost starts...

After disabling UAC I get the following message:

Interactive services dialog detection
A program can't display a message on your desktop
The program may need informatin or permission to complete a task.
Why does this happen?
-> Show me the message
-> Remind me in a few minutes
Show program details


How can I run my Setup successfully so that I can see the installer window?

kinook
06-29-2010, 10:41 AM
Are you running the setup.exe from a build? Visual Build itself would need to be started elevated (run as administrator) to do that.
http://www.kinook.com/Forum/showthread.php?threadid=2258

wellilein
06-30-2010, 02:50 AM
I don't start Setup.exe from the build script on the same PC. In this case the link you provided would help me.

I start Setup.exe from the build script in a VM using a VMWare Workstation build step and the "Run program" command. There I provide username, password and the full path of Setup.exe on the guest system.

Before disabling UAC, nothing happened on the guest OS and the build step failed. After disabling UAC I get the weird message (see text above and attached screenshot).

wellilein
06-30-2010, 02:51 AM
I can switch to the message, but in this case the Vista desktop, the background picture and the taskbar disappears (see attached screenshot).

kinook
06-30-2010, 06:54 AM
Try adding -activeWindow -interactive to the Additional options field on the Options tab.
http://www.vmware.com/products/beta/ws/vmrunCommand.pdf