That ^ is not the same as scripting OS/setup parameters. The big difference is that if it were scripted, it could be released as a tool to help common setup scenarios for users everywhere, and the script could be easily changed to suit particular needs.
I think this is a great idea, and I don’t think anyone has done this yet. At one point, when I was trying to get the Message Server working, I collected a few small scripts (BAT, Powershell) for SQL Server config changes and Firewall changes. My intent was to “package” it all together so that is could be run in an interactive manner, prompting the user for things like:
SQL Instance
DB Name
DB user/password
SQL IP and port information to allow remote connections, and for Firewall
Message Server Port (for firewall)
After entering information, or accepting defaults, the script would make all updates to the system (OS/SQL/Firewall) as necessary, saving new users time and headache, like:
- setting SQL to mixed authentication
- setting SQL for remote access
- setting SQL ports and listening IP for SQL Server and SQL Browser
- setting Firewall Rules to open applicable ports
There was also quite some time ago, a bit of discussion regarding SQL Server setup/install using an unattended config/settings file that we could release to ease the pain for new users as well. Things like:
- Instance Name
- DB Name
- Mixed auth
- sa password
I think it would be great to see what you have done so far, and we could work to improve and add to it to solve most common usage/setup scenarios making it easier for new users of SambaPOS.
This post has a powershell firewall script, and the topic contains a lot of useful information for setting up multi-terminal:
And this topic talks about unattended SQL Server install, as well as opening firewall ports from command line: