Software Distributor
Free Copy Protection
Software Downloads
Help>How To Install Software Key Sample
Software Distributor
Copy Protection
How To Install Software Key Using Inno Setup

OK, you have written your program, added ShareGuard Copy Protection and are ready to create your setup program for the key to unlock your protected program. How do you create a setup program? First you obtain setup software, define all of the files to be loaded into the setup, compile the setup and then compress the setup. The following provides all of the details on how to install software key for free.

Firstly, you should write your own small wrapper program which will call the KEYGEN program. Cut and paste the generated code into your small program. You can, optionally, just use the batch file but a wrapper program as an executable is cleaner.

Compressing Your SETUP.EXE:
If you do not have WINZIP then get it from here for FREE EVALUATION.

If you want a totally free older version of WINZIP then get it from here for FREE.

Obtaining Setup Installation Software:
Inno Setup software can be downloaded for free from JR

The following is sample code and uses ShareGuard as an example. The Inno Setup creates a SETUP.EXE which can then be compressed into ZIP format for downloading.

NOTE: The following listing should be saved in ISS format for installing software using the INNO Setup program. Change all of the appropriate variables to accomodate your application.

; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! [Setup]
AppName=JpegGuard Key
AppVerName=JpegGuard Key V1.0
AppCopyright=Copyright (C) 1995-2003 Zapper Software, 510862 B.C. Ltd.
AppPublisher=Zapper Software
; uncomment the following line if you want your installation to run on NT 3.51 too.

Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"; MinVersion: 4,4
Name: "quicklaunchicon"; Description: "Create a &Quick Launch icon"; GroupDescription: "Additional icons:"; MinVersion: 4,4; Flags: unchecked

; This is the JpegGuard Key executable which calls ZSSGK.EXE ; This program could also be the batch file instead of an executable
Source: "ZSJPKEY.exe"; DestDir: "{app}"; CopyMode: alwaysoverwrite
; This is the ShareGuard Key executable called by ZSJPKEY.EXE
Source: "ZSSGK.exe"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
Source: "License.txt"; DestDir: "{app}"; Flags: isreadme
Source: "Start.txt"; DestDir: "{app}"; Flags: isreadme

Name: "{group}\JpegGuard Key"; Filename: "{app}\ZSJPKEY.exe"; WorkingDir: "{app}"
Name: "{userdesktop}\JpegGuard Key"; Filename: "{app}\ZSJPKEY.exe"; WorkingDir: "{app}"; MinVersion: 4,4; Tasks: desktopicon

; Start "Software\My Company\My Program" keys under HKEY_CURRENT_USER
; and HKEY_LOCAL_MACHINE. The flags tell it to always delete the
; "My Program" keys upon uninstall, and delete the "My Company" keys
; if there is nothing left in them.
Root: HKCU; Subkey: "Software\Zapper Software"; Flags: uninsdeletekeyifempty
Root: HKCU; Subkey: "Software\Zapper Software\JpegGuard Key"; Flags: uninsdeletekey
Root: HKLM; Subkey: "Software\Zapper Software"; Flags: uninsdeletekeyifempty

Root: HKLM; Subkey: "Software\Zapper Software\JpegGuard Key"; Flags: uninsdeletekey
Root: HKLM; Subkey: "Software\Zapper Software\JpegGuard Key\Settings"; ValueType:
string; ValueName: "Path"; ValueData: "{app}"
Root: HKLM; Subkey: "Software\Zapper Software\JpegGuard Key\Version"; ValueType:
string; ValueName: "VersionNo"; ValueData: "1.1"

Filename: "{app}\ZSJPKEY.exe"; Description: "Launch JpegGuard Key"; WorkingDir:
"{app}"; Flags: nowait postinstall skipifsilent

If you create any special filetypes in your application then please be sure to read this article and register your new filetype with

Written by William H. Bradshaw
Get The FREE Software:
Installation Summary:

- Download Setup Software

- Create setup file

- Compile setup file

- Compress setup.exe into

Products and Services for Windows and IBM

Software Distributor

Copyright © 1995-2002 Zapper Software 510862 B.C. Ltd. All rights reserved. Privacy Policy
1 1