Installing files per user

D

danpeek101

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
 
F

Family Tree Mike

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top