DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Update Portable but keep configuration  (Read 4,605 times)

DEtrieZ

  • Participant
  • Joined in 2013
  • *
  • Posts: 2
Update Portable but keep configuration
« on: July 10, 2013, 12:56 PM »
LOVE THIS APP!!!!
I am running in portable mode and want to update to the latest version.
How can I update without losing my configuration settings?

Thanks for a great app

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Update Portable but keep configuration
« Reply #1 on: July 10, 2013, 01:01 PM »
Welcome to the site DEtrieZ.

Just unpack the new portable zip file on top of your existing directory -- the portable zip file does not contain any file that would override your current settings.
(Having said that, 99% of the time the updates have only changed the exe so most of the time you can just copy over the new exe).

bubbajunk

  • Participant
  • Joined in 2012
  • *
  • Posts: 53
Re: Update Portable but keep configuration
« Reply #2 on: July 19, 2013, 02:45 PM »
I use the portable version as well and have always unpacked to a separate directory and reset all of the configuration options. This will save me some time the next version or in beta testing. One quick question for you.

What happens if there are new options added to the Preference settings that don't exist in the previous version? Do the new settings get created automatically in the .ini file the first time the new executable is run?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Update Portable but keep configuration
« Reply #3 on: July 19, 2013, 02:47 PM »
Quote
What happens if there are new options added to the Preference settings that don't exist in the previous version? Do the new settings get created automatically in the .ini file the first time the new executable is run?

yes, new options will be added and set to defaults when you run the new version, nothing to worry about.

Original address: https://www.donationcoder.com/forum/index.php?topic=35398.0