New BCX Installer Disccussion

Started by MrBcx, March 02, 2024, 06:47:44 PM

Previous topic - Next topic

Robert

Windows 11

My install from my User Downloads folder on C:  installed on D: drive.

User should be able to specify where BCX is installed.

MrBcx

Quote from: airr on March 04, 2024, 12:05:22 PM
I'm assuming you were booted from your A: drive?

Nope ... boot device is C:\

A: drive does not have an OS on it.

airr

I'm assuming you were booted from your A: drive?

Should be a simple fix on my end; just edit the config.bat file so that instead of a hard-coded drive, it uses the windows variable %HOMEDRIVE%.

The config.bat will look like this:

Code (batch) Select
@SET PellesFolder=%HOMEDRIVE%\Bed\PellesC
@SET BCX=%HOMEDRIVE%\Bed\BCX


I'll update the installer soon (probably later this afternoon), at work right now..... ;D

AIR.

MrBcx

#3
Thanks for doing this Armando.  Here are my first observations.

I downloaded, unblocked, and ran your installer.

It automatically created a Bed folder on my A: drive ( which is a 4 TB external USB drive )

I loaded Amort.bas from A:\Bed\Demos\Gui_Demo\Amort\

I pressed F5 and told Bed to build a GUI app using Pelles C

It failed
because A:\Bed\Bat\Pelles\Config.bat specified C:\ not A:\

I edited Config.bat and then Amort.exe was created successfully.

It looks like your installer is about 99% perfect.

I have to leave now ... I'll check back in later today. 

Thank you again for helping with this!

airr

#2
First crack at it, using Wix/WixEdit to create a MSI installer.

Configured for PellesC, which is what I have installed at the moment.  Note that I created a "Demos" folder at the root of C:\Bed, and placed Con_Demo/Gui_Demo folders inside.

This doesn't create a desktop shortcut (yet), but does create one in the startup menu.

Let me know if it works for you....the link below is on one of my servers, since it's too large to be attached here.

The source xml I created for Wix is also attached for anyone who might be interested...

AIR.

See: https://bcxbasiccoders.com/smf/index.php?topic=1003.msg5149#msg5149

MrBcx

Quote from: Robert on March 02, 2024, 05:07:53 PM
Just the tickets for the new soon-to-be-released BCX installer. Ahem, um, cough, cough ...

I've made zero progress on this ... real world stuff takes precedence.

If anyone wants to take it on, be my guest.

My current thought is to retire the installer and simply go with a zip file
containing BED, the console demos, the GUI demos, and either Pelles C
or MINGW configured for BED. 

C:\Bed\PellesC\   or C:\Bed\Mingw\
C:\Bed\Con_Demos\
C:\Bed\Gui_Demos\

and the other folders that BED currently uses.

The forum is here to help newbies get to where they want to go with BCX.