Skip to content

Commit

Permalink
Update installer for Windows and add README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Mar 9, 2017
1 parent ed6edaa commit 0cda132
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 21 deletions.
6 changes: 0 additions & 6 deletions deploy/windows/README

This file was deleted.

11 changes: 11 additions & 0 deletions deploy/windows/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Install the [Qt Installer Framework](https://download.qt.io/official_releases/qt-installer-framework/) and make sure its bin folder is added to the path.

The `sigviewer.exe` binary needs to be present in `$sigviewer/bin/release` - if not, build it. Open a command prompt, change into `$sigviewer/bin/release` and type:

windeployqt sigviewer.exe

Next, move the contents of the `$sigviewer/bin/release` folder into `$sigviewer/deploy/windows/packages/org.sigviewer.sigviewer/data`. Furthermore, copy the file `$sigviewer/src/images/sigviewer.ico` to this folder.

Finally, change into `$sigviewer/deploy/windows` in the command prompt and type:

binarycreator --offline-only -c config/config.xml -p packages sigviewer
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Component.prototype.createOperations = function()

if (systemInfo.productType === "windows") {
component.addOperation("CreateShortcut", "@TargetDir@/sigviewer.exe", "@StartMenuDir@/SigViewer.lnk",
"workingDirectory=@TargetDir@", "iconPath=%SystemRoot%/system32/SHELL32.dll",
"iconId=2");
"workingDirectory=@TargetDir@", "iconPath=@TargetDir@/sigviewer.ico");
}
}
13 changes: 0 additions & 13 deletions deploy/windows/startmenu.pro

This file was deleted.

0 comments on commit 0cda132

Please sign in to comment.