7

I have to install windows service using Visual Studio. Target location for the install is handled by “DefaultLocation” property in Visual Studio setup project. I had used [AppDataFolder] tag to install the application. As the result, it has been installed in “C:\Users[username]\AppData**Roaming**” folder. I can not figure out how to modify “DefaultLocation” property in such a way that application will be installed in C:\Users[username]\AppData**Local** folder. Any idea how to accomplish that?

Jeremy Roberts
  • 1,208
  • 8
  • 19
Michael
  • 211
  • 2
  • 5

1 Answers1

14

Ok. I had found the answer. If you want to install your application into C:\Users[username]\AppData\Local folder, [LocalAppDataFolder] tag (value) should be used as DefaultLocation property. Example: [LocalAppDataFolder][Manufacturer]\[ProductName] See also: LocalAppDataFolder property

Eric
  • 95,302
  • 53
  • 242
  • 374
Michael
  • 211
  • 2
  • 5