summaryrefslogtreecommitdiffstats
path: root/release-tools/configurations/pkg_beta/qt.sdk.misc.vcredist_x64/meta/installscript.qs
blob: 2cd4ad36b0df9c78f1e30685477e656277645901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

// constructor
function Component()
{
    if (component.fromOnlineRepository)
    {
        // Commented line below used by the packaging scripts
        //%IFW_DOWNLOADABLE_ARCHIVE_NAMES%
    }
}

Component.prototype.createOperations = function()
{
    // Call the base createOperations and afterwards set some registry settings
    // so that the simulator finds its fonts and applications find the simulator
    component.createOperations();

    //return value 3010 means it need a reboot, but in most cases it is not needed for run Qt application
    component.addElevatedOperation("Execute", "{0,3010}", "@TargetDir@\\vcredist\\vcredist_x64.exe", "/q");
}