Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Installing files per user

Reply
 
Old 10-23-2008   #1 (permalink)
danpeek101


 
 

Installing files per user

Hi there,

I am currently trying to rebuild an application that was initially
designed for use on desktop PCs to be run over an RDC connection for
multiple users. Part of the redesign includes moving the location of
certain files which are created / edited by the user during the
application lifetime (before they were in a single location but this
will no longer suffice).

Anyway, my plan was to have the installer place the files into the
users application data directory, and this works fine for the initial
installation. However, when a new user logs into the system and runs
the application, I need it to create the necessary files / folders
under the relevant user application directory. Can the deployment
project be configured to do this or am i going to have to write some
code so on startup it checks for the existence of the files / folders
and, if missing, creates them?

Many thx

Dan

My System SpecsSystem Spec
Old 10-24-2008   #2 (permalink)
Family Tree Mike


 
 

RE: Installing files per user

I have done this in the application initialization routine. This way the
code runs and creates the files if they get corrupt or deleted for some
reason.

Also, consider that a user account could be added after the install. I've
heard something about "advertised software" during an install that seems
geared to this, but have never tried it.

"danpeek101@xxxxxx" wrote:
Quote:

> Hi there,
>
> I am currently trying to rebuild an application that was initially
> designed for use on desktop PCs to be run over an RDC connection for
> multiple users. Part of the redesign includes moving the location of
> certain files which are created / edited by the user during the
> application lifetime (before they were in a single location but this
> will no longer suffice).
>
> Anyway, my plan was to have the installer place the files into the
> users application data directory, and this works fine for the initial
> installation. However, when a new user logs into the system and runs
> the application, I need it to create the necessary files / folders
> under the relevant user application directory. Can the deployment
> project be configured to do this or am i going to have to write some
> code so on startup it checks for the existence of the files / folders
> and, if missing, creates them?
>
> Many thx
>
> Dan
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Installing for All Users or Current User Vista General
installing programs for only 1 user Vista account administration
Missing User directory, Duplicate of User Files Vista General
trouble installing - Restricted User Vista account administration
Block user from installing application Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46