diff --git a/drivers.txt b/drivers.txt new file mode 100644 index 0000000..1635b9a --- /dev/null +++ b/drivers.txt @@ -0,0 +1,15 @@ +# The format is +# driver,desc,vid,pid,guid +# Use a comma as a separator without spaces +# Driver can be one of winusb,libusb,libusbk +# Use Windows Powershell and type [guid]::NewGuid() to generate guids +winusb,STM32 Bootloader,0483,DF11,6d98a87f-4ecf-464d-89ed-8c684d857a75 +winusb,STM32duino Bootloader,1EAF,0003,746915ec-99d8-4a90-a722-3c85ba31e4fe +libusbk,USBaspLoader,16C0,05DC,e69affdc-0ef0-427c-aefb-4e593c9d2724 +winusb,Kiibohd DFU Bootloader,1C11,B007,aa5a3f86-b81e-4416-89ad-0c1ea1ed63af +libusb,ATmega16U2,03EB,2FEF,007274da-b75f-492e-a288-8fc0aff8339f +libusb,ATmega32U2,03EB,2FF0,ddc2c572-cb6e-4f61-a6cc-1a5de941f063 +libusb,ATmega16U4,03EB,2FF3,3180d426-bf93-4578-a693-2efbc337da8e +libusb,ATmega32U4,03EB,2FF4,5f9726fd-f9de-487a-9fbd-8b3524a7a56a +libusb,AT90USB64,03EB,2FF9,c6a708ad-e97d-43cd-b04a-3180d737a71b +libusb,AT90USB128,03EB,2FFB,fd217df3-59d0-440a-a8f3-4c0c8c84daa3 diff --git a/install.iss b/install.iss index e64cc57..cc5a132 100644 --- a/install.iss +++ b/install.iss @@ -39,9 +39,13 @@ Name: "english"; MessagesFile: "compiler:Default.isl" Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked [Files] +Source: "qmk_driver_installer.exe"; DestDir: {tmp}; Flags: deleteafterinstall +Source: "drivers.txt"; DestDir: {tmp}; Flags: deleteafterinstall Source: "icon.ico"; DestDir: "{app}"; Flags: ignoreversion Source: ".build\msys64\*"; DestDir: "{userappdata}\{#MyAppDir}\"; Flags: ignoreversion recursesubdirs createallsubdirs -; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[RUN] +Filename: "{tmp}\qmk_driver_installer.exe"; WorkingDir: "{tmp}"; Parameters: " --all --force drivers.txt"; StatusMsg: "Installing Drivers..." [Icons] Name: "{autoprograms}\{#MyAppName}"; Filename: "{userappdata}\{#MyAppDir}\usr\bin\mintty.exe"; Parameters: "-i ""{app}\icon.ico"" -t ""{#MyAppName}"" /usr/bin/bash -l -c ""MSYSTEM=MINGW64 exec -l bash"""; IconFilename: "{app}\icon.ico" diff --git a/qmk_driver_installer.exe b/qmk_driver_installer.exe new file mode 100644 index 0000000..c56fe4a Binary files /dev/null and b/qmk_driver_installer.exe differ