Jan 23, 2014
06:23 PM
Typically, an installer is run with administrator privileges in order to make most changes on system, e.g., in "Programs Files" and "Windows" folder, as well as "HKEY_LOCAL_MACHINE" registry hive, etc. Registry changes in Registry table are gated by component. So, you can control installation of specific registry entry by specifying a condition on the component. You can use Privileged property and/or AdminUser property. Alternatively, you can use a custom action to create registry entry. However, I would not recommend this route, since for every custom action created, there should be a corresponding rollback custom action, a custom action for uninstallation and its corresponding rollback custom action. In this case, using custom actions is a lot of work for a registry entry when there exists a simpler approach.
... View more
Latest posts by tackyjan
Subject | Views | Posted |
---|---|---|
2005 | Jan 12, 2014 07:19 PM |
Activity Feed
- Posted Add Registry Keys Only If User Has Administrator Rights, Otherwise Don't on InstallShield Forum. Jan 12, 2014 07:19 PM
- Tagged Add Registry Keys Only If User Has Administrator Rights, Otherwise Don't on InstallShield Forum. Jan 12, 2014 07:19 PM
- Tagged Add Registry Keys Only If User Has Administrator Rights, Otherwise Don't on InstallShield Forum. Jan 12, 2014 07:19 PM
- Tagged Add Registry Keys Only If User Has Administrator Rights, Otherwise Don't on InstallShield Forum. Jan 12, 2014 07:19 PM
- Tagged Add Registry Keys Only If User Has Administrator Rights, Otherwise Don't on InstallShield Forum. Jan 12, 2014 07:19 PM