Click to See Complete Forum and Search --> : My Documents creation, where does it get the original?


ireland
January 15th, 2007, 06:41 AM
Where does Windows (XP) make a copy of the My Documents from?

I want my installer to add some documents on a machine wide scope which will get copied into each new users My Documents when the create their account.

Cheers,
Eire.

Lars(NL)
January 15th, 2007, 08:20 AM
I don't believe it works that easy.
To my knowledge there is no "template directory" that Windows simply copies for a new user and renames to the account name.

If you're aiming to achieve that something appears, for instance, in every user's start menu you should use the start menu subdirectory in the "All Users" profile, usually located at "C:\Documents and Settings\All Users(\Start Menu)".

A user's start menu is always made up from the contents of both his own specific start menu folder and the "All Users" equivalent.

Krishnaa
January 15th, 2007, 08:34 AM
it doesnt work this way, there is no template where from files are copied while creating new user's profile. My Documents folder is created and is empty when new profile is created.

ireland
January 15th, 2007, 10:16 AM
That's fine guys, I've found an alternative.

PeejAvery
January 15th, 2007, 12:02 PM
That's fine guys, I've found an alternative.
Glad to hear it. Can you post it just in case someone else desires to accomplish what you have done?

ireland
January 15th, 2007, 01:40 PM
No probs but my solution is application specific, Visual Studio in this case.
I copy the Project Template .zip files into the Visual Studio installation, C:\Program Files\Micorosft Visual Studio 8\common7\IDE\Project Templates\CSharp.
This makes the my custom project templates available to all users.