On Sep 1, 2008, at 6:42 AM, Eric Chatonet wrote:
2. Is there a way to raise privileges directly using a shell command
or something else on Vista? *
Because this way of doing (as does any installer) would be by far
preferable...
Hi Eric,
You can tell an exe to request admin privileges by altering the
manifest file in the exe. I have some instructions for doing this here:
<http://revolution.screenstepslive.com/lessons/567-Adding-a-Windows-Vista-Manifest-To-a-Revolution-Executable
>
You can also use a VBScript to request that something be run with
admin privileges. I have some code where I put the following in a vbs
file and run it. In my case I am running another vbs file. The key
param is "runas". You might also be able to launch another exe this
way. The contents of the vbs file is:
CreateObject("Shell.Application").ShellExecute "wscript.exe", "C:\Path
\To\File.vbs", "", "runas", 1
Regards,
--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com - www.screensteps.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution