diff --git a/build/build-spell.bat b/build/build-spell.bat new file mode 100644 index 00000000..17cd7a52 --- /dev/null +++ b/build/build-spell.bat @@ -0,0 +1,10 @@ +@echo off +echo [Setup] > xchat-wdk-spell.iss +echo WizardImageFile=%cd%\bitmaps\wizardimage.bmp >> xchat-wdk-spell.iss +echo WizardSmallImageFile=%cd%\bitmaps\wizardsmallimage.bmp >> xchat-wdk-spell.iss +cd .. +echo SetupIconFile=%cd%\xchat.ico >> build\xchat-wdk-spell.iss +type build\xchat-wdk-spell.skel.iss >> build\xchat-wdk-spell.iss +set PATH=%PROGRAMFILES(X86)%\Inno Setup 5 +compil32 /cc build\xchat-wdk-spell.iss +pause diff --git a/build/xchat-wdk-spell.skel.iss b/build/xchat-wdk-spell.skel.iss index ad12075a..b770995e 100644 --- a/build/xchat-wdk-spell.skel.iss +++ b/build/xchat-wdk-spell.skel.iss @@ -1,7 +1,3 @@ -[Setup] -WizardImageFile=c:\mozilla-build\build\xchat-wdk\build\bitmaps\wizardimage.bmp -WizardSmallImageFile=c:\mozilla-build\build\xchat-wdk\build\bitmaps\wizardsmallimage.bmp -SetupIconFile=c:\mozilla-build\build\xchat-wdk\xchat.ico AppName=XChat-WDK Spelling Dictionaries AppVerName=XChat-WDK Spelling Dictionaries 1.0 AppVersion=1.0 @@ -13,8 +9,8 @@ AppCopyright=Copyright (C) 1998-2010 Peter Zelezny AppSupportURL=http://code.google.com/p/xchat-wdk/issues/list AppUpdatesURL=http://code.google.com/p/xchat-wdk/wiki/InfoXChat LicenseFile=COPYING -;UninstallDisplayIcon={app}\xchat.exe -UninstallDisplayName=XChat-WDK +UninstallDisplayIcon={app}\xchat.exe +UninstallDisplayName=XChat-WDK Spelling Dictionaries DefaultDirName={pf}\XChat-WDK DefaultGroupName=XChat-WDK DisableProgramGroupPage=yes @@ -26,9 +22,13 @@ PrivilegesRequired=none ShowComponentSizes=no CreateUninstallRegKey=not IsTaskSelected('portable') Uninstallable=not IsTaskSelected('portable') +DirExistsWarning=no ArchitecturesAllowed=x86 x64 ArchitecturesInstallIn64BitMode=x64 +[Tasks] +Name: portable; Description: "Yes"; GroupDescription: "Portable Install (no Registry entries, no Start Menu icons, no uninstaller):"; Flags: unchecked + [Files] Source: "share\myspell\*"; DestDir: "{app}\share\myspell"; Flags: createallsubdirs recursesubdirs diff --git a/build/xchat-wdk.skel.iss b/build/xchat-wdk.skel.iss index 01a11354..fa1798b5 100644 --- a/build/xchat-wdk.skel.iss +++ b/build/xchat-wdk.skel.iss @@ -237,6 +237,7 @@ Name: "{group}\Uninstall XChat-WDK"; Filename: "{uninstallexe}"; Tasks: not port BeveledLabel= XChat-WDK [Code] +; these are required for x86->x64 or reverse upgrades ///////////////////////////////////////////////////////////////////// function GetUninstallString(): String; var