summary refs log tree commit diff stats
path: root/win32
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-04-01 04:43:35 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-04-01 04:43:47 +0200
commitabd20c25dcc1053e3ee6c71bab0430e6667fa574 (patch)
tree4dfaf3f2e2c9679891b60bc794e6765683773456 /win32
parent22cf9cb0051501cf72f6004b556698dee39a6c62 (diff)
Get rid of installer skinning
Diffstat (limited to 'win32')
-rw-r--r--win32/copy/copy.vcxproj6
-rw-r--r--win32/installer/hexchat-x64.skel.iss35
-rw-r--r--win32/installer/hexchat-x86.skel.iss35
-rw-r--r--win32/installer/watercolorlite-blue.cjstylesbin308224 -> 0 bytes
-rw-r--r--win32/installer/watercolorlite-green.cjstylesbin308224 -> 0 bytes
5 files changed, 2 insertions, 74 deletions
diff --git a/win32/copy/copy.vcxproj b/win32/copy/copy.vcxproj
index 8e6a7cfe..bf9d088f 100644
--- a/win32/copy/copy.vcxproj
+++ b/win32/copy/copy.vcxproj
@@ -59,8 +59,7 @@
       <OptimizeReferences>true</OptimizeReferences>

     </Link>

     <PreBuildEvent>

-      <Command>$(HexChatCopy)

-copy "..\installer\watercolorlite-green.cjstyles" "$(HexChatRel)"</Command>

+      <Command>$(HexChatCopy)</Command>

     </PreBuildEvent>

   </ItemDefinitionGroup>

   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">

@@ -75,8 +74,7 @@ copy "..\installer\watercolorlite-green.cjstyles" "$(HexChatRel)"</Command>
       <OptimizeReferences>true</OptimizeReferences>

     </Link>

     <PreBuildEvent>

-      <Command>$(HexChatCopy)

-copy "..\installer\watercolorlite-blue.cjstyles" "$(HexChatRel)"</Command>

+      <Command>$(HexChatCopy)</Command>

     </PreBuildEvent>

   </ItemDefinitionGroup>

   <ItemGroup>

diff --git a/win32/installer/hexchat-x64.skel.iss b/win32/installer/hexchat-x64.skel.iss
index 4459922f..29161d71 100644
--- a/win32/installer/hexchat-x64.skel.iss
+++ b/win32/installer/hexchat-x64.skel.iss
@@ -81,13 +81,6 @@ Filename: "https://hexchat.readthedocs.org/en/latest/changelog.html"; Descriptio
 Filename: "http://www.microsoft.com/en-us/download/details.aspx?id=13523"; Description: "Download Visual C++ Redistributable Package"; Flags: shellexec runasoriginaluser postinstall skipifsilent unchecked
 
 [Files]
-; Add the ISSkin DLL used for skinning Inno Setup installations.
-Source: ISSkinU.dll; DestDir: {app}; Flags: dontcopy
-
-; Add the Visual Style resource contains resources used for skinning,
-; you can also use Microsoft Visual Styles (*.msstyles) resources.
-Source: watercolorlite-blue.cjstyles; DestDir: {tmp}; Flags: dontcopy
-
 Source: "portable-mode"; DestDir: "{app}"; Tasks: portable
 
 Source: "changelog.url"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
@@ -255,31 +248,3 @@ begin
 		end;
 	end;
 end;
-
-/////////////////////////////////////////////////////////////////////
-// Importing LoadSkin API from ISSkin.DLL
-procedure LoadSkin(lpszPath: String; lpszIniFileName: String);
-external 'LoadSkin@files:isskinu.dll stdcall';
-
-// Importing UnloadSkin API from ISSkin.DLL
-procedure UnloadSkin();
-external 'UnloadSkin@files:isskinu.dll stdcall';
-
-// Importing ShowWindow Windows API from User32.DLL
-function ShowWindow(hWnd: Integer; uType: Integer): Integer;
-external 'ShowWindow@user32.dll stdcall';
-
-function InitializeSetup(): Boolean;
-begin
-  ExtractTemporaryFile('watercolorlite-blue.cjstyles');
-  LoadSkin(ExpandConstant('{tmp}\watercolorlite-blue.cjstyles'), '');
-  Result := True;
-end;
-
-procedure DeinitializeSetup();
-begin
-  // Hide Window before unloading skin so user does not get
-  // a glimpse of an unskinned window before it is closed.
-  ShowWindow(StrToInt(ExpandConstant('{wizardhwnd}')), 0);
-  UnloadSkin();
-end;
diff --git a/win32/installer/hexchat-x86.skel.iss b/win32/installer/hexchat-x86.skel.iss
index b4c7d192..cf62eb81 100644
--- a/win32/installer/hexchat-x86.skel.iss
+++ b/win32/installer/hexchat-x86.skel.iss
@@ -80,13 +80,6 @@ Filename: "https://hexchat.readthedocs.org/en/latest/changelog.html"; Descriptio
 Filename: "http://www.microsoft.com/en-us/download/details.aspx?id=8328"; Description: "Download Visual C++ Redistributable Package"; Flags: shellexec runasoriginaluser postinstall skipifsilent unchecked
 
 [Files]
-; Add the ISSkin DLL used for skinning Inno Setup installations.
-Source: ISSkinU.dll; DestDir: {app}; Flags: dontcopy
-
-; Add the Visual Style resource contains resources used for skinning,
-; you can also use Microsoft Visual Styles (*.msstyles) resources.
-Source: watercolorlite-green.cjstyles; DestDir: {tmp}; Flags: dontcopy
-
 Source: "portable-mode"; DestDir: "{app}"; Tasks: portable
 
 Source: "changelog.url"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
@@ -254,31 +247,3 @@ begin
 		end;
 	end;
 end;
-
-/////////////////////////////////////////////////////////////////////
-// Importing LoadSkin API from ISSkin.DLL
-procedure LoadSkin(lpszPath: String; lpszIniFileName: String);
-external 'LoadSkin@files:isskinu.dll stdcall';
-
-// Importing UnloadSkin API from ISSkin.DLL
-procedure UnloadSkin();
-external 'UnloadSkin@files:isskinu.dll stdcall';
-
-// Importing ShowWindow Windows API from User32.DLL
-function ShowWindow(hWnd: Integer; uType: Integer): Integer;
-external 'ShowWindow@user32.dll stdcall';
-
-function InitializeSetup(): Boolean;
-begin
-  ExtractTemporaryFile('watercolorlite-green.cjstyles');
-  LoadSkin(ExpandConstant('{tmp}\watercolorlite-green.cjstyles'), '');
-  Result := True;
-end;
-
-procedure DeinitializeSetup();
-begin
-  // Hide Window before unloading skin so user does not get
-  // a glimpse of an unskinned window before it is closed.
-  ShowWindow(StrToInt(ExpandConstant('{wizardhwnd}')), 0);
-  UnloadSkin();
-end;
diff --git a/win32/installer/watercolorlite-blue.cjstyles b/win32/installer/watercolorlite-blue.cjstyles
deleted file mode 100644
index a457029b..00000000
--- a/win32/installer/watercolorlite-blue.cjstyles
+++ /dev/null
Binary files differdiff --git a/win32/installer/watercolorlite-green.cjstyles b/win32/installer/watercolorlite-green.cjstyles
deleted file mode 100644
index 2b77026d..00000000
--- a/win32/installer/watercolorlite-green.cjstyles
+++ /dev/null
Binary files differ