I am using IA Developer 8. Could someone please advise how to locate "c:\\Users\\Public" folder? I understand that I can use System->Profile to extract “c\\Users” but not the public part. The installation will have to be applied on German/French/Spanish etc OS, so I can’t just add “Public” to “c\\Users” considering that it will be OS dependent.
Thanks in advance.
Locate "c:\\Users\\Public" folder
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Locate "c:\\Users\\Public" folder
Dear Leigh10,
try with acquiring the path to "document folder" for all users and then split the returned string.
Hope this helps you.
Regards
try with acquiring the path to "document folder" for all users and then split the returned string.
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Locate "c:\\Users\\Public" folder
Dear Francesco
Thanks for your reply.
The predefined system locations doesn’t include "document folder". Could you please advise how to get the "document folder"?
Regards
Thanks for your reply.
The predefined system locations doesn’t include "document folder". Could you please advise how to get the "document folder"?
Regards
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Locate "c:\\Users\\Public" folder
Dear Leigh10,
I am referring to "My->My Folder location" available with "Get Common Folder Location" command with having "Get for All Users" flag checked.
Honestly, I don't remember if the same was already available with IA 8.
Otherwise, you could create a custom DLL or an EXE that uses the "SHGetKnownFolderPath" WIN API to return that path.
hope this helps you.
Regards
I am referring to "My->My Folder location" available with "Get Common Folder Location" command with having "Get for All Users" flag checked.
Honestly, I don't remember if the same was already available with IA 8.
Otherwise, you could create a custom DLL or an EXE that uses the "SHGetKnownFolderPath" WIN API to return that path.
hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Locate "c:\\Users\\Public" folder
The “Get Common Folder Location” is not available in IA8 unfortunately. Will look into alternatives.
Thanks for your help.
Thanks for your help.
Who is online
Users browsing this forum: No registered users and 117 guests