installer support for portable mode

This commit is contained in:
berkeviktor@aol.com 2010-08-19 00:25:00 +02:00
parent 562d7f6e44
commit 8e8f77d870
4 changed files with 18 additions and 22 deletions

View File

@ -45,5 +45,5 @@ xcopy /S /I ..\plugins\xdcc\xcxdcc.dll %XCHAT_DEST%\plugins\
xcopy %LUA_BIN%\lua51.dll %XCHAT_DEST% xcopy %LUA_BIN%\lua51.dll %XCHAT_DEST%
xcopy /S /I /Q ..\po\locale %XCHAT_DEST%\locale xcopy /S /I /Q ..\po\locale %XCHAT_DEST%\locale
xcopy /S /I /Q %GTK_BIN%\..\share\locale %XCHAT_DEST%\share\locale xcopy /S /I /Q %GTK_BIN%\..\share\locale %XCHAT_DEST%\share\locale
echo 2> portable-build echo 2> portable-mode
move portable-build %XCHAT_DEST% move portable-mode %XCHAT_DEST%

View File

@ -45,5 +45,5 @@ xcopy /S /I ..\plugins\xdcc\xcxdcc.dll %XCHAT_DEST%\plugins\
xcopy %LUA_BIN%\lua51.dll %XCHAT_DEST% xcopy %LUA_BIN%\lua51.dll %XCHAT_DEST%
xcopy /S /I /Q ..\po\locale %XCHAT_DEST%\locale xcopy /S /I /Q ..\po\locale %XCHAT_DEST%\locale
xcopy /S /I /Q %GTK_BIN%\..\share\locale %XCHAT_DEST%\share\locale xcopy /S /I /Q %GTK_BIN%\..\share\locale %XCHAT_DEST%\share\locale
echo 2> portable-build echo 2> portable-mode
move portable-build %XCHAT_DEST% move portable-mode %XCHAT_DEST%

View File

@ -1,9 +1,9 @@
[Setup] [Setup]
AppName=XChat-WDK (x64) AppName=XChat-WDK (x64)
AppVerName=XChat WDK (x64) r1457 AppVerName=XChat WDK (x64) r1459
AppVersion=14.57 AppVersion=14.59
VersionInfoVersion=14.57 VersionInfoVersion=14.59
OutputBaseFilename=XChat-WDK r1457 x64 OutputBaseFilename=XChat-WDK r1459 x64
AppPublisher=XChat-WDK AppPublisher=XChat-WDK
AppPublisherURL=http://code.google.com/p/xchat-wdk/ AppPublisherURL=http://code.google.com/p/xchat-wdk/
AppCopyright=Copyright (C) 1998-2010 Peter Zelezny AppCopyright=Copyright (C) 1998-2010 Peter Zelezny
@ -16,10 +16,10 @@ UninstallDisplayIcon={app}\xchat.exe
UninstallDisplayName=XChat-WDK (x64) UninstallDisplayName=XChat-WDK (x64)
DefaultDirName={pf}\XChat-WDK DefaultDirName={pf}\XChat-WDK
DefaultGroupName=XChat-WDK DefaultGroupName=XChat-WDK
DisableProgramGroupPage=yes
SolidCompression=yes SolidCompression=yes
SourceDir=..\..\xchat-wdk-x64 SourceDir=..\..\xchat-wdk-x64
OutputDir=. OutputDir=.
AllowNoIcons=yes
FlatComponentsList=no FlatComponentsList=no
PrivilegesRequired=none PrivilegesRequired=none
CreateUninstallRegKey=not IsTaskSelected('portablemode') CreateUninstallRegKey=not IsTaskSelected('portablemode')
@ -34,8 +34,6 @@ Name: "custom"; Description: "Custom Installation"; Flags: iscustom
[Components] [Components]
Name: "libs"; Description: "XChat-WDK"; Types: normal full custom; Flags: fixed Name: "libs"; Description: "XChat-WDK"; Types: normal full custom; Flags: fixed
;Name: "xchatstandard"; Description: "XChat Standard"; Types: normal full custom
;Name: "xchatportable"; Description: "XChat Portable"; Types: full custom
Name: "translations"; Description: "Translations"; Types: normal full custom Name: "translations"; Description: "Translations"; Types: normal full custom
Name: "plugins"; Description: "Language Interfaces"; Types: full custom Name: "plugins"; Description: "Language Interfaces"; Types: full custom
Name: "plugins\lua"; Description: "Lua (experimental)"; Types: full custom Name: "plugins\lua"; Description: "Lua (experimental)"; Types: full custom
@ -93,8 +91,8 @@ Source: "locale\*"; DestDir: "{app}\locale"; Flags: createallsubdirs recursesubd
Source: "share\*"; DestDir: "{app}\share"; Flags: createallsubdirs recursesubdirs; Components: translations Source: "share\*"; DestDir: "{app}\share"; Flags: createallsubdirs recursesubdirs; Components: translations
[Icons] [Icons]
Name: "{group}\XChat-WDK (x64)"; Filename: "{app}\xchat.exe" Name: "{group}\XChat-WDK (x64)"; Filename: "{app}\xchat.exe"; Tasks: not portablemode
Name: "{group}\Uninstall XChat-WDK (x64)"; Filename: "{uninstallexe}"; Name: "{group}\Uninstall XChat-WDK (x64)"; Filename: "{uninstallexe}"; Tasks: not portablemode
[Messages] [Messages]
BeveledLabel= XChat-WDK (x64) BeveledLabel= XChat-WDK (x64)

