Reply to Thread

Post a reply to the thread: Update Questions

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 06-27-2011, 10:58 AM
    kevinb

    Re: Update Questions

    Well, the version I was storing was specific to the app. I hadn't looked at any setupbuilder versioning.
  • 06-27-2011, 10:38 AM
    mitchr

    Re: Update Questions

    Why did you create 2 registry entries? Setupbuilder already stores this for you (see "Detect Previous Version" function), including install date and version.

    Mitch
  • 06-27-2011, 10:15 AM
    kevinb

    Update Questions

    Hey guys, I need some info on updating existing installs. The project I'm working on uses a WAMP stack and the app itself is just php scripts. On a full install I install everything. I have created 2 registry entries to hold the install dire and current version. The current version I populate into a variable from within the SB install script when I create it. Since the WAMP stack does not change between versions, only the php scripts do, I was looking to do it like this:
    Installer runs and checks version variable and install dir. If the version is populated it checks that the version being installed is NEWER. If it IS then I want to ONLY install the script directory, without the WAMP stack. The script automatically updates the DB structure the first time the script is run, if needed, so there isn't anything else to worry about upgrading. The existing config file would need to be preserved during an upgrade since it contains the db and path info, etc. I think that during an upgrade simply not overwriting (copying) the config file would work fine, based on if it's an install or upgrade. Is this doable? I think trying to do install/upgrades based on full directory compares, etc. is overkill for this project. This should work doing a web install/upgrade as well, correct? Thanks.

    Kevin

Posting Permissions

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