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):

Qt Code:
  1. function Component()
  2. {
  3. component.userInterface( "IntroductionPage" ).buttons.NextButton.click;
  4. }
  5.  
  6. Component.prototype.isDefault = function()
  7. {
  8. // select the component by default
  9. return true;
  10. }
  11.  
  12. Component.prototype.createOperations = function()
  13. {
  14. try {
  15. // call the base create operations function
  16. component.createOperations();
  17. } catch (e) {
  18. print(e);
  19. }
  20. }
To copy to clipboard, switch view to plain text mode 

Make installer using binarycreator. At start of installation get error:

Qt Code:
  1. TypeError: Result of expression 'component.userInterface( "IntroductionPage" )' [null] is not an object.
To copy to clipboard, switch view to plain text mode 

Why such a wrong example given in the documentation?!

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?