开发者

What should be DefaultLocation property of VS2010 setup to install application in C:\Users\[username]\AppData\Local folder?

开发者 https://www.devze.com 2023-01-01 07:38 出处:网络
I 开发者_StackOverflowhave 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 [AppDat

I 开发者_StackOverflowhave 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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消