Skip to content

Commit

Permalink
windows: Update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlivio committed Aug 9, 2020
1 parent 47ab427 commit d0411d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions extra/windows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ Build with autotools.
## Create installer on Windows

Download rcedit (<github.com/electron/rcedit/releases>) to extra/windows folder.

$ wget https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x64.exe -O extra/windows/rcedit-x64.exe

Download Inno Setup (<www.jrsoftware.org/isinfo.php>).

First, change ginga and gingagui icons using (run terminal with admin privileges):

$ extra/windows/rcedit-x64.exe /mingw64/bin/ginga.exe --set-icon extra/windows/icon.ico
$ extra/windows/rcedit-x64.exe /mingw64/bin/gingagui.exe --set-icon extra/windows/icon.ico
$ extra/windows/rcedit-x64.exe /mingw64/bin/ginga.exe --set-icon extra/windows/icon.ico && extra/windows/rcedit-x64.exe /mingw64/bin/gingagui.exe --set-icon extra/windows/icon.ico

Run `ginga_win_deploy_script.iss` with Inno Setup.
- If your Windows drive is not C:\\ the script must be modified
Expand Down
3 changes: 1 addition & 2 deletions extra/windows/ginga_win_deploy_script.iss
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
[Files]

; Ginga
;Source: "C:\tools\msys64\mingw64\bin\ginga.exe"; DestDir: "{app}\ginga\"; Flags: ignoreversion
Source: "C:\tools\msys64\mingw64\bin\ginga.exe"; DestDir: "{app}\ginga\"; Flags: ignoreversion
Source: "C:\tools\msys64\mingw64\bin\gingagui.exe"; DestDir: "{app}\ginga\"; Flags: ignoreversion
Source: {#SourcePath}\{#MyAppIcoName}; DestDir: "{app}\"; Flags: ignoreversion

Expand Down Expand Up @@ -140,7 +140,6 @@ Source: "C:\tools\msys64\mingw64\bin\zlib1.dll"; DestDir: "{app}\ginga\"; Flags:
Source: "C:\tools\msys64\mingw64\lib\gstreamer-1.0\*"; DestDir: "{app}\ginga\lib\gstreamer-1.0"; Flags: ignoreversion recursesubdirs createallsubdirs

; Gstreamer plugin bin

Source: "C:\tools\msys64\mingw64\bin\avcodec-58.dll"; DestDir: "{app}\ginga\"; Flags: ignoreversion
Source: "C:\tools\msys64\mingw64\bin\avfilter-7.dll"; DestDir: "{app}\ginga\"; Flags: ignoreversion
Source: "C:\tools\msys64\mingw64\bin\avformat-58.dll"; DestDir: "{app}\ginga\"; Flags: ignoreversion
Expand Down

0 comments on commit d0411d6

Please sign in to comment.