How to detect the upgrade of our own application

Hi, expert,

We use the CodeModuleListener to detect any deletion of the application and the addition. If our request is deleted, we get the removal of module for our own application, then we'd work dé - a correct initialization. However when our application is upgraded, we would get the deletion of the module for our own application as well, so we would trigger of - initialization, falsely, that is really not desirable.

Right now, we allow the upgrade through our own UI instead of the browser as our own UI upgrade would be made necessary by a specific menu and we know that an update will happen.

However the upgrade via browser, we do not remove current module comes from our application upgrade or remove our application by users. Just wonder if there is anyway to detect our own upgrade of the application.

Furthermore, permanent storage objects are not deleted during upgrade of the application and will be removed during the removal of the application, which is the expected behavior. It's just, there are some extra that we have informed our server during the removal of the application.

Hi fold.
It seems that now I am being misunderstood...
I wanted to say that you must create a new application that will install your original application and the download link would point to the new application.
In this way, users will download the new app (the Installer) and he will decide that this is a new installation or an upgrade for your initial application.

Tags: BlackBerry Developers

Similar Questions

  • How to detect the change of focus between applications

    LV2013, Win7

    I have a long operation that so I have to.  Let's call it a "scan".

    I start to a particular folder on the disc and look for files within this framework and in those folders, etc.  I am looking for a particular file (*.lvlibp).  When I find one, I need to open it, look for particular screw it contains and check them for executability (broken) and fix the ConnPane, etc.  I put all the elements of qualifications in a menu (in the menu bar) as the submenus and submenus, etc..

    I do the scan in a separate thread, is not as if I'm blocking anything either, but it takes away CPU time that I would rather not use.

    If I do the scan only once, then the user can go to the Explorer, move a file in place, or rename a folder and come back and I miss the changes.

    Right now, I do whenever the single window happens (the one to which applies the menu).  But this means that round in my application of switching windows causes the scanner again, when there is no chance of a new file that appears.

    I would like to do this scan only when it is necessary, that I define as when I come back from another program (WIndows Explorer for example) this single window in my LabVIEW application.    I am ready to accept the fact that Scripts Windows or remote operations may sneak a file in there.  I don't mean to be bulletproof, just accommodating the more common scenarios.

    I don't want to make a kind of vote - the entire application is event-driven, and I want to keep it like that.

    So, how can I do this?

    If I look at the ACTIVATION VI event, it looks like it happens for ALL VI have activated.  I can attach a name-comparison and detect when the right window is coming forward, but again, simply because this window comes forward does not mean that I need to analyze.

    If I look at the event of ACTIVATION of the APP, it seems to be NEVER called. Even in an EXE file, the event seems never to occur.

    If I had an event to DISABLE the APP, I could set a flag when it happened, and the next time that the right window comes up, I could check the indicator and scan if necessary.

    But I did none of this case.

    Any ideas on how to do this?

    I think what I'll do is just watch the LAST MOD TIME of the parent folder.

    When I do a scan, I hide the LMT of the parent.

    Then, whenever the WINDOW is enabled, I'll check the LMT to the case against my hiding place.

    If it is different, then I scan again.

    Check the LMT takes about 50 uSec on my system, a relatively small price to pay.  And I do it when the window comes up to the top, so I will not notice every little detail of what you do, and I don't have to dig into .NET and assemblies and versions and unnecessary and other error messages.

  • Cannot activate Windows 8 error "the Software Licensing service determind that specified only usable product key for the upgrade not to own pieces."

    Original title: invalid product key :(

    Today, I tried to load my computer and was faced with the blue screen error short story that my hard drive some how became corrupt and had no partition. Fortunately, I had a friend who told me step by step how to solve this problem using my hard drive in my brothers pc. When it came to reinstalling windows I booted the computer directly from my windows disc 8 and when I tried to activate the key once I was ready to I received an error Code: 0xC004F061Description: The Software Licensing service determind that specified only usable product key for the upgrade not for own pieces. Means that I can not use the key I bought and must buy a new one? It seems really unfair because I've already spent money on the upgrade.

    You upgraded to Windows 8, but did not have an earlier version of Windows Installer (error 0xC004F061)

    If you see error 0xC004F061 when you try to activate Windows 8, this means that you are using a product key for an upgrade of Windows 8 version and a previous version of Windows wasn't on your PC when Windows 8 was installed. To install a Windows 8 upgrade version, you must already have Windows 7, Windows Vista, or Windows XP installed on your PC.

    If you have formatted the drive until the upgrade of Windows 8 version has been installed, you will not be able to use your upgrade product key to activate Windows 8. To activate Windows 8, you will need to install your previous version of Windows, and then reinstall Windows 8. Help with the activation process, contact technical support.

  • How to detect the window closing event and to do some tasks before leaving

    Hello

    Someone knows how to detect the window closing event and to do some tasks before leaving?

    Sridhar

    Structure of the event allows to detect the window closing event. In the structure of the event,.

    Select this VI-> close round table for this task. See attached picture.

  • How to detect the sign of a number?

    I output which gives the number of negative or positive. My problem is how to detect the sign of the Boolean number and output? For example if the input number is negative as - 23.11 I want to output the value false and if the number is positive as 17.99 I want to output true.

    T H A N K S!

    Test if the number is greater than or equal zero.

  • How much is the upgrade of windows nt4 xp proffesional?

    -Does anyone know how much is the upgrade of windows nt4 Win xp professional? and earn 90 to XP Home Edition? Thank you

    -Does anyone know how much is the upgrade of windows nt4 Win xp professional?

    Hello

    There are still a few companies/individuals selling XP Pro updates. I suggest you start by Googling these four words...

    buy

    XP

    Professional

    upgrade

    .. .the price wanting to the supplier (if you can find it) is what you'll pay.

    Really you should have been asking this question about 10 years ago!

    and earn 90 to XP Home Edition?

    Same advice really, except that I have no idea what you mean by "win 90.

    FYI XP will be a product died within 2 years.

    Tricky

  • How to use the upgrade of official ICS on ideapad K1?

    How to use the upgrade of official ICS on ideapad K1?

    Since the post of 'k1_ics_source_code.tar.gz' Open Source Code - IdeaPad Tablet K1 on the official web site

    I want to improve my K1 to ICS Android

    You can see this article on installing the update for the CSI agent: http://forums.lenovo.com/t5/IdeaPad-Slate-Tablets-Knowledge/Ice-Cream-Sandwich-Android-4-Vanilla/ta-...

    There are several different ICS ROMs available. You can watch this article to choose another: http://forums.lenovo.com/t5/IdeaPad-Slate-Tablets-Knowledge/IdeaPad-K1-Which-ROM-do-I-choose/ta-p/86...

  • windows vista 64-bit vista need upgrade Express dvd, but can't without a yellow sticker? is - this saposed to be somewhere on my pc? or on the vista cd case? and how to make the upgrade without the sticker? __

    need vista in windows vista 64-bit upgrade Express dvd, but can't without a yellow sticker? is - this saposed to be somewhere on my pc? or on the vista cd case? and how to make the upgrade without the sticker?

    32-bit to 64-bit is NOT an upgrade path.

    It must be done with a clean installation using a Vista FULL 64-bit disk/license.

    Buy a version of disk/license FULL Vista 64 bits of your local computer, or online store: amazon, newegg, etc.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    If you already have a version of Vista Home 64 bit, here's how to buy Vista 64 bit Ultimate Anytime Upgrade:

    http://www.Microsoft.com/Windows/Windows-Vista/get/Anytime-Upgrade-overview.aspx

    See you soon. Mick Murphy - Microsoft partner

  • How to detect the key ALT pressed in os7

    Hai,

    How to detect the key ALT pressed in Os7...

    Can I use the source for os 7 as below? ,

    protected boolean keyStatus (int keycode final, time final int) {}

    If (Keypad.key (keycode) == Keypad.KEY_ALT) {}

    ...

    Returns true;

    } else

    Return super.keyStatus (keycode, time);

    }

    and also I want to know which is the return of this method? In detail
    How to detect the other touches also?
    What are the updations or changes in the code, on os6 os7?

    KeyCode is a bit model, if you use "is" to compare you won't get accurate results, you should use the operator '& '.

    See
    http://supportforums.BlackBerry.com/T5/Java-development/detect-ALT-and-shift-key-clicks/Ta-p/444976

  • How to detect the number of created quickobjects

    How to detect the number of quickobjects created? quickobject are quickbox2d.

    Basically, I have a timer that will countdown to 4 seconds and it will create a falling ball, it will get removed when she falls down. However, I want only there so that if more than 5 bullets are in step, it will cease to create until it is less than 5 to start creating some balls again. Is there a way I can do?

    It's the timer to create the ball

    If (! _ballCreation_timer) {}

    _ballCreation_timer = new timer (4000);

    _ballCreation_timer.addEventListener (TimerEvent.TIMER, _onBallCreationTimer);

    }

    _ballCreation_timer. Start();

    Function which create the ball based on clock

    function _onBallCreationTimer (e:TimerEvent): void {}

    _doCreateNewBall();

    }

    function _doCreateNewBall() {}

    _ball_quickobject = sim.addCircle ({x: PHYSICS_SCALE * (960), y: PHYSICS_SCALE * (10), RADIUS: 0.5, draggable: false});

    MAKE A LIST OF BALLS

    _balls_array.push (_ball_quickobject);

    }

    This is the part where if the table (QuickObject) ball falls down and are destroyed

    addEventListener (Event.ENTER_FRAME, _onEnterFrame);

    DRAW EACH BALL FALLING OUT OF THE SCREEN

    function _onEnterFrame (aEvent: Event): void {}

    for each (var quickObject: QuickObject in _balls_array) {}

    BALL FALLING OUT OF THE SCREEN?

    If (quickObject.y / PHYSICS_SCALE > 1080) {}

    _doHandleBallOffScreen (quickObject);

    }

    }

    }

    DESTROY THE BALL FALL OFF THE SCREEN IF

    function _doHandleBallOffScreen (aQuickObject: QuickObject): void {}

    DESTROY THE OBJECT

    aQuickObject.destroy ();

    REMOVE FROM THE CUSTOM TABLE

    _balls_array.splice (_balls_array.indexOf (aQuickObject), 1);

    }

    check the length of _balls_array.  If it is greater than 5, do not create another bullet:

    If (! _ballCreation_timer) {}

    _ballCreation_timer = new timer (4000);

    _ballCreation_timer.addEventListener (IMER TimerEvent.T, _onBallCreationTimer);

    }

    _ballCreation_timer. Start();

    Function which create the ball based on clock

    function _onBallCreationTimer (e:TimerEvent): void {}

    _doCreateNewBall();

    }

    function _doCreateNewBall() {}

    If (_balls_array.length<>

    _ball_quickobject = sim.addCircle ({x: PHYSICS_SCALE * (960), y: PHYSICS_SCALE * (10), RADIUS: 0.5, draggable: false});

    MAKE A LIST OF BALLS

    _balls_array.push (_ball_quickobject);

    }

    }

    This is the part where if the table (QuickObject) ball falls down and are destroyed

    addEventListener (Event.ENTER_FRAME, _onEnterFrame);

    DRAW EACH BALL FALLING OUT OF THE SCREEN

    function _onEnterFrame (aEvent: Event): void {}

    for each (var quickObject: QuickObject in _balls_array) {}

    BALL FALLING OUT OF THE SCREEN?

    If (quickObject.y / PHYSICS_SCALE > 1080) {}

    _doHandleBallOffScreen (quickObject);

    }

    }

    }

    DESTROY THE BALL FALL OFF THE SCREEN IF

    function _doHandleBallOffScreen (aQuickObject: QuickObject): void {}

    DESTROY THE OBJECT

    aQuickObject.destroy ();

    REMOVE FROM THE CUSTOM TABLE

    _balls_array.splice (_balls_array.indexOf (aQuickObject), 1);

    }

  • How to detect the color pages in a PDF file?

    I use a plug-in of Acrobat C++ read/modify a PDF file.

    I need to get the total number of pages in the PDF file and the page numbers of the pages in color.

    So far, I was able to get the total number of pages using PDDocGetNumPages() with no problems.

    However, I can't find an API that lets me know if a particular page is color or not. Is there a way to do this?

    Thanks in advance!

    But what happens if there are RGB data which means black or grey (R == G == B), that means black or RGB?

    There is a code sample in the SDK to browse content in the PDF file, and then you can get the color space and color of each object.

    But you really need to do background research on the colors & spaces to achieve this properly.

    From: Sachintha81 [email protected]<>[email protected]>

    Reply-To: "[email protected]<>[email protected]> ' [email protected]<>[email protected]>" "

    Date: Wednesday, February 8, 2012 16:57:10-0800

    To: Leonard Rosenthol [email protected]<>[email protected]>

    Topic: How to detect the color pages in a PDF file?

    Re: How to detect the color pages in a PDF file?

    created by Sachintha81http://forums.adobe.com/people/Sachintha81> in Acrobat SDK - see the discussion complete onhttp://forums.adobe.com/message/4194889#4194889

  • How to detect the operating system to PDF using javascript

    Hello

    How to detect the operating system to PDF using javascript. (Javascript console)

    Thanks in advance.

    App.Platform will return "WIN", "MAC" or "UNIX".

  • How to view the download progress of an application on the Mac App Store

    When I download an app on the Mac App Store, A cannot see the status of the download. How to display the download progress of an application on the Mac App Store?

    Of application are what type you referring? If the app is in the launch area, then you will see the progress bar just below the icon on your dock launch pad. If you want to see the progress of an application that is not in the launch pad, then if you look at the Mac App Store update page, it shows the progress just below bar app that it is updating.

    Sorry - that was updated.

    See you soon,.

    GB

  • How to show the multiple declaration for an application

    How to show the multiple declaration for an application

    Thanks for your suggestions...

    Looking at the javadocs you can only save an indicator by application. You will need to do three separate applications and package them as an If you want three different indicators to be visible at a time. Or change the flag that (or which group) of the indicators you want to display.

  • How permanently increase the font size in windows applications

    How permanently increase the font size in Windows applications as for example the mail application? The letters are much too small, and my eyesight is perfect! Thank you

    Sign of salvation,

    Welcome to the Microsoft community forum. From the description of the problem, it seems that you want to change the font size for the user interface modern app.

    You can change the modern user interface text size by going to the charms > settings > change the settings of the PC > PC and peripherals > display

    Also see this Microsoft article:

    http://Windows.Microsoft.com/en-us/Windows-8/make-text-screen-larger-smaller/?v=t

    Windows 8.1, you can now set the DPI (Dots per Inch) scale to make text and other items, such as icons, fonts and windows, to more or less important for all display or by display screens.

    Windows 8.1 DPI scale improvements are mainly focused on:

    • Optimization of ergonomics and the readability of displays high-resolution
    • Offering an experience uniform multi-screen systems
    • Give developers optimize app specific scale based on display DPI

    If you are using a resolution of 1366 x 768 display on a shelf, chances are that UI will look good 100% ppp settings. But what about when you connect the tablet to an external high resolution? In Windows 8, you can choose either 100% in order to optimize the user interface on the screen of the tablet or display up to 150% in order to optimize the user interface on the outside. You have to make compromises.

    8.1 Windows takes care of this issue pressing address scaling of IPR by display . By default, Windows 8.1 will choose the optimal DPI scaling value for each display based on the value selected for the global scaling in the control panel.

    You can also view the suggestion provided by Shawn on this thread.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows8_1-ECOMS/how-does-one-increase-the-size-of-the-text-of/58c7f3fe-8686-4422-ad36-8ab75515527f

    I hope this helps. If you need help with Windows, let us know and will be happy to help you.

Maybe you are looking for