English 中文(简体)
Correct place to install demostration projects?
原标题:

With the new Windows 7 restrictions (well, new to Windows Vista anyways), we can no longer install demo projects to %ProgramFilesFolder%OurApplicationdemo since restricted users will not be able to open and modify these projects.

Is there a "correct" place to install these files now?

The two alternatives that I am aware of would be:

  1. %AppDataFolder%OurApplicationdemo
  2. %PersonalFolder%OurApplicationdemo
    (in XP: %PersonalFolder% = My Documents)
最佳回答

Depending on whether you expect multiple accounts on a single machine to access these demo files, it may be better to modify the application to read from the public read-only location, and save a writable copy to the user s documents folder. There s little reason that this part should be done by the installer.

问题回答

I d lean towards %PersonalFolder%OurApplicationdemo, since you re expecting users to open the files themselves. %AppDataFolder% is intended for (writable) data that s for the app s use (e.g., game maps, etc.)





相关问题
Correct place to install demostration projects?

With the new Windows 7 restrictions (well, new to Windows Vista anyways), we can no longer install demo projects to %ProgramFilesFolder%OurApplicationdemo since restricted users will not be able to ...

.deb package conffiles problem

I am distributing one of my applications using a .deb package, but have a problem relating to one of the files. The distribution includes a database file which is constantly updated by the app, on a ...

Closing an application using WiX

In creating my WiX installer I have run into an issue when trying to close an application before installing the upgrade. Below is an example of how I am attempting to do this. <util:...

VS 2005 Setup - HKCU

I am trying to fix an existing application that uses a Visual Studio 2005 setup project. We are requiring it to work on limited user accounts for XP, our app is written in C# for .Net 2.0. It writes ...

Do I want Publish or Release Build in VB.net?

I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I ve released the code as a Google Code project. It s easy for a developer to get the source but I d ...

configsource and installer

I have an project csproj, with app.config file, and logging Ent.Library section using configsource attribute. The logging section is in ahother file Configloggingconfiguration.config. I have a ...

热门标签