View File

@ -1,9 +1,9 @@
[Setup] [Setup]
AppName=XChat-WDK (x86) AppName=XChat-WDK (x86)
AppVerName=XChat WDK (x86) r1457 AppVerName=XChat WDK (x86) r1459
AppVersion=14.57 AppVersion=14.59
VersionInfoVersion=14.57 VersionInfoVersion=14.59
OutputBaseFilename=XChat-WDK r1457 x86 OutputBaseFilename=XChat-WDK r1459 x86
AppPublisher=XChat-WDK AppPublisher=XChat-WDK
AppPublisherURL=http://code.google.com/p/xchat-wdk/ AppPublisherURL=http://code.google.com/p/xchat-wdk/
AppCopyright=Copyright (C) 1998-2010 Peter Zelezny AppCopyright=Copyright (C) 1998-2010 Peter Zelezny
@ -16,10 +16,10 @@ UninstallDisplayIcon={app}\xchat.exe
UninstallDisplayName=XChat-WDK (x86) UninstallDisplayName=XChat-WDK (x86)
DefaultDirName={pf}\XChat-WDK DefaultDirName={pf}\XChat-WDK
DefaultGroupName=XChat-WDK DefaultGroupName=XChat-WDK
DisableProgramGroupPage=yes
SolidCompression=yes SolidCompression=yes
SourceDir=..\..\xchat-wdk-x86 SourceDir=..\..\xchat-wdk-x86
OutputDir=. OutputDir=.
AllowNoIcons=yes
FlatComponentsList=no FlatComponentsList=no
PrivilegesRequired=none PrivilegesRequired=none
CreateUninstallRegKey=not IsTaskSelected('portablemode') CreateUninstallRegKey=not IsTaskSelected('portablemode')
@ -33,8 +33,6 @@ Name: "custom"; Description: "Custom Installation"; Flags: iscustom
[Components] [Components]
Name: "libs"; Description: "XChat-WDK"; Types: normal full custom; Flags: fixed Name: "libs"; Description: "XChat-WDK"; Types: normal full custom; Flags: fixed
;Name: "xchatstandard"; Description: "XChat Standard"; Types: normal full custom
;Name: "xchatportable"; Description: "XChat Portable"; Types: full custom
Name: "translations"; Description: "Translations"; Types: normal full custom Name: "translations"; Description: "Translations"; Types: normal full custom
Name: "plugins"; Description: "Language Interfaces"; Types: full custom Name: "plugins"; Description: "Language Interfaces"; Types: full custom
Name: "plugins\lua"; Description: "Lua (experimental)"; Types: full custom Name: "plugins\lua"; Description: "Lua (experimental)"; Types: full custom
@ -92,8 +90,8 @@ Source: "locale\*"; DestDir: "{app}\locale"; Flags: createallsubdirs recursesubd
Source: "share\*"; DestDir: "{app}\share"; Flags: createallsubdirs recursesubdirs; Components: translations Source: "share\*"; DestDir: "{app}\share"; Flags: createallsubdirs recursesubdirs; Components: translations
[Icons] [Icons]
Name: "{group}\XChat-WDK (x86)"; Filename: "{app}\xchat.exe" Name: "{group}\XChat-WDK (x86)"; Filename: "{app}\xchat.exe"; Tasks: not portablemode
Name: "{group}\Uninstall XChat-WDK (x86)"; Filename: "{uninstallexe}"; Name: "{group}\Uninstall XChat-WDK (x86)"; Filename: "{uninstallexe}"; Tasks: not portablemode
[Messages] [Messages]
BeveledLabel= XChat-WDK (x86) BeveledLabel= XChat-WDK (x86)