[Interest] Qt Installer Framework.

Karsten Heimrich karsten.heimrich at digia.com
Thu Jul 17 13:52:17 CEST 2014


Hi,
On 17.07.2014 00:35, Bill Crocker wrote:
> On 07/16/2014 11:34 AM, william.crocker at analog.com wrote:
>> On 07/16/2014 11:23 AM, Koehne Kai wrote:
>>>> -----Original Message-----
>>>> From: interest-bounces+kai.koehne=digia.com at 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




More information about the Interest mailing list