Multiple PB versions installed - any pitfalls?

Working on new editor enhancements?
Zach
Addict
Addict
Posts: 1676
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Multiple PB versions installed - any pitfalls?

Post by Zach »

Hi all,

I finally broke down and downloaded PB 3.94 from the museum, because I really wanted to see an AVI/Avisynth Script player that just WORKED..

I installed PB 3.94 to its own directory with the version number tacked on. Is there anything else I need to be aware of? I don't want to cause any problems for PB 4.51 since I hope to still use it for other things. Are there any major bugs or performance issues I should know about?

How many of you run multiple versions on the same machine, and how many versions do you run? Is it a pleasant experience?

Thanks..
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Multiple PB versions installed - any pitfalls?

Post by ts-soft »

I have installed 2 older versions (3.3 and 3.94) and 10 newer Versions. I use the newer Versions from one IDE.
No problems, no portable switch or anything else.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: Multiple PB versions installed - any pitfalls?

Post by Vera »

Hi Zach,

I experienced conflicts with shared *.prefs before and after PB 4.40. With 4.40 the default IDE theme had been switched and the setting become partly incompartible. I only use one full installed version using the %appdata% settings and all the others with portable switch.

Maybe 'save-copy' the prefs and just try it :)

cheers ~ Vera
Marlin
Enthusiast
Enthusiast
Posts: 406
Joined: Sun Sep 17, 2006 1:24 pm
Location: Germany

Re: Multiple PB versions installed - any pitfalls?

Post by Marlin »

I found no problems having different versions of PB available using Linux.

Each version:
  • goes to it's own folder
  • is started with a tiny script that
    • sets the environment and
    • makes it use its own preferences
Such a start script could look like:

Code: Select all

#!/bin/bash
export PUREBASIC_HOME=~/purebasic-4.51
export PATH=$PUREBASIC_HOME/compilers:$PATH
purebasic -p myprefs.ini
But usually,
once I trust the new version, I find myself not using the older versions at all.
Zach
Addict
Addict
Posts: 1676
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: Multiple PB versions installed - any pitfalls?

Post by Zach »

Aye.. its pretty much a last resort for this one application I want to do.

I didnt' know about the portable flag, that's interesting. So far they both load up with different themes, etc so I think everything is OK.
Post Reply