function Component()
{

}

//override createOptions
Component.prototype.createOperations = function()
{
    // call default implementation to actually install the files first
    component.createOperations();

    if (installer.value("os") === "win") {
        component.addOperation("CreateShortcut", "@TargetDir@/IoTcommissionTool.exe", "@DesktopDir@/Smartlock IoT Commission Tool.lnk");
        component.addOperation("CreateShortcut", "@TargetDir@/IoTcommissionTool.exe", "@StartMenuDir@/Smartlock IoT Commission Tool.lnk");
        component.addOperation("CreateShortcut", "@TargetDir@/maintenancetool.exe", "@StartMenuDir@/SmartlockIoT_MaintenanceTool.lnk");
    }
}

Component.prototype.createOperationsForArchive = function(archive)
{
    // add an extract operation with a modified path
    component.addOperation("Extract", archive, "@TargetDir@");
}