Uninstall the application does not delete all new files and folders.

If the user decides to uninstall my Air app, it does not delete the created folders with files in AppData. Another problem is that if the application creates new files in the folder Program Files/AirAppFolder, then uninstall of the app are not deleted these files.
How to solve these problems, help please?

Hi,
AIR shouldn't be creating additional files in your program files folder, is this something you're doing programmatically?  If so, you might want to consider using File.applicationStorageDirectory instead given permission problems you'll have on newer operating systems.
As to uninstalling all files (even the data created in the user's storage folder) this is something you might consider using a native installer to take care of.  Since the AIR installer is unaware of this data, it won't know to delete it on uninstall.  Instead, you'll want to create a custom function in a native installer that deletes these folders/files and then sub launches the AIR install/uninstall.
Thanks,
Chris

Similar Messages

  • All new files and folders show up as READ ONLY

    I am new to the iMac, and am having problems with files an folders. My account is an administrator's account, but when ever I create a new folder, or move a file into it, it shows up as READ ONLY. This is really annoying as I am moving hundreds of files from my PC to the iMac. How do I set things up so that new folders and files are not READ ONLY? Thanks!

    Creative Cloud applications unexpectedly revert to trial mode | CS6, CCM

  • HT1941 Hi i have recently updated my version of iTunes in order to sync music from my macbook air to my new ipod shuffle. After a successful installation the application does not launch and I am unable to oepn iTunes of access my music! Someone please hel

    Hi,
    I have recently updated my iTunes to the latest version in order to sync music onto my new ipod shuffle. However after a successful installation the application does not launch or open? There are no error messages. The application is just unresponsive.
    I have already checked the compatibility with Safari, my operating system and checked my firewall is not blocking it - all is fine.
    Does anyone have any other resolutions?
    Many thanks

    Hi Carolyn,
    Thank you for your time and response. The trouble is I am unable to launch iTunes? I have restarted my macbook air a number of times to try and initiate the application but the issue persists and the application remains unresponsive. Will not launch?
    Thanks

  • The application does not use the  screen and run in the background

    Hi
    I have downloaded a package of j2me Midlet
    from [link] here [link]
    and try to reuse the code
    but I get the following error when running the code:-
    The application does not use the screen and run in the background
    I think the error into one of these two classes
    package main;
    import javax.microedition.midlet.*;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.media.Manager;
    import javax.microedition.media.MediaException;
    import javax.microedition.media.Player;
    import java.io.IOException;
    import java.io.InputStream;
    public class MainMidlet extends MIDlet implements CommandListener {
        private SSGameCanvas gameCanvas ;
        private Command exitCommand ;
        private Player player = null;
        public void startApp() {
      try {
           //   create new game thread
              gameCanvas = new SSGameCanvas();
              gameCanvas.start(); // start game thread
              exitCommand = new Command("Exit",Command.EXIT,1);
              gameCanvas.addCommand(exitCommand);
              gameCanvas.setCommandListener(this);
                Display.getDisplay(this).setCurrent(gameCanvas);
       catch (java.io.IOException e)
                e.printStackTrace();
            try {
                // start sounds
                InputStream in = getClass().getResourceAsStream("/resource/startfly.wav");
                player = Manager.createPlayer(in,"audio/x-wav");
                player.setLoopCount(1);
                player.start();
            catch (MediaException ex)
                ex.printStackTrace();
             catch (IOException ex)
                ex.printStackTrace();
        public void pauseApp() {
        public void destroyApp(boolean unconditional) {
            if (player != null) {
                player.close();
            System.gc();
      public void commandAction(Command command, Displayable displayable) {
           if (command == exitCommand)
                 destroyApp(true);
                 notifyDestroyed();
    package main;
    import java.io.IOException;
    import javax.microedition.lcdui.*;
    import javax.microedition.lcdui.game.*;
    public class SSGameCanvas extends GameCanvas implements Runnable {
        protected GameManager gameManager;
        protected boolean running;
        private int tick=0;
        private static int WIDTH;
        private static int HEIGHT;
        private int mDelay = 20;
        Form mainForm;
        Display display;
        //private int MaxTime;
        public SSGameCanvas() throws IOException{
            super(true);
            gameManager = new GameManager(5,5,getHeight()-10,getWidth()-10,this);
        public void start() {
                this.running = true;
                Thread t = new Thread(this);
                t.start();
        public void stop() {
            running = false;
        public void render(Graphics g) {
            WIDTH = getWidth();
            HEIGHT = getHeight();
            // Clear the Canvas.
            g.setColor(0, 0, 50);
            g.fillRect(0,0,WIDTH-1,HEIGHT-1);
            // draw border
            g.setColor(200,0,0);
            g.drawRect(0,0,WIDTH-1,HEIGHT-1);
            // draw game canvas
            gameManager.paint(g);
        public void run() {
            while (running) {
                // draw graphics
                render(getGraphics());
                // advance to next graphics
                advance(tick++);
                // display
                flushGraphics();
                try { Thread.sleep(mDelay); }
                catch (InterruptedException ie) {}
        public void advance(int ticks) {
            // advance to next game canvas
            gameManager.advance(ticks);
            this.paint(getGraphics());
    }Edited by: VANPERSIE on Jul 10, 2012 12:26 PM

    Hi Andi,
    Thanks for your reply.
    Yes, I have waited for a while and the result doesn't change.
    The Porblem here is the application is seen started in visual administrator.Only restart brings up the page back.
    Can you please suggest anything.
    Thanks and regards
    Nagaraj

  • Bought a new Ipod touch and the WiFi does not connect.  Tried Reset and total Restore, does not connect to Router on DHCP, tried Static manually and still can not get it to connect even though it registers as connected.

    Bought a new Ipod touch and the WiFi does not connect.  Tried Reset and total Restore, does not connect to Router on DHCP, tried Static IP, Subnet, Router and DNS manually and still can not get it to connect even though it registers as connected.  Using Airport for router, latest firmware, no problems with Iphone 4 or Macbook Pro or any other internet devices.  After total Restore (factory settings) tried again, showed connected to router, but does not display "check" next to router but little rotating icon even though the wifi range signal shows connected at full strength and it says it is connected.  Just can't seem to get it to generate an IP.  Any solutions other than turning it on and off again?  Not a Merry Christmas morning.

    Ok, so, a couple of things:  Denisefromwaleska and I have the exact same size/type/color iPod.  Now wishing I'd bought the black one maybe...
    Second, Airport is an Express and I have a second one that I carry with me when I travel.  Tried to connect my Airport Express to the internet and could not although the iPod did recognize the router and tried to connect to the internet for some time, unlike my previous problem.  Updated firmware on my travel router, still could not connect to the internet.  Going to try to set up a manual Static IP on the travel router here in a few and conect through it although I predict the problem will persist. Back on the Christmas Present Airport Express router, it is back in play and working fine for all devices save the iPod. 
    Thanks again for all your help, hopefully I can get a solution in place soon,

  • Emptying trash securely does not delete all files? Any ideas?

    When I try and empty trash (securely) it does not delete all files, so I am left with files in the Trash?  Any ideas?

    Select one of the items in the Trash and open the Info window. What does it show for Where?

  • Applications installed in my iTouch does not launch. the music and internet functions but the installed applications does not. tried switching it on and off, still problem persists

    Applications installed in my iTouch does not launch. the music and internet functions but the installed applications does not. tried switching it on and off, still problem persists. help...

    Your only chance besides getting it serviced would be setting it up as new device:
    http://support.apple.com/kb/HT4137

  • Delete an email from the pc,  does not delete the email from the iPad.

    Hi
    When I Delete an email from the pc,  does not delete the email from the iPad.  I'm not able to find a setting to fix this.  Does it mean I have to manually delete the emails from the iPad? 
    Thank you in advance for your help.

    Thanks, I was told that my Yahoo account has to be setup on the Mac as a POP account.  Can you please let me know what the difference is (in simple terms) between IMAP and POP? 

  • How do I delete all my contacts and folders to start off new again as they just keep on coming back all the time?

    How do I delete all my contacts and folders to start off new again as they just keep on coming back all the time after deleted?
    Is there an email address for better communication as this way I find extremely difficult?

    check your account settings, possibly under advanced settings.
    look for an option to check "remove messages from server" or similar.

  • "the repository does not contain all the required definitions"

    Hello,
    At customer's site, I experiment a problem with Powerdesigner Viewer version 16.5.3.2 (4343) to view content of the repository created by Powerdesigner 16.5.3.2 (4343).
    I got the message "The repository does not contain all the required definitions. It cannot be used with this version of the Viewer.".
    Is there someone having an idea of the solution ?
    Kr,
    Thierry de Spirlet

    Hello,
    This article may help you configure the Viewer properly.
    See KBA 1877837 (https://support.wdf.sap.corp/sap/support/notes/1877837)
    I hope this helps,
    Arnaud

  • I purchased QT Pro, and the manual indicates that you can export to Windows Media.  However, the application does not give me that option.  Am I missing something?

    How can I export a movie to Windows Media using QT Pro?  Upgraded QT7.7 to Pro for this reason based on the graphic in the QT manual that indicates Windows Media is an export selection.

    In my original e-mail I actually pasted a screen print of the drop-down menu in the manual.  However, here is the link:
    http://images.apple.com/quicktime/pdf/QuickTime7_User_Guide.pdf
    Go to section 4:  Exporting Files with Quicktime Pro.  Page 42 has an illustration of the menu choices.  The text states “To see the list of file formats available for a movie open in QuickTime Player, choose File > Export and browse the list of file format choices in the Export pop-up menu.”  In the illustration of the drop-down menu, the selection “Movie to Windows Media” is listed between “Movie to QuickTime Movie” and “Sound to AIFF.”  However, the actual application does not provide this option.  After reading the support threads (after my purchase), users agree that  WMV is not supported.  However, the Apple user manual clearly displays this option and it was this documentation that led me to purchase the QT Pro upgrade.  If the format is not supported, why is it listed in the documentation?
    I feel that this illustration is misleading, and I’m requesting a refund based on the fact the application does not support an option illustrated in Apple’s published manual.
    If this e-mail supports attachments, the attached file is the pdf version I saved of this manual.
    Curt

  • Why does the installation respectively the application does not adobe photoshop 13?

    Why does the installation respectively the application does not adobe photoshop 13?

    Photoshop or Photoshop Elements?
    Please read this (in particular the section titled "Supply pertinent information for quicker answers"):
    http://forums.adobe.com/docs/DOC-2325

  • "Error occurred in deployment step 'Retract Solution': The solution does not have a WSP file associated with it." occurs while deploying from Visual studio

    HI,
    I get this error "Error occurred in deployment step 'Retract Solution': The solution does not have a WSP file associated with it. " when deploying my project from visual studio 2010 to
    SharePoint 2010 site. I tried restarting IIS, but it didn't help. This application used to work fine until the server crashed during the deployment process. All the other applications on the same server works fine also. Any ideas how to fix this issue? 
    Thanks in advance,
    AM

    Hi
    AM ,
    Thank you for your posting!
    According to your error message, it says your solution does not have a WSP file associated with it. Take a look at the file system.  After you Right Click -> Deploy Solution on the VS Solution, there
    should be a .wsp file at <Solution Directory>\bin\<debug|release>.
    Also the error can be occurring when the developer try to deploy solutions over pre-existing solutions  with material changed  in the solution.  Go to your Central Administration Site and then
    Operations and then Solution Management.  Make sure that there not already a solution with the same name deployed or installed there.  If there is, remove it and try deploying again.
    And you could look in logs and find if there is a below error in ULS log (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS).
    Thank you for your understanding and support.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • I'm running Windows 7 and iTunes and the other Apple programs wouldn't automatically update. Went through all the options and finally had to delete all Apple files and re-download iTunes. Worked fine, until the next update. Is there a glitch in the system

    I'm running Windows 7 and iTunes (and the other Apple programs) wouldn't automatically update. Went through all the options and finally had to delete all Apple files and re-download iTunes. Worked fine, until the next update. Is there a glitch in the system? Does someone know of some proprietory block (I think it is related to Quicktime)? Also, once I re-downloaded everything, cleaned everything up, and deleted duplicate files, I closed down my computer. When I re-started it, iTunes was "brand new" -- all of my music, organization, tagging, etc. was gone and had to start over. Idea?

    Ok, so after like 4 days of going through all these different issues, I figured out that several programs weren't downloading, and it was an issue with my wireless connectivity messing up the digital signatures, so if you plug in your comp to the modem and delete your temp files, it should start to work!

  • CD/DVD drive does not read all DVD formats and regions

    Hi
    My Teac-dw-224e-a does not read all DVDs formats and regions.
    It does read CDs but no DVDs at all.
    Not DVD-R and not even regular DVDs. I have checked the region of the DVD.
    I have reinstalled the driver and also tried with different software.
    What can I do?
    Please help!

    Hi
    It is possible that your DVD drive has wrong region settings.
    In this case it is not able to watch all possible DVD movies from different regions.
    Of course you can change the settings 4 times. But after this changing the settings are fixed and its not possible to change it anymore.

Maybe you are looking for

  • How do I use a newer iTunes library on an older version of iTunes?

    I have an iTunes Library on my MacBook Pro running iTunes 11.1..5.  I want to copy the library to my older G5 PowerPC with an older version of iTunes which has recently had a new drive installed (because of the old drive failing) and new Leopard Syst

  • Relocation error - how do I cure it?

    Hi, a binary from the KDE4 project built with Sun Studio 12 (same with SS12U1, and SSE) on OSOL2009.06 fails to execute properly. When run as LC_ALL=C LD_DEBUG=libs /opt/kde-4.2/bin/plasmoidviewer tasks this is produced: 02759: 1: 02759: 1: ld.so.1:

  • Record by press of button

    Hello All, t'is me again with yet another stupid question. (sorry but I'm a real bum at labview). Dennis you wrote that : If you want a time stamp only when you click a button, wire the button to a case statement or Select function so that only the T

  • SAP Kernel 6.40 on AIX 5.3

    I am installing SAP 6.40 on AIX 5.3. I was successful in installing SAP Central Instance, but when i am installing Database Instance (Second Step) at 13 phase i.e Prepare Oracle Network Configuration phase the following error is popping up. CJS-00096

  • Where is my mega.nz download?

    I attempted to download a large file overnight (5GB) through Mega.nz On mega.nz it said it ha reached 100% and finished, but i also saw some error messages saying i didnt have enough file space to save.... (I probably had around GB spare before downl