Re: install/upgrade.iss
By: MRO to Rob Swindell (on Windows on Sun Apr 26 2026 10:52 pm
Re: install/upgrade.iss
By: Rob Swindell (on Windows 11) to Git commit to main/sbbs/mas
location) that make this same assumption: so any really edgy sysops
that don't have their sbbs directories with a common parent will need
to deal.
if that's a jab at me, i have my bbses installed in sbbs\
Firstly, it wasn't a jab at anyone. It was refering to the fact that the "ctrl" directory doesn't *have* to be a child of a common parent Synchronet/SBBS directory. You could in theory have a Synchronet install like this (with no "common parent"):
c:\somepath\ctrl
c:\otherpath\data
c:\diffpath\text
d:\node1
e:\node2
etc.
That's what I was referring to. And that's not going to work with the upgrade-installer *unless* the SBBSCTRL environment variable is set first, which happens automatically if Synchronet is installed.
The ultimate fix would be to prompt the sysop for the location to the ctrl directory instead (not the parent), defaulting to the SBBSCTRL environment variable and then discover all the other directories (exec, text, etc.) by reading ctrl/*.ini files. I'm not doing that today.
just have it use what the user inputs during the install
it asks for the synchronet path, the scripts should use it.
If Synchronet is installed first (in your example case, it was not), the upgrade-installer *automatically* uses that installation target directory as the common parent (e.g. "/ctrl" is appended to the installation directory). The path prompt in the upgrader is for the installation / common parent directory, *not* the control directory. You have a simplified understanding of how the Synchronet directory hierarchy works.
--
digital man (rob)
Synchronet "Real Fact" #133:
Synchronet Ad: ... BBS software that really makes waves. Get out your surfboard Norco, CA WX: 52.8øF, 78.0% humidity, 4 mph WNW wind, 0.27 inches rain/24hrs ---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net