Installing files per user

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • danpeek101@googlemail.com

    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
  • =?Utf-8?B?RmFtaWx5IFRyZWUgTWlrZQ==?=

    #2
    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@goo glemail.com" wrote:
    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
    >

    Comment

    Working...