AlBundy33 Posted December 28, 2009 Share Posted December 28, 2009 (edited) Some days ago I started WPI from my pen-drive to install some apps for my parents - unfortunately they have Windows Vista with the UAC-Problem.So before each application a window poped up and asked for the rights...Now I created a vb-script and modified my run_wpi.cmd to run wpi with admin-rights (so hopefully the uac-dialog will only be shown at the start of wpi).Because I'm working with XP I could try the skripts only on my machine and on a virtual Windows 7 machine.On XP the script will start normally and on windows 7 the uac-dialog is shown at startup.Maybe someone can test it on vista.Simply put the script in the same folder where you've extracted WPI - your structure should look like this:- WPI - ... - Themes - Tools - ...- run_wpi.cmd- sudo.vbsOf course you can also edit the variables in run_wpi.cmd.Hint: If you path to wpi.hta is WPI\wpi.hta you have to change the following line in run_wpi.cmd:SET WPI_HTA=Common\wpi.htatoSET WPI_HTA=wpi.htaAlscripts.zip Edited December 28, 2009 by AlBundy33 Link to comment Share on other sites More sharing options...
sbaeder Posted January 2, 2010 Share Posted January 2, 2010 Some days ago I started WPI from my pen-drive to install some apps for my parents - unfortunately they have Windows Vista with the UAC-Problem.So before each application a window poped up and asked for the rights...Yes, this is a known issue, and while you have one sollution that will work, another (maybe more simple?) is to use the Autorun Executable as found on the Files PageJust right click and say "Run as Administrator", and since it is elevated BEFORE it runs WPIW, you only have to accept it once. then WPIW (and all the scripts it runs) are autmatically elevated (as in your solution)...Never hurts to have more than one way to solve an issue B) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now