Windows installer prep

This commit is contained in:
adityapk00
2018-10-30 22:18:18 -07:00
parent 186e4dfd83
commit 551eda9c52
4 changed files with 35 additions and 0 deletions

1
.gitignore vendored
View File

@@ -16,6 +16,7 @@ Makefile
Makefile.*
qrc_application.cpp
zec-qt-wallet_plugin_import.cpp
zec-qt-wallet_resource*
workspace.code-workspace
*.zip
*.tar.gz

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<Installer>
<Name>zec-qt-wallet</Name>
<Version>1.0.0</Version>
<Title>zec-qt-wallet Installer</Title>
<Publisher>Your vendor</Publisher>
<StartMenuDir>zec-qt-wallet</StartMenuDir>
<TargetDir>@ApplicationsDirX64@/zecqtwallet</TargetDir>
</Installer>

View File

@@ -0,0 +1,16 @@
function Component()
{
// default constructor
}
Component.prototype.createOperations = function()
{
// call default implementation to actually install README.txt!
component.createOperations();
if (systemInfo.productType === "windows") {
component.addOperation("CreateShortcut", "@TargetDir@/zec-qt-wallet.exe", "@StartMenuDir@/zecqtwallet.lnk",
"workingDirectory=@TargetDir@");
}
}

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<Package>
<DisplayName>zec-qt-wallet</DisplayName>
<Description>Install this example.</Description>
<Version>0.1.0-1</Version>
<ReleaseDate>2010-09-21</ReleaseDate>
<Default>true</Default>
<Script>installscript.qs</Script>
</Package>