Important: Please read the Qt Code of Conduct -

Qt Installer Framework - Create shortcut in Start Menu for all users

  • Dear all,

    with the installer framework I would like to create an installer for my application.
    The applicaiton is installed by the administrator on the PC. The application is then used by different users.

    In the installer I create shortcuts from executable to start menu.

    This is accomplished in the installscript.js by the command:
    component.addOperation("CreateShortcut", "@TargetDir@/application.exe", "@StartMenuDir@/Name of Application.lnk", "workingDirectory=@TargetDir@");

    The problem now, is that the installer creates shortcut in the start menu only for the current user, e.g. the Administrator. Also, the uninstall program is visible only for the current user. When I log with another user, the application is not visible in the start menu.

    How is it possible to generate a shortcut, which is visible in the start menu for all users?

    Thank you very much.

  • Please, I need help on this issue.

  • No solution????

Log in to reply