Jump to content

RequireAdmin difference 3.3.8.1>3.3.12.0


Anteaus
 Share

Recommended Posts

A specific executable compiled with Aut2Exe 3.3.8.1 running under Windows 7.1/64 requests UAC/UAE elevation if it is compiled with the RequireAdmin option. Which is the expected behaviour.

However, when the same code is compiled with 3.3.12.0 no UAC prompt occurs, and instead the exe (or possibly the calling program) reports 'CreateProcess failed; code 740' and fails to launch.

Just wondering if there are any known differences here. If the issue hasn't been seen before I'll do a few more tests to try and establish under what conditions it occurs.

Link to comment
Share on other sites

  • Moderators

Or you could post the code so we can see what you're doing, rather than asking us to first guess and then troubleshoot ;)

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Or you could post the code so we can see what you're doing, rather than asking us to first guess and then troubleshoot ;)

#RequireAdmin

In this case the compiled script is called by an Inno Setup installer. Though, I don't think the actual mode of calling is significant so long as it's from a limited account.

The reason I need to recompile, BTW, is that the 3.3.8.1 build is suffering antivirus false positives.

I found a couple of other threads relating to this or similar issues:

 '?do=embed' frameborder='0' data-embedContent>>

 '?do=embed' frameborder='0' data-embedContent>>

-though they don't seem to offer any definite answer to this one.

Edited by Anteaus
Link to comment
Share on other sites

  • Developers

The only difference seems to be that the newer version adds "requireAdministrator" to exe manifest.

.. and doesn't re-shell itself as the other one would do to run with the different level in case not running at the required level.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...