ieSpell is a free Internet Explorer browser extension that spell checks text input boxes on a webpage. However, to use this application in a commercial environment a license key is required for a nominal fee. I wanted to get this application and license key out to the registered user community as quickly as possible and with little intervention on the part of the end user. The original installation is a Nullsoft Install System 2.15. Using the original installation, I was not effectively able to create a silent installation or incorporate the registration key efficiently. I had work-a-rounds, but they were sloppy and the silent install was not too silent. I decided to repack the application with the license key using INNOSetup.
There is a line that is commented out, uncomment the line and add your license key there.
;Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell"; ValueType: STRING; ValueName: "ldata"; ValueData: "YOUR_REGISTRATION_KEY_HERE"; Flags: uninsdeletekey
ieSpell 2.5.1 (build 106) INNO script
[Setup] AppName=ieSpell AppVerName=ieSpell 2.5.1.106 AppPublisher=Red Egg Software AppPublisherURL=http://www.iespell.com AppVersion=2.5.1.0 AppCopyright=Copyright © 2002-2006 Red Egg Software DefaultDirName={pf32}\ieSpell OutputBaseFilename=ieSpellSetup270607 Compression=lzma/ultra SolidCompression=yes LicenseFile=embedded\License.txt ;WizardImageFile=embedded\WizardImage.bmp ;WizardSmallImageFile=embedded\WizardSmallImage.bmp DisableReadyMemo=yes DisableProgramGroupPage=yes DisableFinishedPage=yes VersionInfoVersion=2.5.1.0 ;SetupIconFile=embedded\bc2.ico [Files] Source: "{app}\aspell-15.dll"; DestDir: "{app}"; Flags: overwritereadonly ignoreversion Source: "{app}\ieSpell.dll"; DestDir: "{app}"; Flags: regserver overwritereadonly ignoreversion Source: "{app}\license.txt"; DestDir: "{app}"; Flags: overwritereadonly ignoreversion Source: "{app}\Merriam Webster.HTM"; DestDir: "{app}"; Flags: overwritereadonly ignoreversion Source: "{app}\Register.exe"; DestDir: "{app}"; Flags: overwritereadonly ignoreversion Source: "{app}\uninst.exe"; DestDir: "{app}"; Flags: overwritereadonly ignoreversion Source: "{app}\Wikipedia.HTM"; DestDir: "{app}"; Flags: overwritereadonly ignoreversion Source: "{app}\data\ca-english-ext"; DestDir: "{app}\data"; Flags: overwritereadonly ignoreversion Source: "{app}\data\common-english"; DestDir: "{app}\data"; Flags: overwritereadonly ignoreversion Source: "{app}\data\en.dat"; DestDir: "{app}\data"; Flags: overwritereadonly ignoreversion Source: "{app}\data\en_phonet.dat"; DestDir: "{app}\data"; Flags: overwritereadonly ignoreversion Source: "{app}\data\iso8859-1.dat"; DestDir: "{app}\data"; Flags: overwritereadonly ignoreversion Source: "{app}\data\standard.kbd"; DestDir: "{app}\data"; Flags: overwritereadonly ignoreversion Source: "{app}\data\uk-english-ext"; DestDir: "{app}\data"; Flags: overwritereadonly ignoreversion Source: "{app}\data\us-english-ext"; DestDir: "{app}\data"; Flags: overwritereadonly ignoreversion [Registry] Root: HKCU; Subkey: "Software\Microsoft\Internet Explorer\MenuExt\&ieSpell Options"; ValueName: " "; ValueType: STRING; ValueData: "res://{app}\iespell.dll/SPELLOPTION.HTM"; Flags: uninsdeletekey Root: HKCU; Subkey: "Software\Microsoft\Internet Explorer\MenuExt\Check &Spelling"; ValueName: " "; ValueType: STRING; ValueData: "res://{app}\iespell.dll/SPELLCHECK.HTM"; Flags: uninsdeletekey Root: HKCU; Subkey: "Software\Microsoft\Internet Explorer\MenuExt\Check &Spelling"; ValueName: "Contexts"; ValueType: DWORD; ValueData: "4"; Flags: uninsdeletekey Root: HKCU; Subkey: "Software\Microsoft\Internet Explorer\MenuExt\Lookup on Merriam Webster"; ValueName: ""; ValueType: STRING; ValueData: "file://{app}\ieSpell\Merriam Webster.HTM"; Flags: uninsdeletekey Root: HKCU; Subkey: "Software\Microsoft\Internet Explorer\MenuExt\Lookup on Wikipedia"; ValueName: ""; ValueType: STRING; ValueData: "file://{app}\ieSpell\wikipedia.HTM"; Flags: uninsdeletekey Root: HKCU; Subkey: "Software\SidneyChong co\ieSpell\OnlineDics"; ValueName: "Dictionary.com"; ValueType: STRING; ValueData: "http://www.dictionary.com/search?db"; Flags: uninsdeletekey Root: HKCU; Subkey: "Software\SidneyChong co\ieSpell\OnlineDics"; ValueName: "Merriam Webster"; ValueType: STRING; ValueData: "http://www.m-w.com/cgi-bin/dictionary?book"; Flags: uninsdeletekey Root: HKCU; Subkey: "Software\SidneyChong co\ieSpell\OnlineDics"; ValueName: "Cambridge Advanced Learner's Dictionary"; ValueType: STRING; ValueData: "http://dictionary.cambridge.org/results.asp?dict"; Flags: uninsdeletekey Root: HKCU; Subkey: "Software\SidneyChong co\ieSpell\OnlineDics"; ValueName: "Wikipedia"; ValueType: STRING; ValueData: "http://en.wikipedia.org/wiki/Special:Search?fulltext"; Flags: uninsdeletekey Root: HKCU; Subkey: "Software\SidneyChong co\ieSpell\OnlineDics"; ValueName: "Yahoo! Education Dictionary"; ValueType: STRING; ValueData: "http://education.yahoo.com/reference/dictionary/search?p"; Flags: uninsdeletekey ;Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell"; ValueType: STRING; ValueName: "ldata"; ValueData: "YOUR_REGISTRATION_KEY_HERE"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell"; ValueType: STRING; ValueName: "Language"; ValueData: "English (U.S.)"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell"; ValueType: DWORD; ValueName: "CaseSensitive"; ValueData: "1"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell"; ValueType: DWORD; ValueName: "IgnoreMarkups"; ValueData: "0"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell"; ValueType: DWORD; ValueName: "IgnoreMixedCase"; ValueData: "0"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell"; ValueType: DWORD; ValueName: "IgnoreUnderscore"; ValueData: "0"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell"; ValueType: DWORD; ValueName: "IgnoreUpperCase"; ValueData: "0"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell"; ValueType: DWORD; ValueName: "IgnoreURLs"; ValueData: "1"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell"; ValueType: DWORD; ValueName: "IgnoreWordsWithNumbers"; ValueData: "0"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell"; ValueType: DWORD; ValueName: "SuggestMode"; ValueData: "2"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell"; ValueType: DWORD; ValueName: "rem_validator_wp"; ValueData: "1"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell"; ValueType: STRING; ValueName: "OnlineDic"; ValueData: "Merriam Webster"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell"; ValueType: STRING; ValueName: "installdir"; ValueData: "C:\Program Files\ieSpell"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell"; ValueType: DWORD; ValueName: "version"; ValueData: "251106"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell\CustomDics"; ValueName: "CUSTOM"; ValueType: STRING; ValueData: "CUSTOM.DIC"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell\CustomDics"; ValueName: ""; ValueType: STRING; ValueData: "CUSTOM"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell\Languages"; ValueName: "English (U.S.)"; ValueType: STRING; ValueData: "common-english;us-english-ext"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell\Languages"; ValueName: "English (U.K.)"; ValueType: STRING; ValueData: "common-english;uk-english-ext"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell\Languages"; ValueName: "English (Canadian)"; ValueType: STRING; ValueData: "common-english;ca-english-ext"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell\Languages"; ValueName: "Version"; ValueType: DWORD; ValueData: "2"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell\OnlineDics"; ValueName: "Dictionary.com"; ValueType: STRING; ValueData: "http://www.dictionary.com/search?db"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell\OnlineDics"; ValueName: "Merriam Webster"; ValueType: STRING; ValueData: "http://www.m-w.com/cgi-bin/dictionary?book"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell\OnlineDics"; ValueName: "Cambridge Advanced Learner's Dictionary"; ValueType: STRING; ValueData: "http://dictionary.cambridge.org/results.asp?dict"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell\OnlineDics"; ValueName: "Wikipedia"; ValueType: STRING; ValueData: "http://en.wikipedia.org/wiki/Special:Search?fulltext"; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\SidneyChong co\ieSpell\OnlineDics"; ValueName: "Yahoo! Education Dictionary"; ValueType: STRING; ValueData: "http://education.yahoo.com/reference/dictionary/search?p"; Flags: uninsdeletekey