Runas and Adobe Application Air 2.x?

Hello dear people,
I have been found this trick of RUNASADMIN or EVELATEDPROCESS this url:  http://www.sevenforums.com/tutorials/316-compatibility-mode.html
Look Step: "OPTION THREE" and Manually in Registry Editor
I think sure becasue we are suing with Adobe Application AIr 2.x via Administrative rights for Windows Vista and 7....
Like this Code: But i am not finish this code. I am not sure when you are sure for xml and regkey files?
     Runas to Application Air
     Support for Windows Vista and Windows 7
package
     import flash.desktop.NativeProcessStartupInfo;
     import flash.filesystem.File;
     import flash.filesystem.FileStream;
     public class StartRunAs
          public var RunasXML:File = new File(var xml:XML = <runas>runasCall()</runas>);
          public var smDir_Runas:File = File.applicationStorageDirectory;
          public var runas_reg_key:File = File.applicationStorageDirectory.resolvePath("runas.reg");
          public function StartRunAs():void
               // Copy from ApplicationDirectory
               if(RunasXML.exists)
                    xml.contains("runasCall()");
                    function runasCall():void
                         if(runas_reg_key.exists)
                              function runas_Addreg():void
                                   // Start regedit with runas.reg
                                   var regeditApp:NativeProcessStartupInfo = new NativeProcessStartupInfo("C:\\Windows\\regedit.exe");
                                   regeditApp.arguments = runas_reg_key;
                                   // Delete startfiles - if you are assigned by UAC readly.
                                   RunasXML.deleteFile();
                                   runas_reg_key.deleteFile();
                         }else
                              // Write reg file:
                              var runas_reg_key_Stream:FileStream = new FileStream();
                              runas_reg_key_Stream.open(runas_reg_key);
                              runas_reg_key_Stream.writeBoolean(
                                   "Windows Registry Editor Version 5.00" +
                                   "" +
                                   '"' + File.applicationDirectory() + 'myapp.exe"' + '="RUNASADMIN"'
                              runas_reg_key_Stream.close();
                              // Execute to regedit add reg file
                              runas_Addreg();
               }else
                    SkipInit();
          protected function SkipInit():void
               // Now Your application with adminstrative rights
If your runas.reg should see a result: Like this:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Program Files (x86)\\MyApp Air\\Myapp.exe"="RUNASADMIN"
Than Adobe Application Air calls NativeProcessStartInfo with "Regedit.exe runas.reg" and it will to change in administrative mode with Application Air 2.x.
Than you can close Application Air and you click Shutcut from Desktop. What does it happen? Now Application Air starts with administrative privatages and you prompt "Yes" and Application Air loads and can rewrite in the directory C:\Program Files x(86)\MyApp\
Did you think sure? That is a nice trick once UAC with read/write mode of Application Air for example:
Plugins and templates will to copy in ApplicationDirectory Example: C:\Program Files x(86)\\MyApp\plugins or C:\Program Files x(86)\\MyApp\templates
That is a good suggestion of my access rewriting! Do not worry , dear Windows Users!!!!
I have been tired nice FileStream with process
I hope you because you can improve or add suggestions We can work together
Thanks best regards, SnakeMedia
That is an example for assignned regkey once Adobe Application Air to adminstrative Application Air like any programs CCleaner or TuneUp Utilities 2011...

