a customer's I have some applications that are installed with plain xcopy. I know those applications will write some data into their installed directory at runtime. Now I want this application to be available for all users on my PC from the start menu. Where do I put these app under windows 7? Is it still "c:\Program Files" ? If so wouldn't the apps need admin rights to write to that directory? Is this where roaming kicks in? If so, how can I prevent the app from writing to a special per-user roaming folder and instead make it write to the ONE folder the exe is in?
Update (rephrasing the question):
What is the suggested/preferred/official way to deploy an application (just a folder with an exe and some extra files) to a customer's Windows 7 PC, so that:
- it will be available to all users (everybody can doubleclick the exe or a shortcut to it)
- there is only one instance of the files (not a copy for each user)
- the exe can read and write to the same physical folder it resides in (so that it reads the same files, no matter what user is running the app)
- no UAC dialog asking for privileged rights pops up when the exe is run (the exe iteself doesn't do anything that'd require this)