Windows installer prep
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -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
|
||||
9
src/scripts/windowsinstaller/config/config.xml
Normal file
9
src/scripts/windowsinstaller/config/config.xml
Normal 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>
|
||||
@@ -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@");
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user