Commit 4477b999 authored by Ingemar Ceicer's avatar Ingemar Ceicer

qtinstallerframework

parent 11cfdd3c
<?xml version="1.0"?>
<Installer>
<WizardStyle>Modern</WizardStyle>
<Name>hashSum</Name>
<Version>2.5.1</Version>
<Title>hashSum 2.5.1 Setup</Title>
<Publisher>Ceicer IT</Publisher>
<ProductUrl>https://gitlab.com/posktomten/hashsum/-/wikis/home</ProductUrl>
<InstallerApplicationIcon>hashsum</InstallerApplicationIcon>
<InstallerWindowIcon>hashsum</InstallerWindowIcon>
<RunProgram>@[email protected]/hashsum-2.5.1.exe</RunProgram>
<StartMenuDir>hashSum</StartMenuDir>
<MaintenanceToolName>hashSumMaintenanceTool</MaintenanceToolName>
<AllowNonAsciiCharacters>true</AllowNonAsciiCharacters>
<TargetDir>@[email protected]/Hashsum</TargetDir>
<AdminTargetDir>@[email protected]/Hashsum</AdminTargetDir>
</Installer>
\ No newline at end of file
function Component()
{
gui.pageWidgetByObjectName("LicenseAgreementPage").entered.connect(changeLicenseLabels);
}
Component.prototype.createOperations = function()
{
component.createOperations();
if (systemInfo.productType === "windows") {
component.addOperation("CreateShortcut", "@[email protected]/hashsum-2.5.1.exe", "@[email protected]/hashsum-2.5.1.lnk",
"[email protected]@", "[email protected]@/hashsum.ico");
component.addOperation("CreateShortcut", "@[email protected]/hashsum-2.5.1.exe", "@[email protected]/hashsum-2.5.1.lnk",
"[email protected]@", "[email protected]@/hashsum.ico");
}
}
changeLicenseLabels = function()
{
page = gui.pageWidgetByObjectName("LicenseAgreementPage");
page.AcceptLicenseLabel.setText("Yes I do!");
page.RejectLicenseLabel.setText("No I don't!");
}
<Package>
<DisplayName>hashSum 2.5.1</DisplayName>
<Description>A program to compare files and to calculate hash sums</Description>
<Version>2.5.1</Version>
<ReleaseDate>2020-04-06</ReleaseDate>
<Licenses>
<License file="gpl.txt" name="GPL Version 3" />
</Licenses>
<Default>true</Default>
<ForcedInstallation>false</ForcedInstallation>
<Script>installerscript.qs</Script>
</Package>
\ No newline at end of file
SET PATH=C:\Qt\Qt\Tools\QtInstallerFramework\3.2\bin;%PATH%
binarycreator.exe -c config\config.xml -p packages install-hashSum-2.5.1.exe
installerbase
binarycreator
repogen
archivegen
devtool
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment