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
- :
- Re: Predefined folder for PUBLIC Documents?
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
‎Jun 30, 2012
09:27 AM
Predefined folder for PUBLIC Documents?
I'm working on a project that requires the installation of files to the (My) Documents folder. Obviously on Windows 7 this is a library that actually consists of two folders - C:\Users\Public\Documents and C:\Users\Username\Documents
I tried using [PersonalFolder], but that puts files into Username\Documents but my program can not detect them there - it requires them to be installed in the Public\Documents folder.
How can I achieve this? Is there a predefined folder for this? If not, can I create one?
I tried using [PersonalFolder], but that puts files into Username\Documents but my program can not detect them there - it requires them to be installed in the Public\Documents folder.
How can I achieve this? Is there a predefined folder for this? If not, can I create one?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 30, 2012
11:21 AM
Just answered my own question -
Use the predefined folder [ALLUSERSPROFILE], with a subfolder inside called 'Documents'.
That equates to C:\Users\Public\Documents
Use the predefined folder [ALLUSERSPROFILE], with a subfolder inside called 'Documents'.
That equates to C:\Users\Public\Documents
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 13, 2016
11:47 AM
reddragon105 wrote:
Just answered my own question -
Use the predefined folder [ALLUSERSPROFILE], with a subfolder inside called 'Documents'.
That equates to C:\Users\Public\Documents
I know this is an old post but I hope this response will help someone else.
[ALLUSERSPROFILE] doesn't seem to always equate to "C:\Users\Public". Microsoft states that in post-XP versions of Windows (Vista, 7, 8.1, 10), %ALLUSERSPROFILE% refers to %ProgramData% -- "C:\ProgramData". (https://www.microsoft.com/security/portal/mmpc/shared/variables.aspx#allusers)
Even though on some machines [ALLUSERSPROFILE] refers to "C:\Users\Public", it's not always the case.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 11, 2017
10:53 AM
I thought %ALLUSERSPROFILE% was a Windows environment variable and [ALLUSERSPROFILE] was a predefined folder custom to InstallShield. The latter is working for me. Are you able to use the [ALLUSERSPROFILE] predefined folder?
Going back to look at this in my install, I have a question of why certain predefined folders are greyed out. Is it because they are no longer supported in version 2015? If that is the case, then I have the same issue with copying/installing files to C:\Users\Public\Public Documents.
Going back to look at this in my install, I have a question of why certain predefined folders are greyed out. Is it because they are no longer supported in version 2015? If that is the case, then I have the same issue with copying/installing files to C:\Users\Public\Public Documents.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 26, 2018
02:22 PM
MattQVI wrote:
I thought %ALLUSERSPROFILE% was a Windows environment variable and [ALLUSERSPROFILE] was a predefined folder custom to InstallShield. The latter is working for me. Are you able to use the [ALLUSERSPROFILE] predefined folder?
Going back to look at this in my install, I have a question of why certain predefined folders are greyed out. Is it because they are no longer supported in version 2015? If that is the case, then I have the same issue with copying/installing files to C:\Users\Public\Public Documents.
I have a InstallScript project which I want some components to be delivered to the Public Documents folder. How do I do that?