installer - Run shell process during QT Install Framework and wait for the result -


i run shell commands during using qt install framework in order recover information required configure installation (e.g listing network adapter).

currently ifw seems allow 1 prepare canned shell operations (addoperation, addelevatedoperation) run after installer configuration process.

i like, instead, run them during installation set-up. e.g. running operation in 1 of installer page , retrieve result. like:

component.prototype.pagechanged = function (page) {   if (page === qinstaller.readyforinstallation) {     component.runoperation(...)  } }; 

qt installation framework installer provides way solve issue.

you can use installer.performoperation running consumeoutput operation.

consumeoutput allows 1 run external process , store process output installer key.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -