Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2002
    Posts
    17

    Uninstalling each User's user data?

    What's the proper uninstall protocol and procedure for deleting each User's user data pretaining to our program? Here is an overview...

    In addition to our installation folder of: C:\Program Files\OurProgram

    Our program creates User data for each User in the Documents and Settings User folders. ie.

    C:\Documents and Settings\User1\Application Data\OurProgram\
    C:\Documents and Settings\User2\Application Data\OurProgram\

    The data and folders are NOT created during installation but are first created when a user first accesses the program via each users program shortcut.

    What's the proper protocol in removing "user data" that relates to your program. If the Administrator is uninstalling the program, do you assume that each User's residual files should be deleted including the data that has been created for and by the User.

    If so, how is this done in Setup factory? How do you find and cycle through each user and delete each User's data in Documents and Settings?

    Thanks

  2. #2
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    939
    How to find the accounts
    In my test project TestApp2_SUF70 I used these actions

    Code:
    strWantedKey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\DocFolderPaths";
    
    tblUsers = Registry.GetValueNames (HKEY_LOCAL_MACHINE, strWantedKey);
    for x,y in tblUsers do
    	if y ~= "SYSTEM" then
    		strUsers = strUsers..y.."\r\n"
    	end
    end
    I think the project is published in the thread File.Find() and Progress Meter
    (button User Accounts)

    This method does not find accounts created but not used so far; that’s without importance in your project.

    The proper protocol in removing "user data"
    IMHO it’s depending on the data. Maybe you should display a warning? Offer an option?

Similar Threads

  1. Tips on storing user data
    By Alan vanBiervliet in forum AutoPlay Media Studio 5.0
    Replies: 12
    Last Post: 06-20-2005, 05:27 AM
  2. Setting Registry Value Data from User Input?
    By John_Cone in forum Setup Factory 7.0
    Replies: 3
    Last Post: 04-19-2005, 09:46 AM
  3. Making Data Persist Across Sessions
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 01:08 PM
  4. Replies: 0
    Last Post: 06-22-2003, 06:47 AM
  5. HOWTO: Detect Administrator Privileges
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-26-2002, 10:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts