summaryrefslogtreecommitdiffstats
path: root/dist/packages/org.qtproject.ifw/meta/installscript.qs
blob: 0019255e1a18ac6e2ab1a061616cf7e10b72fec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function Component()
{
    // Install to @rootDir@ instead of @homeDir@ on Windows
    if (installer.value("os") === "win") {
        var homeDir = installer.value("homeDir");
        var targetDir = installer.value("TargetDir").replace(homeDir, "@rootDir@");
        installer.setValue("TargetDir", targetDir);
    }

    // do not show component selection page
    installer.setDefaultPageVisible(QInstaller.ComponentSelection, false);
}