3

Is there anyway I can get the path of programdata folder dynamically in a setup project in the very same way I get the path of program files folder by using the keyword [Program Files] as defaultlocation for custom folder?

Thanks

2
  • Are you asking about setup projects, or some other setup technology? Commented Jul 22, 2010 at 13:25
  • I'm asking about Visual Studio setup project. When I add a custom folder,I can set its path as [Program Files]\foldername. Sameway,how do I set the path as [ProgramData]\foldername? Is there any short form to get the actual path? Commented Jul 22, 2010 at 13:30

1 Answer 1

3

[CommonAppDataFolder] - for c:\ProgramData or "all users\application data"

[ApplicationData] - for user specific application data folder in roaming profile

[LocalApplicationData] - for user specific application data folder in local profile

Sign up to request clarification or add additional context in comments.

1 Comment

[CommonApplicationData] isn't copying into programdata...but the keywords are useful....thanks :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.