With the installer framework I would like to create an installer for my application. The application 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?