Hello peoples,
i have been fixed this problem.
But it show crazy because Adobe Air write worng word : [object file]. I can not try this problem
I have been writen our code like this.
AirAdmin.mxml: for Flex 3.5 with Air SDK 2.x
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="init(event)">
     <mx:Script>
          <![CDATA[
               import mx.events.FlexEvent;
               protected function init(event:FlexEvent):void
                    // Center main AIR app window on the screen
                    nativeWindow.x = (Capabilities.screenResolutionX - nativeWindow.width) / 2;
                    nativeWindow.y = (Capabilities.screenResolutionY - nativeWindow.height) / 2;
                    // Load regFile and cmdFile
                    getRegFile();
               private var airAdminFile:String = File.applicationDirectory + "AirAdmin.exe";
               private var regeditFile:File = new File("C:\\Windows\\regedit.exe");
               private var regFile:File = new File;
               private var cmdFile:File = new File;
               private var cmdAppFile:File = new File("C:\\Windows\\System32\\cmd.exe");
               protected function getRegFile():void
                    // regfile
                    regFile = File.documentsDirectory.resolvePath("AirAdmin.reg");
                    var regFileStream:FileStream = new FileStream;
                    var regFileStructur:String = 'Windows Registry Editor Version 5.00';
                    regFileStructur += File.lineEnding;
                    regFileStructur += '[HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers]' + File.lineEnding;
                    regFileStructur += '"' + airAdminFile + '"="RUNASADMIN"' + File.lineEnding;
                    cmdFile = File.documentsDirectory.resolvePath("AirAdmin.cmd");
                    var cmdFileStream:FileStream = new FileStream;
                    var cmdFileContent:String = regeditFile + '"' +regFile + '"' + File.lineEnding;
                    if(regFile.exists, cmdFile.exists)
                         regFileStream.open(regFile, FileMode.READ);
                         regFileStructur = String(regFileStream.readUTFBytes(regFileStream.bytesAvailable));
                         regFileStream.close();
                         cmdFileStream.open(cmdFile, FileMode.READ);
                         cmdFileContent = String(cmdFileStream.readUTFBytes(cmdFileStream.bytesAvailable));
                         cmdFileStream.close();
                         openShell();
                    else
                         regFileStream.open(regFile, FileMode.WRITE);
                         regFileStream.writeUTFBytes(regFileStructur);
                         regFileStream.close();
                         cmdFileStream.open(cmdFile, FileMode.WRITE);
                         cmdFileStream.writeUTFBytes(cmdFileContent);
                         cmdFileStream.close();
               // NativeProcess
               private var StartProcess:NativeProcess = new NativeProcess;
               private var args:Vector.<String> = new Vector.<String>;
               protected function openShell():void
                    var StartUpInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo;
                    StartUpInfo.executable = cmdAppFile;
                    args.push("start");
                    args.push("/C");
                    args.push(cmdFile);
                    StartUpInfo.arguments = args;
                    if(StartProcess.running)
                         // Your mode is as administrative right
                         StartProcess.start(StartUpInfo);
                    else
                         // It is not an administrative right mode!
                         StartProcess.start(StartUpInfo);
          ]]>
     </mx:Script>
     <mx:Label id="mylab" horizontalCenter="0" verticalCenter="0"/>
</mx:WindowedApplication>
Nothing has errors. Work fine...
But 2 outputs for AirAdmin.reg and AirAdmin.cmd have worng words [object file].
It has problem of writing with current directory. How do i fix path to text
For Example:
var AppFile:File = File.applicationDirectory.resolvedPath("App.exe")
and i put in writing mode for regedit...
Output should to show this:
C:\\Program Fils (x86)\\App\\App.exe <- current result like sometime writing function to text mode
But i have problem of writing mode - if i put in path and directory to text mode.
Worng words:
[object file]App.exe <- What is it crazy?
2 worng words in 2 files ( reg and cmd )
AirAdmin.reg:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"[object File]AirAdmin.exe"="RUNASADMIN"
and AirAdmin.cmd:
@echo off@echo[object File]"[object File]"
I do not understand because Air 2.6 has problem of writing path to text mode..
Like this for example:
File.applicationDirectory.resolvedPath("MyExampleApp.exe") to "C:\\Program Files (x86)\\MyExampleApp\\MyExampleApp.exe"
A result will to show current path to executable in the reg file:
"C:\\Program Files (x86)\\MyExampleApp\\MyExampleApp.exe"="RUNASADMIN"
Thanks for advanced problem . I want to assign Application Air into Administrative Application Air
I hope you because you think sure because i want to try Application Air to Administrative Mode
Thanks for reply

