Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2005
    Location
    Southern California
    Posts
    73

    Deleting files after using Dialog.FolderBrowse to get their location

    yea, what the topic says. im using a dialog.folderbrowse to have the user pick the folder the software is currently installed into. this only happens if the user has picked a location other than the default installation location. this is for an uninstall in which certain files are modified by the user after install, so installshield does not delete them on removal. Ive tried several syntax's to accomplish this, and im stumped. the variable that is returned from the dialog.folderbrowse is UninstallFolder. initially i just used folder.deletetree but there are subfolders within the main installation folder that should not be deleted. basically i need something like:

    File.Delete(UninstallFolder\\eng.ini, false, false, false, nil);

    quotations arent working, either on the whole("UninstallFolder\\eng.ini" or as (UninstallFolder"\\eng.ini" or (UninstallFolder\\"eng.ini" . this has to be possible, but im extremely new to all of it(like day 5) and so far ive been able to figure most eveything out either on my own or through older forum topics. i was unable to find something like this, but its late and i didnt look as hard as i could have. any help is appreciated as i continue to scour the forums for a similar topic. thanks alot.

  2. #2
    Join Date
    Sep 2003
    Posts
    69
    I am by no means a pro at this but I would probably take the easy way out by using AMS to copy the files to a different location, do a delete and then have AMS copy the files you don't want deleted back.

    I am sure someone will come along with a much better solution but this would do the trick.

  3. #3
    Join Date
    Dec 2005
    Location
    Southern California
    Posts
    73
    hmm, good idea. hadnt thought of that. definitely a good fix for now. thanks.

Similar Threads

  1. How to change autorun.cdd location without renaming resource files?
    By Maxx2029 in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 11-16-2005, 03:04 AM
  2. Unable to find software?
    By NigelLacey in forum Visual Patch 2.0
    Replies: 4
    Last Post: 10-11-2005, 10:35 AM
  3. method to index/compare user's files for update?
    By intel352 in forum Setup Factory 6.0
    Replies: 0
    Last Post: 01-15-2003, 03:08 PM
  4. INFO: Why Files are Renamed in the DATA Folder
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-24-2002, 03:36 PM
  5. HOWTO: "Hide" Externally Referenced Files
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-23-2002, 03:19 PM

Posting Permissions

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