Kai, The open openreadme example was what got me started down this path.
1 - QDesktopServices can not launch an app. 2 - I understand I must add an “Execute” operation in the createOperations() function. 3 - Can execution of an operation be deferred until installationFinished? Component.prototype.createOperations = function() { component.createOperations(); /* \todo Can execution of this operation be deferred until installationFinished()? */ component.addOperation("Execute", "open", "-a", "@TargetDir@/TSR.app"); } Just in case, I tried moving the addOperation() to installationFinished(). However it does not execute and has no effect. Component.prototype.installationFinished = function() { try { if (installer.isInstaller() && installer.status == QInstaller.Success) { /* QDesktopServices.openUrl("file:///" + installer.value("TargetDir") + "/Licenses/license-agreement.txt"); */ component.addOperation("Execute", "open", "-a", "@TargetDir@/TSR.app"); } } catch(e) { console.log(e); } } Also, if I create a Windows installer using QtIFW, can the user remove the program from Control Panel, (Add/Remove) Programs? -Ed > On Apr 9, 2015, at 1:38 AM, Koehne Kai <kai.koe...@theqtcompany.com> wrote: > > > >> -----Original Message----- >> From: interest-bounces+kai.koehne=theqtcompany....@qt-project.org >> [mailto:interest-bounces+kai.koehne=theqtcompany....@qt-project.org] >> On Behalf Of Eddie Sutton >> Sent: Wednesday, April 08, 2015 5:16 PM >> To: Kalinowski Maurice >> Cc: Qt Project >> Subject: Re: [Interest] Qt Installer Framework 2.0.0 [ OS X ] - How to launch >> my.app on finish? >> >> Thank you Maurice, that works well. >> >> Is there a way to control when it executes? For example after user presses >> Done? > > Check out the "openreadme" example to see how to execute stuff after the user > finished the installation: > > http://doc.qt.io/qtinstallerframework/qt-installer-framework-openreadme-example.html > > Regards > > Kai _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest