Qt Installer Framework: Documentation about using scripts is wrong?
Hello, everybody!
I want to use Qt Installer Framework for deployment my application.
I downloaded master-branch Qt Installer Framework and build it with Qt 4.8.3.
The Qt Installer Framework documentation is informed of the possible use scripts to manage the installation.
I took a example from directory 'examples/tutorial', edited script 'examples/tutorial/packages/com.vendor.product/meta/installscript.qs' (like in documentation):
Code:
function Component()
{
component.userInterface( "IntroductionPage" ).buttons.NextButton.click;
}
Component.prototype.isDefault = function()
{
// select the component by default
return true;
}
Component.prototype.createOperations = function()
{
try {
// call the base create operations function
component.createOperations();
} catch (e) {
print(e);
}
}
Make installer using binarycreator. At start of installation get error:
Code:
TypeError: Result of expression 'component.userInterface( "IntroductionPage" )' [null] is not an object.
Why such a wrong example given in the documentation?! :confused:
Also, I found script 'auto_installations_script.qs' in sources of Qt Installer Framework, which demonstrated automation proccess installation, but not works in realy.
Release Qt Installer Framework 1.2 works with scripts like master-branch version. :(
Question to a respected public: anyone used Qt Installer Framework in their projects? Did you use scripts to manage the installation process?
Re: Qt Installer Framework: Documentation about using scripts is wrong?
Hello Bobby.Rock,
unfortunately I am at the same stage now. Using 1.3 Windows binary and having exactly the same (and furthermore some other) problems with the IFW. Did you meanwhile manage the problem? I think the documentation is absolutely to short for people starting with QT QTScript and never used an installer before.
Re: Qt Installer Framework: Documentation about using scripts is wrong?
Really guys? Nobody is using the QT IFW?
I made an InnoSetup Installer in just a few hour. So I will use InnoSetup now.
Re: Qt Installer Framework: Documentation about using scripts is wrong?
Can Inno setup be used in other platforms as well?