News:

 

Topic: Customize-files Locaction  (Read 9755 times)

0 Members and 1 Guest are viewing this topic.

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
September 15, 2012, 09:31:51 am
Tiles, you asked for the customizing files be put in 'ApplicationDate' folder rather than 'Personal' folder, right? But that may cause trouble if two people use the same computer and the same app but want to have individual settings.

  • Posts: 424
  • Triangle
    • Reiner`s Tilesets
September 15, 2012, 01:41:46 pm
Hm.

#AppData# dir is just accessible by the user that has made the setup. It`s in the user account directory. That`s what you want, right?

Examplepath: C:\Documents and Settings\Username\AppData\

Followed by your application name folder and the settings file. Like nvil\settings.xml

For the case that all users should be able to access the data use the #ProgramData# dir.

That`s usually simply C:\ProgramData\

Have a look into those folders to see how other apps handles this. Hope that helps :)
Free Gamegraphics, Freeware Games http//www.reinerstilesets.de

  • Posts: 424
  • Triangle
    • Reiner`s Tilesets
September 16, 2012, 12:09:00 pm
Forgot to add, some installers lets you choose if the installation is for a single user, or for all users. Never done this before. But i guess this means that you would also have to deal with this in your app too. Like modifying a ini/xml/whatever entry while the installation in case the installation is for all users, so that your software knows which settings to use. The ones in Appdata dir or the ones in ProgramData dir.
Free Gamegraphics, Freeware Games http//www.reinerstilesets.de