rbxmk
rbxmk copied to clipboard
Windows installer
The current install process isn't as convenient as it could be. It seems especially daunting if the user has no clue what they're doing.
Solution: Create a Windows installer. This will make the install process trivial. It also simplifies uninstalling.
Use Inno Setup. It's open-source, and easy to automate. Moreover, the Windows environment for GitHub Actions already has it installed. An installer is created by compiling an Inno Setup Script.
Goals
- Package both 32- and 64-bit versions. The installer will automatically select the correct one.
- Handle previous installations.
- Option to install for user, for all, or to a custom location.
- Option to add rbxmk location to PATH.
Research
- Use a
.syso
file to embed icons into the executable. Several options are available for generating the file:- https://github.com/josephspurrier/goversioninfo
- https://github.com/tc-hib/go-winres
- https://github.com/akavel/rsrc
- https://github.com/hallazzang/syso
- Script can include #define directives, can be used to pass arguments during compilation.
- Use this to pass the version number.