function Component() { gui.pageWidgetByObjectName("LicenseAgreementPage").entered.connect(changeLicenseLabels); } changeLicenseLabels = function() { page = gui.pageWidgetByObjectName("LicenseAgreementPage"); page.AcceptLicenseLabel.setText("Yes, I agree"); page.RejectLicenseLabel.setText("No, I disagree"); } Component.prototype.createOperations = function() { component.createOperations(); if (systemInfo.productType === "windows") { component.addOperation("CreateShortcut", "@TargetDir@/mea.exe", "@StartMenuDir@/Mea.lnk", "workingDirectory=@TargetDir@", "iconPath=@TargetDir@/logo.ico", "description=mea - The nymea frontend"); component.addOperation("Execute", "@TargetDir@/vc_redist.x64.exe", "/quiet", "/norestart"); } }