When publishing your own files or applications (see Adding your Own Files) within QDV folder, you may want to provide en users with shortcuts to them.
In order to do this, create a text file named CustomShortcuts.inf and place it in the QDV7 folder of the "Template Application" machine.
A shortcut line is composed with three parts:
Location of shortcut
Can be MENU (to have a shortcut in QDV7 start menu) or DESKTOP (to have it on the desktop)
Text To Display
This is the text as displayed in the menu or on the desktop.
File Name with Path relative to QDV 7 folder
Example:
- To refer to C:\Program (Files)\QDV 7\MyOwnFile.pdf, enter MyOwnFile.pdf.
- To refer to C:\Program (Files)\QDV 7\MyFolder\MyOwnFile.exe, enter MyFolder\MyOwnFile.exe
MENU|My File|MyOwnFile.pdf
DESKTOP|My File|MyOwnFile.pdf
MENU|My Own Application|MyFolder\MyOwnFile.exe
Note : a final | is optional.
This creates a shortcut to MyOwnFile.pdf in the Start menu, another one on the desktop and a shortcut to MyOwnFile.exe being in \MyFolder in the Start menu.
Shortcut icons are assigned by the system. They are read from files for applications, or from associated registry keys for simple files.
End users (clients) must have sufficient rights to define menus and desktop shortcuts, else creation is simply ignored, without warning message.
In accordance to the way QDV7 was installed at client side using the setup program, the updater installs shortcuts to All_Users or Current_User section. If you installed it for all users and the client has no right to write to All_Users section, the updater will install shortcuts to Current_User section. In order to avoid double shortcuts, the updater checks that the shortcut doesn't already exist in the All_Users section before he adds it to the Current_User section.