some more work on stripping myspell

This commit is contained in:
berkeviktor@aol.com 2011-02-21 03:20:29 +01:00
parent e8651664f2
commit 171ec0b504
3 changed files with 17 additions and 6 deletions

10
build/build-spell.bat Normal file
View File

@ -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

View File

@ -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 AppName=XChat-WDK Spelling Dictionaries
AppVerName=XChat-WDK Spelling Dictionaries 1.0 AppVerName=XChat-WDK Spelling Dictionaries 1.0
AppVersion=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 AppSupportURL=http://code.google.com/p/xchat-wdk/issues/list
AppUpdatesURL=http://code.google.com/p/xchat-wdk/wiki/InfoXChat AppUpdatesURL=http://code.google.com/p/xchat-wdk/wiki/InfoXChat
LicenseFile=COPYING LicenseFile=COPYING
;UninstallDisplayIcon={app}\xchat.exe UninstallDisplayIcon={app}\xchat.exe
UninstallDisplayName=XChat-WDK UninstallDisplayName=XChat-WDK Spelling Dictionaries
DefaultDirName={pf}\XChat-WDK DefaultDirName={pf}\XChat-WDK
DefaultGroupName=XChat-WDK DefaultGroupName=XChat-WDK
DisableProgramGroupPage=yes DisableProgramGroupPage=yes
@ -26,9 +22,13 @@ PrivilegesRequired=none
ShowComponentSizes=no ShowComponentSizes=no
CreateUninstallRegKey=not IsTaskSelected('portable') CreateUninstallRegKey=not IsTaskSelected('portable')
Uninstallable=not IsTaskSelected('portable') Uninstallable=not IsTaskSelected('portable')
DirExistsWarning=no
ArchitecturesAllowed=x86 x64 ArchitecturesAllowed=x86 x64
ArchitecturesInstallIn64BitMode=x64 ArchitecturesInstallIn64BitMode=x64
[Tasks]
Name: portable; Description: "Yes"; GroupDescription: "Portable Install (no Registry entries, no Start Menu icons, no uninstaller):"; Flags: unchecked
[Files] [Files]
Source: "share\myspell\*"; DestDir: "{app}\share\myspell"; Flags: createallsubdirs recursesubdirs Source: "share\myspell\*"; DestDir: "{app}\share\myspell"; Flags: createallsubdirs recursesubdirs

View File

@ -237,6 +237,7 @@ Name: "{group}\Uninstall XChat-WDK"; Filename: "{uninstallexe}"; Tasks: not port
BeveledLabel= XChat-WDK BeveledLabel= XChat-WDK
[Code] [Code]
; these are required for x86->x64 or reverse upgrades
///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
function GetUninstallString(): String; function GetUninstallString(): String;
var var