ReplaceIcon

## ReplaceIcon v1.0 for WinNT

by Miha Remec (mail@miharemec.com)

What is ReplaceIcon
It is a small program for replacing icon resource within Delphi executable file. First it finds `MAINICON` icon resource, deletes it and then adds new icons from specified icon file.

How to use it
Usage is simple: `ReplaceIcon <FileName> <IconFileName> [-b]`
FileName ... the name of the file
IconFileName ... the name of the file, containing one or more icons
-b ... do not create backup of the file
By default, program will make backup of the original file by appending .bak extension.

A note for InnoSetup users
Program automatically detects InnoSetup SetupLoader file, unpacks it, replaces icon and then packs it back.

Limitations
Program uses functions BeginUpdateResource, UpdateResource and EndUpdateResource. Unfortunately, those functions are available only on Windows NT platforms (NT 3.51, NT 4.0, Windows 2000).

Where to find the latest version
The latest version can be found at http://www.miharemec.com/tools.html

License
`The program is subject to the Mozilla Public License Version 1.0 (the "License"); you may not use it except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Miha Remec
Contributor(s): none
`

Please report any bugs to mail@miharemec.com.