Hi, On 17.07.2014 00:35, Bill Crocker wrote: > On 07/16/2014 11:34 AM, william.croc...@analog.com wrote: >> On 07/16/2014 11:23 AM, Koehne Kai wrote: >>>> -----Original Message----- >>>> From: interest-bounces+kai.koehne=digia....@qt-project.org >>>> [...] >>>> Ok. Got the source. Found the function. >>>> That gives no hint about where and when to call it. >>>> >>>> I have a simple installer with one package. >>>> I am starting with the sample .qs script that is included with the tutorial >>>> example. I tried a variety of locations. >>>> >>>> Where and when do I call it. >>> Which page do you want to hide? >>> >> ComponentSelection. >> > I am really optimistic about IFW, but I don't know how it works > and if I don't know how it works, I can't tailor it to my application. > > In my case I want to simplify: > 1 - Remove the component selection page. > 2 - Remove the use of the Start Menu. Put this in you sample .qs script:
function Component() { if (installer.isInstaller()) { installer.setDefaultPageVisible(QInstaller.ComponentSelection, false); if (installer.value("os") == "win") installer.setDefaultPageVisible(QInstaller.StartMenuSelection, false); } } > 3 - Remove all of the options from the > uninstall page. No possible at the moment. Regards, Karsten _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest