Installing V4 Beta

Everything else that doesn't fall into one of the other PB categories.
MikeB
Enthusiast
Enthusiast
Posts: 183
Joined: Sun Apr 27, 2003 8:39 pm
Location: Cornwall UK

Installing V4 Beta

Post by MikeB »

I decided to give V4 Beta a try, I have been holding back for the final version, but decided to have a go! But how do you install it, I made a copy of my V3.94 just in case and then copied all the V4 files into the V3.94 folder (after deleting the V3.94 files) but that doesn't work as I just get told it can't find libraries. I've tried putting it in a new folder and that doesn't work. I can't find anything to run that will install it as per normal with the windows installer, so what am I missing.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Extract the entire archive instead of selecting all files in the archive and dragging them into the old folder. If you already did that, you've got a crappy zip program.
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

There is at least one "empty" directory in the zip structure. Some programs don't extract the empty directory thus the PB error.

Just make sure your unzip creates all the files/folders and you should be OK.

cheers
MikeB
Enthusiast
Enthusiast
Posts: 183
Joined: Sun Apr 27, 2003 8:39 pm
Location: Cornwall UK

Post by MikeB »

I don't get what is going on, I've unpacked it with ZipItFast and the windows unpacker and it makes no difference. Either way every time I try and run it I get the message saying that it can't find the Pure Libraries and to re-install PB. Since it has never actually been installed that's a bit difficult. The PureBasic.chm file says to click on the Install Wizard, but where is it? There doesn't appear to be anything in what I have downloaded that is for installation.
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Hi MikeB,

With recent PB's, I use this approach:

1: Unzip the beta to a temporary directory.
2: Create a new folder for the PureBasic version (or empty an existing folder if intending to overwrite, first saving prefs to a holding folder).
3: Copy the contents of "main" subfolder from the temp folder to the new purebasic folder (and copy back prefs if stored somewhere).
4: Copy across help (the .chm) from the language (English for me) folder to the new PureBasic folder.
5: Click on the new PureBasic.exe to launch and to let Pure know to use this folder.

If that helps.

If you are just unzipping, then perhaps the relationships between folders is out of whack?

Anyhow, hope you can resolve it soon.


Edit: @rsts - Small mystery - I don't have any empty folders on unzip. Which one do you get as empty?
@}--`--,-- A rose by any other name ..
freak
PureBasic Team
PureBasic Team
Posts: 5948
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Its the 'PureLibraries/UserLibraries' folder that is empty iirc.
quidquid Latine dictum sit altum videtur
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Better put a dummy file inside it.
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

freak wrote:Its the 'PureLibraries/UserLibraries' folder that is empty iirc.
You do recall correctly (and now that you mention it, it is obvious. lol - I'm not the sharpest tool in the shed.)

Was just curious, thanks for the answer.
@}--`--,-- A rose by any other name ..
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4792
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

Dare2 wrote:
freak wrote:Its the 'PureLibraries/UserLibraries' folder that is empty iirc.
You do recall correctly (and now that you mention it, it is obvious. lol - I'm not the sharpest tool in the shed.)

Was just curious, thanks for the answer.
Good evening brother mallet. Can I be BLUNT with you???

/me falls off the chair laughing his hamsters off
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Post by SFSxOI »

I just right click on the .zip file and choose "Extract to (whatever the zip file was called)" . Winzip does this just fine. Then I create a shortcut to the new .exe in the 'Main' folder and put it on my desktop. Then I put the help file in the main folder,,,,and off i go. Works with no problems. I then copy over any particular libraries and stuff that i had in the last version.
MikeB
Enthusiast
Enthusiast
Posts: 183
Joined: Sun Apr 27, 2003 8:39 pm
Location: Cornwall UK

Post by MikeB »

Thanks everyone for the help. It seems that what was causing the problem was that I had not copied the help file from the English folder to the main folder, but copied the folder to the main folder. Dare2 mentioned this and it worked!
I know that the error messages often don't actually tell you what is wrong, but to get an error message saying that it can't find the PB libraries when it is the help file that's missing is singularly unhelpful. I suppose that you can't have an error message for every possible boob that can be made, but without your help I was about to give up.
Post Reply