Similar Messages

  • My "Adobe installer" is not running  and "adobe application manager" will not update....

    My question?
    When did making art get so technical? Also, have the software engineers at Adobe finally  begun to shed the Cheetos from their beards and then crown themselves as artists extraordinaire? Well good for them! Bad for me! No offense, but I've  been wrestling with this for quite a while. Without a single Cheeto.....
    Could somebody at least tell me that this problem is mostly imaginary? I can relate to that actually, one time in Santa Cruz...
    Bridge crashes frequently, especially during a drag and drop action. Photoshop crashes less frequently, but when even a mere moment's worth of my eternal genius has been shed, all life weeps, including you...unknowingly...
    I was then instructed by the Adobe to perform a strange ritual using an ancient language called the "DOS" and to inquire for the Adobe of the little known " fsutil file setshortname" routine. Then the Adobe would know my true name, and where my short paths were (?).I tried very hard to comply with the demands of the Adobelites who lounged in the Cloud but fled to this place for counsel./
    This is all true. My mother said so.
    Thanks, and with much too much time on his hands,
    Erich
    Operating System: Windows Vista 64-bit
    Version: 6.0 Service Pack 1
    Adobe Photoshop Version: 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch]) x64
    Architecture: AMD CPU Family:15, Model:10, Stepping:0 with MMX, SSE Integer, SSE FP, SSE2, SSE3
    Physical processor count: 6
    Processor speed: 2593 MHz
    Built-in memory: 8191 MB
    Free memory: 1109 MB
    Memory available to Photoshop: 7173 MB
    Memory used by Photoshop: 70 %
    Image tile size: 132K
    Image cache levels: 4
    Video Card: AMD Radeon HD 5450

    By "not running", what exactly do you mean?
    You can't open it from "Programs"? You can't open it when double clicking a pdf file? You can't open a link to a pdf on a web page? Do you get any error messages?
    More details please.

  • Update Failed - You are already running the Adobe Application Manager....

    I'm on Mac OS 10.8.4. When I try to update InDesign CC to the latest version, the Adobe Application Manager launches and give me the following error:
    Update Failed
    Updates could not be applied
    You are  already running the Adobe Application Manager. Please close all instances of Adobe Application Manager before applying updates.
    So, I quit the AAM, verify that it's not running in Activity Monitor and relaunch it... to get the same error message. I haven't found a solution online, so I'm hoping someone can help me get past this.

    Rfahl have you tried rebooting and then applying the update again?  If so, and you still receive the same error, then you may want to try installing the update in Safe Boot mode.  You can find more details for starting up in Safe Boot at OS X Lion: Start up in safe mode - http://support.apple.com/kb/PH4373.

  • Can not update- message says you are already running the adobe application manager - but it is not open

    I'm trying to update Indesign and Photoshop.  I get a message saying that the Updates could not be applied - you are already running the Adobe Application Manager - but I have closed everything.   It may be related to the fact that today, about every 2 minutes, Adobe Creative Cloud Connection pops up.  I have closed it numerous times, but it continues to open.

    Terminate the process(es) in Task Manager/ Activity Monitor.
    Mylenium

  • CEP Menager and Adobe Application menager missing

    Hi there,
    Ive instaled the Creative Cloud Trial and followoing applications:
    Photoshop / AfterEffects / Premiere / Illustrator / Bridge
    It all appears to be fine , but on a second day ( Today )
    Creative Cloud didnt launch upon a system start.
    When I run any app - the window pops out with CEP Menager stopped working and Message Adobe Application menager , required to run your Trial.
    Ive downloaded the AAppM from adobe.com , and the problem still apears.
    Window with CEP menager appears from time to time and its really anoying.
    I wanted to try trial before buying but what if the problem appear with full version of creative cloud ?
    Im working on Windows 7 (64)
    PS. after closing that errors all aplication works fine , but I guess thats not the proper way It shoud be working.
    Should I reinstall everthing ? 
    Any ideas ?
    Thanks

    For Mac :
    1) Click on the Finder and look for the options listed next to Apple Icon located at the top left corner of the Desktop screen and click on "Go" menu button and select "Utilities" option.
    (Applications>Utiliites)
    Locate Adobe Creative Cloud and Adobe Application Manager folder under Utilities window and trash both folders.
    2)
    Click on the below link and download & run Adobe Cleaner tool :
    Select the option "Adobe Application Manager for Mac OS X 10.6" and then click on "Clean up Selected" .
    https://helpx.adobe.com/content/help/en/creative-suite/kb/cs5-cleaner-tool-installation-pr oblems/_jcr_content/main-pars/accordion_container_1/accordion-par/accordion-item-1/accordi on-item-par/procedure/proc_par/step_3/step_par/download/file.res/AdobeCreativeCloudCleaner Tool.zip
    3)
    Click on the below link and download and install Adobe Application Manager.
    http://download.adobe.com/pub/adobe/creativesuite/cc/mac/ApplicationManager8.0_all.dmg
    Once the installation is completed , the install box will disappear, '
    Then open Applications folder and locate Adobe Application Manager icon and double click on it.
    It will start update process and gets update to Creative Cloud desktop app.
    Then Sign in to Creative Cloud.
    And launch CC apps and check.,

  • How to unintsall CC and Adobe Application Manager?

    How do I uninstall Creative Cloud and Adobe Application manager please. I have migrated from my old laptop and they seem to have corrupted on the way. I have tried the uninstaller in Utilities but it is "completing with errors. I'm stuck in a loop, help please? New downloads wont run.

    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • Apex :run and build application

    HI ,
    While exporting apex application from test to prod i gave build status override as run and build application instead of run application only.and then i imported
    i this case according to my knowledge user can run as well as can make changes ....
    is it possible to revert it to run only ....
    if yes how ...
    thanks in advance....

    Yes, from the main screen after logging into workspace, look for "*Manage Services*" link. Under Manage Services, find Manage Application Build Status. There, you can convert application between Run and Build Application to Run Application only and vice versa.
    Ittichai

  • Importing "Run and Build Application"

    I've been trying to duplicate my Oracle workspace applications on my local machine. It worked fine for one of my apps, but the second one failed. I exported the file several times in DOS format with Unicode UTF-8, Build Status Override "Run and Build Application", and other fields blank. I imported successfully on my machine, and got to the "Application Install" screen. But the routine then failed with the message:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 6, column 7: PLS-00103: Encountered the symbol "¿¿¿¿¿¿¿¿4¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿" when expecting one of the following: ( - + case mod new null avg count current max min prior sql stddev sum variance execute forall merge time timestamp interval date 1.4.4.00.33
    When I tried to importing the same file back to the Oracle workspace (to create a backup copy so I could further develop without risk) it also failed at the same point with this message:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 6, column 7: PLS-00103: Encountered the symbol "&#17498;&#8259;&#25932;&#30305;&#14949;&#21280;&#27749;&#25445;&#8308;&#28257;&#25888;&#28781;&#28524;&#25977;&#8293;&#28257;&#8292;&#27747;&#25449;&#8299;&#16930;&#26784;when expecting one of the following: ( - + case mod new null avg count current max min prior sql stddev sum variance execute forall merge time timestamp interval date 1.4.4.00.33
    Any ideas?
    Thanks.
    Bill

    Sergio
    Here is the output from the NLS query:
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET WE8MSWIN1252
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 9.2.0.4.0
    Here is the output from the procedure in the other thread:
    nls_language = {AMERICAN}
    nls_territory = {AMERICA}
    nls_characterset = {WE8MSWIN1252}
    add this line to your DAD config:
    PlsqlNLSLanguage AMERICAN_AMERICA.WE8MSWIN1252
    How (or where) do I add this line to my DAD?
    Bill

  • Please help! My CS6 won't open and Adobe Application Manager keeps popping up to renew CS Cloud subscription.

    Hi there.
    I recently canceled my CS Cloud subscription about 3 weeks ago and went back to using CS6. I was using CS6 Creative Suite without a problem until 2 days ago. Now my CS6 programs (AI, Photoshop, InDesign, Acrobat) won't open. Instead the Adobe Application Manager keeps popping up to renew the subscription, see below insert.
    I have chatted with Adobe customer support numerous times but when it comes to transferring me to their technical support, the chat mysteriously becomes unavailable. The only time the transfer went through, I was advised to remove CS6 Creative Suite using Cleaner Tool and reinstall, which I did but my CS6 still does not open and the AAM keeps popping up giving me the same message to renew the subscription. The AI/Photohop icons just keep bouncing up and down without opening while the AAM pops up.
    What can I do to stop this annoying AAM from popping up and open my CS6? I just want my CS6 to open up again. Has anyone else experienced this issue? Please help!

    Cloud takes over https://forums.adobe.com/thread/1584746
    Uninstall... run the Cleaner... Restart your computer... Reinstall CS6
    -http://helpx.adobe.com/creative-cloud/help/install-apps.html (and uninstall)
    -http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

  • I can not run any Adobe application (Not responding) with a network account

    HEllo All,
    My First question:
    Which impact will I have if I copy the content of
    /Users/Library/Preferences/
    to:
    HD/Library/Prefernecs/
    Here is my problem related to my first question:
    I installed Illustaror, photoshop, adobe Acrobat Pro, and adobe reader on my iMace runing 10.6.1.
    I installed its with my local admin account and all run fine.
    I also have a X OS Server with network account.
    I joined my iMac on that server and when I log with a network account, all of my a
    Adobe application are not responding (Illustartor, Photoshop, Adobe Pro and Adobe)
    I red That I should copy /users/Library/Preferences/Adobe Illusratot CS4 Setting/ folder to the user home folder within the same path.
    This is work.
    But how can I make sure that all of ALL my Adobe application will work for all Users??
    many than for your help
    Message was edited by: pierrot10

    Hello,
    Someone has an idea to help?
    The problem is for illustrator, adobe reader and adobe pro. For all of them, when I run it with a locl account, it works, but when I run its from the same workstation but with a network account:
    - illustartor freez
    - adobe reader craches and retsat and craches...
    - Adobe Acrobat pro freez.
    Only photoshop works.
    Do you have an idea how can I make it working with a network account but only from the same workstation?
    Many thank for your help
    Pierrot

  • Sluggish performance (and Adobe applications slow)

    Not sure what the problem is here, well, outside of my Mac running rather sluggishly lately. Even Adobe applications take AT LEAST a minute or more to open up. I seem to be getting the spinning beach ball more often than not jumping between applications at times as well. And watch out if I leave the computer on 7 or more days straight... ouch, the performance drags.
    I've zapped the PRAM, repaired and verified permissions and the drive, my hard drive is only at 30% capacity, so I'm a little stumped about the performance issue.

    How many applications are you running at the same time? Perhaps you need more RAM.

  • Help with updating and Adobe Application Manager (Max OS X)

    Hi,
    I am a resent new customer of the cloud (student and teachers) service. I have started encounter some minor but kind of annoying technical problems. Before I registered for a cloud account I was running the Adobe Master Collection (trial) version on my MacBook Pro (Mac OS X 10.8.2). I successfully completed the registration to cloud and began to download and updated the app's. It went fine, until I came across a small little problem with Premier Pro. I was trying to import a few *.MOV files for a uni video that I have to do over Xmas.
    Instead of spending time trying to figure out the problem I decide to uninstall and download/install all of the app on the my cloud hub, just incase it was something to so with my pervious installations. I couldn't directly re-download the apps via the cloud hub, so I had to re-download another trial version. However, now I can not get the Adobe Application Manager to work, I keep saying "Download Error, Please try again" I have tried it load of time, but keep getting the same message.
    Please Help,
    Damien

    Moshpit84 did you utilize the uninstallers located in Applications/Utilities/Adobe Installers to remove your installation of Premiere Pro?  Also what version of the Adobe Application Manager are you currently using?

  • InDesign and Adobe Application Manager

    Adobe Application Manager gets lost everytime I exit from Adobe InDesign CS6. Why? Everytime I open InDesign again for another session, it will not load and will only give an error message that I need to install Application Manager when actually, I already have installed it previously on my computer.
    Please help. Thanks!

    That still doesn't address what's causing the problem to begin with, though.
    I don't have a lot of faith in AVG, but I haven't heard of anything like this associated with it. Any other background programs running? Any third-party plugins installed in any Adobe programs?
    It might tell us something if you create a new user account and try running ID from there.

  • LR3 and camera raw and adobe application manager

    Hi all,
    I have LR3 and can't for the life of me find out in the documentation or on the website whether or not
    1. LR3 uses camera raw
    2. if it does, whether it gets installed automatically with LR3
    3. where it might get installed
    4. if necessary, how you have to install the upgrade (I get "adobe application manager required" error message, can't find that on the website either)
    HELP PLEASE!!
    Cheers, Bob

    Although ACR (app) may not be necessary when using LR3, it is needed when you use services in Photoshop - such as "merge to panorama", or HDR. I'm constantly getting an error the latest ACR is not installed. WIth the release of ACR 6.2, I'm trying again and when I try to install it I get an error "Application Manager needed to update your product" then:
    Adobe Application Manager is needed to resolve this problem, however it is missing or damaged. Download a new copy of Adobe Application Manager from Adobe.com, or install this product again.
    The link (http://www.adobe.com/go/applicationmanager)  to the page is incorrect and returns a 404 error.
    Helpful.
    I'm not albe to locate a link to download a copy of the Adobe Application Manager. Anyone know where that is?
    So, I still can't install ACR because of this issue. Although this doesn't seem to be a LR issue specifically, accessing ACR from LR3 is significant to some of us.
    Suggestions welcome, and appreciated.
    Lightroom 3
    OSX 10.6.2
    MacPro

  • About Windows 7 and Adobe applications

    Photoshop FAQ
    Tech Notes
    Installing and using Windows 7 with Adobe applications
    Adobe trials expire immediately after upgrading to Windows 7
    Unexpected fonts display in Photoshop, InDesign, and Illustrator
    Three cursors display in Photoshop, Bridge, and Camera Raw
    Preview window briefly goes black in Camera Raw
    Artifacts (lines, odd colors) display in rotated images in Camera Raw
    Error: "libagluc28.dll is missing" occurs when you open Bridge CS2

    There is a known bug with CS3 and all 64-bit versions of Windows (not just Windows 7) in which Type 1 fonts installed in the C:\Windows\fonts directory simply do not show up in the applications. This was fixed for CS4. The workaround is to also install those Type 1 fonts in the Creative Suite private font directory. They will then show up in the CS3 applications' font lists.
              - Dov

Maybe you are looking for