[Install1]

CopyTree    = DataTree
CopyFiles   = SetupFiles
AddReg      = RegistryData, UninstReg1


[UnInstall1]

DelTree     = RootTree
DelReg      = RegistryUnData



[DataTree]

%65600%     , "..\Setup"


[SetupFiles]

setup.exe
setup.inf


[RootTree]

%65600%


[DestinationDirs]

; do not change the numeric value !
SetupFiles    = %65600%


[RegistryData]

HKLM,%UNINS%,DisplayName,,"%PRODUCT%"
HKLM,%UNINS%,UninstallString,,"%65600%\setup.exe -uninstall"
HKLM,"Software\Techland\%PRODUCT%",DestinationPath,,"%65600%"
HKLM,"Software\Techland\%PRODUCT%",SrcPath,,"..\Setup\"
HKLM,"Software\Techland\%PRODUCT%",ProductID,,"ET3"
HKLM,"Software\Techland\%PRODUCT%",Version,,"3.1"
HKCU,"Software\Techland\%PRODUCT%\Settings",GuiLang,,"English"
HKCU,"Software\Techland\Handy Dictionary\Settings",GuiLang,,"English"

[RegistryUnData]

HKLM,%UNINS%
HKLM,"Software\Techland\%PRODUCT%"

[UninstReg1]

HKLM,"Software\Techland\%PRODUCT%",UninstallSection,,"UnInstall1"


[Strings]

GetSerialTitle          = "Enter serial number"
GetSerialError          = "Wrong serial number!"

UNINS          = "Software\Microsoft\Windows\CurrentVersion\Uninstall\ET3"
PRODUCT        = "English Translator 3"

StringExit     = "Exit setup"
StringInstall  = "Install the product"
StringStart    = "Run the product"
StringDirect   = "Installing DirectX"

StringChangeDir         = "Installation folder:"
StringChangeDirDesc     = "Choose installation folder"

GetFolderTitle          = "Choose installation folder"
GetFolderMsgTitle       = "English Translator 3 setup program"
GetFolderCannot         = "Could not create folder"
GetFolderExists         = "Folder already exists. Continue?"
GetFolderCancel         = "Cancel"


MsgYes                  = "Yes"
MsgNo                   = "No"
MsgOk                   = "OK"
MsgCancel               = "Cancel"
MsgRetry                = "Retry"

UnInstallAsk            = "Are you sure you want to remove the program?"
UnInstallYes            = "Yes"
UnInstallNo             = "No"
UnInstallComplete       = "Uninstallation finished."

GetFolderMsgTitle       = "English Translator 3"
GetFolderCannot         = "Could not create folder."
GetFolderExists         = "Folder already exists. Continue?"
GetFolderCancel         = "Cancel"

LicenceTitle      = "Licence agreement"
LicenceAgree      = "I agree"
LicenceDecline    = "I decline"

MsgInstalling           = "Installation..."
MsgInstallOk            = "Installation finished"
MsgInstallError         = "Error during installation"
MsgInstallSpace         = "Not enough free space on drive"
MsgInstallReboot        = "Restart"
MsgInstallRebootAsk     = "Restart now?"

SpeechTitle         = "Installing the speech synthesis module"
SpeechError          = "Unable to run the speech synthesis module installer"
SpeechTitleAsk          = "Install the speech synthesis module?"
SpeechInstall          = "..\Speech\setupen.exe"

PatchTitle         = "Runing English Translator 3 Update"
PatchError          = "Unable to run English Translator 3 Update"
PatchTitleAsk          = "Run English Translator 3 Update?"
PatchInstall          = "..\Update\ET3Patch 3.1-3.2.exe"

[InstallerSetup]

PleaseWait        = "Please wait..."
WindowTitle       = "English Translator 3"

BitmapMask        = "bmp\Mask.bmp"
BitmapBack        = "bmp\Back.bmp"
BitmapButtons     = "bmp\buttons.bmp"


ProgressInfo      = ,,bmp\progress.bmp,236,155,,,1,0,

Button1        =  294, 172, 216,  48, "%StringExit%"           ,,  0, 144, -1, -1,,, 0,  144, 0,144
Button2        =  8,  136, 216,  48, "%StringInstall%"        ,,  0, 48, -1, -1,,, 0, 48, 0, 48
Button3        =  -10,  -10, -10,  -10, "%StringStart%"          ,,  -1, -1, -1, -1,,,
Button4        =    0,   0,   0,   0, "%StringDirect%"         ,, -1, -1, -1, -1,,,
Button5        =  -133, -123, -135,  -24, "%StringPreviews%"       ,,  0, -72, -1, -1,,, 0, 0

TextColor      = 0, 0, 0, 16
TextLine1      = 186,240,250,16
TextLine2      = 0,0,0,0


DirectXPath    = "DirectX"

GetDirOn       =


UnInstallMsgs  = "%UnInstallAsk%","%UnInstallYes%","%UnInstallNo%","%UnInstallComplete%"

MsgAnswer      = "%MsgYes%","%MsgNo%","%MsgOk%","%MsgCancel%","%MsgRetry%"

GetFolderMsgs  = "%GetFolderTitle%", "%GetFolderMsgTitle%", "%GetFolderCannot%", "%GetFolderExists%", "%GetFolderCancel%"
LicenceMsgs    = "%LicenceTitle%",   "%LicenceAgree%",      "%LicenceDecline%"
GetSerialMsgs  = "%GetSerialTitle%", "%GetSerialError%"
SpeechMsgs = "%SpeechTitle%","%SpeechError%","%SpeechTitleAsk%","%SpeechInstall%"
PatchMsgs = "%PatchTitle%","%PatchError%","%PatchTitleAsk%","%PatchInstall%"

LicenceTxt     = licence.txt

Vendor         = "Techland"
ProductKey     = "Software\Techland\%PRODUCT%"

CommandLine    = "ET.exe"

ProgramPath    = "English Translator 3"
DefaultPath    = "C:\Program Files\English Translator 3"

ProgramGroup   = "Techland\%PRODUCT%"

Shortcut1      = "English Translator 3",      ET.exe,              ,"%PRODUCT%","%65600%\ET.exe"
Shortcut2      = "Internet Translator 3",      IT.exe,              ,"%PRODUCT%","%65600%\IT.exe"
Shortcut3      = "Handy Dictionary",      HandyDict.exe,              ,"%PRODUCT%","%65600%\HandyDict.exe"
Shortcut4      = "Uninstall", setup.exe,"-uninstall" ,"%PRODUCT%","%65600%\setup.exe"
Shortcut5      = "English Translator 3 Help",     ET_en.chm,              ,"%PRODUCT%","%65600%\ET_en.chm"
Shortcut6      = "Handy Dictionary Help",     HD_en.hlp, 	,"%PRODUCT%","%65600%\HD_en.hlp"
Shortcut7      = "Internet Translator 3 Help",     IT_en.chm, 	,"%PRODUCT%","%65600%\IT_en.chm"


Messages       = "%MsgInstalling%","%MsgInstallOk%","%MsgInstallError%","%MsgInstallSpace%","%MsgInstallReboot%","%MsgInstallRebootAsk%"

AutoExit       = 1
DirectXPath    = "DirectX"
DirectXAuto    = 0
AviDecoder     = 0
CustomCursors  = 0

Sizes          = 200,00

; end of file
