Package Spice Guest Tools in an ISO format
This is a continuation of https://pagure.io/fedora-workstation/issue/324#comment-808703
Problem
When the express install option isn't enabled, the user has to manually download the SPICE Guest Tools in the SPICE website. However, Boxes only shows a link to this website and doesn't explain which file to download (there are too many links in the SPICE downloads page). It would be great to have these tools in an ISO format like VirtualBox Guest Additions.
Possible implementation
This could be done with mkisofs
:
mkisofs -l -allow-lowercase -o spice-guest-tools.iso folder-with-the-autorun-and-executable-files
- -l will allow full 31 character names, so the exe filename doesn't get cut in the UAC screen (example: spice_guest_tools.exe instead of SPICE_GU.EXE)
- -allow-lowercase won't make the filename to be converted to uppercase
And with an autorun.inf file:
[autorun]
open=spice_guest_tools_latest.exe
icon=spice_guest_tools_latest.exe
label=SPICE Guest Tools
(The original filename is spice-guest-tools-latest.exe, but mkisofs always convert hyphens to underscores)
The autorun.inf file will allow the ISO to display like this in Windows File Explorer:
Double clicking in this entry will start the installation.