This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to install files to desired windows folders based on allusers / current user
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 16, 2012
04:52 PM
How to install files to desired windows folders based on allusers / current user
My app needs to allow install for ALLUSERS or CURRENT USER based on user preference. The installer allows them to chose, and the registry settings go to the appropriate tree. My question is, how do I get the program files and data files to go to the appropriate locations (per Win7 / Vista design). Is there anyway to have the files install based on ALLUSERS / CURRENT USER selection the way the registry does? Right now, the files are installing to both locations, since I have the files defined for both type installs - installs files to ALLUSER and CURRENT USER folders - but he app runs from the appropriate location based on install preference. Obvious desire is to only install the files to the desired location, not install to both. (InstallShield 2012 Professional.)
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 02, 2012
11:43 AM
Create new components that contain files and install path info with condition for install for ALLUSERS="" and ALLUSERS=1. (Same for registry settings that contain path setting based on ALLUSER or CURRENT USER install location.)
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)