https://gitlab.synchro.net/main/sbbs/-/commit/3095484c52ba1230b7661093
Modified Files:
install/upgrade.iss
Log Message:
Use the jsexec -c option to specify the install-to CTRL directory
Address the issue demonstrated by JasHud in
https://www.veed.io/view/ad2b464a-af68-43c3-96eb-8802f0ad396d
where the SBBSCTRL environment variable was not set before the upgrade.
This does mean that the "ctrl" directory must be a subdirectory of the installation target directory (e.g. "c:\synchronet\ctrl") but there's other places in this script (e.g. the text.dat target 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.
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net