Indigo Rose Software

Go Back   Indigo Rose Software Forums > Old Versions > Setup Factory 6.0 > Setup Factory 6.0 Knowledge Base

 
 
Thread Tools Display Modes
  #1  
Old 09-24-2002
Support Support is offline
Super Moderator
 
Join Date: Jan 2000
Location: Indigo Rose Corporation
Posts: 204
HOWTO: Remove Files that were Installed by a Patch or Alternate Source

HOWTO: Remove Files that were Installed by a Patch or Alternate Source

HOWTO: Remove Files that were Installed by a Patch or Alternate Source

Document ID: IR02006
The information in this article applies to:
  • Setup Factory 6.0

SUMMARY

This article describes how to removes files during an uninstall that were installed via a patch or an alternate source.

DISCUSSION

Setup Factory 6.0 gets most of its uninstall information from the irunin.ini file whose location is set on the Design | Uninstall Settings tab. This file contains a list of all files that were installed by the installation. The uninstaller then uses this list as its list of files to remove. If new files were added by a patch, or any other means, they would not be in this list and would therefore not be removed by the uninstaller.

Since it is undesirable to leave remnants of your program, Setup Factory 6.0 has the ability to add additional files to the "uninstall list". In order to do this the irunin.ini file must be edited in the following manner:

In the irunin.ini file make a section called "Delete Files". In that section make entries in the format:

<<Filename>>=delete
For example:

[Delete Files]
C:\My App Dir\MyFile.exe=delete
X:\Users\Darryl\document.doc=delete
If you are installing extra files using Visual Patch 1.0 you could add the new files to the irunin.ini file using an INI File Command Here is an example of what that command might look like:

Action: Add
Filename: %AppDir%\Uninstall\irunin.ini
Section: Delete Files
Key: C:\My App Dir\MyFile.exe
Value: delete
If value already exists: Overwrite
The same could be accomplished using an INIFile.SetValue action in AutoPlay Menu Studio 4.0 or a Modify INI file action in Setup Factory 6.0.

Tip: In order to make this process easier write the path to your irunin.ini file to the registry during your initial installation. That way your patch does not have to guess at that path.

MORE INFORMATION

See the following topics in the Setup Factory 6.0 help file:

  • Command Reference | Reference | How the Uninstall works
  • Command Reference | Design Environment | Dialogs | Uninstall


  • See the following topic in the Visual Patch 1.0 help file:

  • Command Reference | Settings Menu | System Editors
  • KEYWORDS: Uninstall, Patch, Setup Factory, Visual Patch, Patch Files, AutoPlay


    Last reviewed: October 8, 2002
    Copyright © 2002 Indigo Rose Corporation. All rights reserved.
     

    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is On



    All times are GMT -6. The time now is 07:36 AM.


    Powered by vBulletin® Version 3.8.4
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
    Indigo Rose Software