Skip to content

Commit

Permalink
Install C++ Redistributable (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored Sep 3, 2021
1 parent 05856a6 commit 99f60f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
curl -L --output-dir .build/drivers/ -O https://raw.githubusercontent.com/qmk/qmk_firmware/master/util/drivers.txt
curl -L --output-dir .build/drivers/ -O https://github.com/qmk/qmk_driver_installer/releases/download/v1.01/qmk_driver_installer.exe
- name: Download Visual C++ Redistributable
shell: bash
run: |
mkdir .build/vcredist/
curl -L --output-dir .build/vcredist/ -O http://download.microsoft.com/download/c/c/2/cc2df5f8-4454-44b4-802d-5ea68d086676/vcredist_x64.exe
- name: Update MSYS
run: |
.build\msys64\msys2_shell.cmd -mingw64 -defterm -no-start -c "pacman -Syu --noconfirm || true"
Expand Down
2 changes: 2 additions & 0 deletions installer/install.iss
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ Name: "installdrivers"; Description: "Install drivers"; GroupDescription: "Other
Source: ".\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\.build\msys64\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\.build\drivers\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\.build\vcredist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs

[Dirs]
Name:"{app}\"; Permissions:everyone-modify

[Run]
Filename: "{app}\vcredist_x64.exe"; WorkingDir: "{app}"; Parameters: " /install /quiet /norestart"; StatusMsg: "Installing Visual C++ Redistributable..."; Flags: runhidden
Filename: "{app}\qmk_driver_installer.exe"; WorkingDir: "{app}"; Parameters: " --all --force drivers.txt"; StatusMsg: "Installing Drivers..."; Tasks: installdrivers; Flags: runhidden

[Icons]
Expand Down

0 comments on commit 99f60f3

Please sign in to comment.