+ Reply to Thread
Results 1 to 5 of 5

Thread: Software updates & prefs on windows

  1. #1

    Default Software updates & prefs on windows

    I was wondering how you guys handle new versions of your software.
    Does your installer handle things if user has already an older version of the software? Or do you require uninstall before?

    I'm looking into innosetup as installer, is it possible to make it handle updates? (I would just need to replace the game folder really).

    Another thing, as for user preferences, where do you keep the preferences saved? A local file in the app folder? The register? A file somewhere else?

    Thanks.
    It's ragdollsoft.com
    New game in development Rubber Ninjas - Mac Games Downloads

  2. #2
    Junior Member
    Join Date
    Jan 2007
    Location
    Romania
    Posts
    3

    Default

    Yes, Inno setup supports plugins as well, so you can just write an updater the way you want, then use it.

  3. #3
    Senior Member
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    313

    Default

    I use InnoSetup too. In the installation, I place a note suggesting to people to uninstall any previous version before. Ideally, I would be looking for a solution that would handle the uninstallation automatically.

  4. #4
    Junior Member
    Join Date
    Nov 2004
    Location
    Surrey Area
    Posts
    10

    Default

    Hi there, You need to use AppID for this.

    Have a look at the following FAQ from Inno Setup FAQ

    When I install a new version of my application without uninstalling the old version first, I get a second entry in Control Panel's Add/Remove Programs.

    This happens when you change AppId between versions, or if AppId is not specified, AppName. If you do that, Setup has no way of knowing that the two versions are of the same application, and thus will create a new entry in Add/Remove Programs. Additionally, a new uninstall log file (unins???.dat) will be created. The obvious solution for this is to not change AppId or AppName.

    If you must change AppName in a new version, set AppId to the value of AppId or AppName from the previous version.
    The following is a great tutorial:
    http://www.gimlisys.com/articles-innosetup.html

  5. #5

    Default

    Neat, apparently innosetup replaces the old folder overwriting different files.

    As for saving preferences, on the mac cocoa uses property lists to store prefs, which is a nice system.

    For windows what's the usual thing to do? xml? Saved where?

    Thanks.
    Last edited by ragdollsoft; 06-13-2009 at 08:57 AM.
    It's ragdollsoft.com
    New game in development Rubber Ninjas - Mac Games Downloads

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts