9 Replies Latest reply: Aug 9, 2010 8:53 AM by PhHein RSS

    Launching an external .exe file which requires UAC Permission (Windows)

    807580
      Hi,

      I've started building a simple launcher application which can launch other executables on my computer.

      The only problem is I seem unable to launch any executables which require Windows UAC confirmation before they are run.
      I tested this and turned off UAC in the Control Panel and they then run fine.

      The code I'm using to launch the executables is:
      Runtime rt = Runtime.getRuntime();
      Process pr = rt.exec(path);
      Apologies for the lack of compilable code, but hope there may be a simple solution that someone knows of.
      Thanks for your help in advance.

      Edited by: Jellyhead360 on May 25, 2009 5:31 AM