Josh
Josh

Reputation: 13818

getting path of programdata in Visual Studio setup project

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

Upvotes: 3

Views: 5727

Answers (1)

Alex
Alex

Reputation: 1287

[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

Upvotes: 3

Related Questions