> Von: interest-bounces+tim.jenssen=digia....@qt-project.org 
> [interest-bounces+tim.jenssen=digia....@qt-project.org]" im Auftrag von 
> "franki [fra...@franki.eu.org]
> Gesendet: Montag, 28. Januar 2013 15:01
> An: interest@qt-project.org
> Betreff: Re: [Interest] Qt Installer Framework

> Problem is that the menu shortcut is not created under my windows XP (SP3)
> I have
> <StartMenuDir>Cute App</StartMenuDir>
> in config.xml
>And question about this is asked during installation, but nothing happens.

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@" );
    }
}


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 ;)
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to