Hi,
As far as I know, you can't install them per-machine, as this requires administrator privileges and our users don't have administrator privileges. Is that right, or am I missing something?
Yes, this is correct. In order to install a shortcut for all the users you need to create a per-machine installation package. Since this type of package requires Administrator privileges, normal users cannot install the package.
I changed those to advertised shortcuts, but this hid some of the shortcut properties and disabled a couple of buttons in the Properties window.
Can you please give me more details about this? Please note that marking a shortcut as Advertised will not disable or hide options in the "Edit Shortcut Properties" dialog.
install per-machine shortcuts
This can be done by creating a per-machine installation package. Note that this type of package requires Administrator privileges.
install per-user, non-advertised shortcuts.
This can be done by creating shortcuts to installed files in the
Files and Folders page. Note that you can
create a shortcut by using the shortcut wizard, the "New Shortcut" button on the toolbar or the "New Shortcut" context menu. Also, in the
Organization page you need to make sure that the key member of the component of the shortcut is a registry entry (you can use any registry entry under HKEY_CURRENT_USER).
I know that the latter is supposed to have a registry key in the HKCU hive, but where exactly and what should the keyname and value be?
It doesn't matter what registry value you use as long as it is installed in the HKEY_CURRENT_USER registry hive. Also, this registry entry must be set as the key member of the component which contains the shortcuts (you can use the "Make Key Member" context menu).
And what happens when a new user account is created or a different user does an upgrade or uninstallation?
Please note that per-user installations can be accessed only by the user which installed the package. Also, per-machine installations can be modified by anyone that has enough privileges.
A step-by-step guide to the "correct" way of installing non-advertised shortcuts for all users would be nice.
We will add this how-to to the User Guide in a future version of Advanced Installer. Thank you for your suggestion.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging