Dnia poniedziałek, 28 stycznia 2013 o 15:23:31 Jenssen Tim napisał(a): > > Von: interest-bounces+tim.jenssen=digia....@qt-project.org > There is something happening ... it saves the value on the installer > (object) and later if you are creating an real shortcut you can use that > saved variable. > > Component.prototype.createOperations = function() > { > // call the base createOperations > component.createOperations(); > if ( installer.value("os") == "win" ) > { > component.addOperation( "CreateShortcut", > > "@TargetDir@\\QtCreator\\bin\\qtcreator.exe", "@StartMenuDir@/Qt > Creator.lnk", // here we are using the saved > installer.value("StartMenuDir") "workingDirectory=@homeDir@" ); > } > }
Thanks this has helped. There is one more thing, I set option <Default>true</Default> in package.xml which should select/preselect component as default, but when installation starts component is not selected until user presses button "default". I'm not sure if this is desired behavior, component should be selected by default without user interaction... > > PS: Please create bugtracker tasks for unclear/missing documentation in the > ifw like other problems. - a general "missing documentation for ifw" > doesn't worked in the past ;) I will do that. best regards Marek _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest