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 do I find : "C:\Users\All Users"
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Sep 24, 2010
01:08 PM
How do I find : "C:\Users\All Users"
2010 broke it again.
I used to do this for my script programs.
GetEnvVar ( "ALLUSERSPROFILE", szAllUserDir );
It no longer works.
how do I get it now?
I used to do this for my script programs.
GetEnvVar ( "ALLUSERSPROFILE", szAllUserDir );
It no longer works.
how do I get it now?
(1) Reply
Sep 24, 2010
01:44 PM
This doesn't work either
nFolder = 0x0023; // Known Folder constant for CSIDL_COMMON_APPDATA
svCommonDocumentsDir = "";
nResult = shell32.SHGetFolderPathA(NULL, nFolder, NULL, 0, svCommonDocumentsDir);
Like the previous it returns c:\ProgramData
I keep reading about running setAllUsersProfile2K with custom actions. Where is custom actions?
nFolder = 0x0023; // Known Folder constant for CSIDL_COMMON_APPDATA
svCommonDocumentsDir = "";
nResult = shell32.SHGetFolderPathA(NULL, nFolder, NULL, 0, svCommonDocumentsDir);
Like the previous it returns c:\ProgramData
I keep reading about running setAllUsersProfile2K with custom actions. Where is custom actions?