Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2005
    Posts
    12

    Grin Uninstalling something created by Zip Plug In

    Greetings,
    My project has a folder which contains over 10k files in it. This of course took forever to install via the installer reading from CD. So I zipped it up and had the zip written from the CD to the %AppFolder%, then it uses the Zip plugin to extract them. It's much much faster this way.
    However, I have a problem when uninstalling.
    When you run an uninstall, it will remove the Documents.zip file, but not the Documents folder that it extracted from it while installing. This is a problem as it's over 500 megs in size.
    Does anyone know of a way I could get the uninstaller to delete that folder during the installation?

    Thanks in advance.
    Jeff

  2. #2
    Join Date
    Nov 2005
    Posts
    12

    Grin update to question

    I meant for the question at the end to say the following:

    Does anyone know of a way that I could get the uninstaller to uninstall the folder created by the Unzipping during the UNinstallation?
    Thanks

  3. #3
    Join Date
    Mar 2005
    Location
    WA 'wait a while' - Australia
    Posts
    872
    couple thoughts:

    1. for install efficiency: try 'unzipping' directly from the CD to your destination folder\\ --see if it reduces install time

    2. try the: UninstallData.AddItem (...) action-s
    "Adds an item to the uninstall configuration file.
    Note: This action can only be used during the install and will not work during the uninstall."

    you could add the full destination path info to the uninstall data file.

    -based on where the unzipping destination is expanded to at uninstall time
    could then use the folder.deletetree(..) action at the appropriate uninstall stage


    hth a little

  4. #4
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    You could automate this by using a File.Find() action and a loop. This will save you from doing a seperate action for each item added to the uninstall.

    Adam Kapilik

Similar Threads

  1. Zip Plugin does not create path in created Zip file
    By Ken Gartner in forum TrueUpdate 2.0
    Replies: 3
    Last Post: 06-08-2005, 08:49 AM
  2. Example: Hiding Resources in Password Protected ZIP Files
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 1
    Last Post: 03-18-2005, 08:53 AM
  3. Example: Using Zip Actions
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-07-2004, 03:07 PM
  4. HOWTO: Create a Project Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-28-2002, 01:49 PM
  5. HOWTO: Uninstall a Shortcut Created with Actions
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-25-2002, 09:50 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