UninsHs 1.4 for Inno Setup Readme
=================================

Thank you for choosing an Han-soft Software prouduct! This extension program for Inno Setup, 
allows you to add repair, modify and remove support to your applications with minimal effort. 
It is very small because use Assemble. 

Note: It is required that you send me a email if you use UninsHs in any of your applications.

You will find information on how to use UninsHs with your own application setups below:

0. Prepartory step
==================

  * Copy the file UninsHs.exe to your application setup directory. 


1. [Languages] section
=====================

  * Add this line:

    Name: en; MessagesFile: compiler:Default.isl

  * If you want support other language -- Chinese, for example, add this line too:

    Name: chs; MessagesFile: compiler:Chinese.isl

  * Now support language: 

    English(en), Simplified Chinese(chs), Traditional Chinese(cht), German(de), Swedish(se), 
    French(fr), Russian(ru), Hungarian(hu), Italian(it) 

  * For other language, please translate Language Resource in this file end, then send it to me.


2. [Files] section
==================

  * Add this line (DestDir must be {app}):

    Source: "UninsHs.exe"; DestDir: "{app}"; Flags: ignoreversion onlyifdoesntexist


3. [Icons] section
==================

  * Delete this old line that create an uninstall icon in the start menu:

    Name: "{group}\Uninstall AppName"; Filename: "{uninstallexe}"

  * Add this line if an uninstall icon in the start menu is wanted:
 
    ; Customize this line with your AppName

    Name: "{group}\Uninstall AppName"; Filename: "{app}\UninsHs.exe"


4. [UninstallDelete] section
============================
 
  * Add this line:

    Type: filesandordirs; Name: "{app}\UninsHs.dat"


5. [Ini] section
================

  * Add these lines:
   
    ; Customize this line with your AppName

    FileName: "{app}\UninsHs.dat"; Section: "Common"; Key: "Software";    String: "AppName"

    FileName: "{app}\UninsHs.dat"; Section: "Common"; Key: "Language";    String: "{language}"
    Filename: "{app}\UninsHs.dat"; Section: "Common"; Key: "Install";     String: "{srcexe}"
    FileName: "{app}\UninsHs.dat"; Section: "Common"; Key: "Remove";      String: "{uninstallexe}"
    FileName: "{app}\UninsHs.dat"; Section: "Common"; Key: "group";       String: "{groupname}"
    FileName: "{app}\UninsHs.dat"; Section: "Common"; Key: "components";  String: "{code:ComponentList|x}"

  * If you use AppId, Add this line, and customize this line with your AppId

    FileName: "{app}\UninsHs.dat"; Section: "Common"; Key: "Uninstall";   String: "AppId"

6.[Run] section
===============

  * Add these lines:

    Filename: {app}\UninsHs.exe; Parameters: /r; Flags: runminimized


6. [Code] section
================

  * Add this function:

    function ComponentList(Default: string):string;
    begin
      Result := WizardSelectedComponents(False);
    end;


6. Congratulations!
===================

  * Compile your setup script and see the new uninstall at work! 
  * If it doesn't work, email me.


Thanks
====== 

Aaron Chan
aerodynamica@idz.net
http://aerodynamica.idz.net

English by Cord Schneider (Mail:cords@ezpurse.co.uk Site:http://ezpurse.co.uk/)
German by Florian Geib (Mail:info@scriptsoft.de Site:http://www.winspeedup.com)
German by Jonny Kwekkeboom (Mail:HiSoft2000@t-online.de)
German by Gru? Eckhart_Wrner (Mail:inno.setup@ewsoftware.de)
Swedish by Peter Thornqvist (Mail:peter3@peter3.com Site:http://jvcl.sourceforge.net)
French by Michel Dessaintes (Mail:michel.dessaintes@free.fr)
Russian by Anatoly Smaznov aka javum (longhorn@ngs.ru)
Hungarian by KAMI (acemcp@freemail.hu)
Italian by Nando Dessena (nandod@dedonline.com)

Contact Author
==============

HAN JINGYU
hanjy@han-soft.com
http://www.han-soft.com

History
=======

1.4(2003-11-11): If use AppId, change the uninstall registry key to AppId.
                  If language is not defined or default, use English.

1.3(2003-10-12): Change the width of radio options.

1.2(2003-09-06): Get repair/modify path from UninsHs.exe command line.

1.1(2003-08-17): Display at center of screen when start.
                 Add to support 4 or 8 bits color for icons and logo bitmap.

1.0(2003-08-15): Original version.


Language Resource
=================

5000 en                                //en: Abbreviation for English
begin
    0x00000001L                        //Font Charset = 1
    0xFFFFFFF5L                        //Font Height = -11
    "MS Sans Serif\0\0"                //Font Face Name
    "%s Program Maintenance\0\0"
    "%s Program Maintenance\0\0"
    "Modify, repair, or remove the program.\0\0"
    "Change which program features are installed. This option displays the "
        "Custom Selection dialog in which you can change the way features "
        "are installed.\0\0"
    "Repair errors in the program. This option fixes missing or corrupt files, "
        "shortcuts, and registry entries.\0\0"
    "Remove this program from your computer.\0\0"
    "Open File\0\0"
    "The source setup file cannot be found! Please select the appropriate file "
        "or cancel the uninstall.\0\0"
    "The source uninstall file cannot be found! Please select the appropriate "
        "file or cancel the uninstall.\0\0"
    "Warning\0\0"
    "Please wait while the program is being repaired...\0\0"
    "The repair operatation is complete! Press the <Close> button to close "
        "the dialog.\0\0"
    "Press the <Next> button to remove the program from your computer.\0\0"
    "< &Previous\0\0"
    "&Next >\0\0"
    "&Cancel\0\0"
    "&Close\0\0"
    "&Modify\0\0"
    "Re&pair\0\0"
    "&Remove\0\0"
    "Executable Files(*.exe)\0*.exe\0All Files(*.*)\0*.*\0\0"
end

