Browse Source

Inno Setup 5.5.7

- TBitmapImage.Bitmap needs to be TAlphaBitmap
- Setting DisableDirPage to no to override the new default auto (we have our own mechanism for skipping the page)
- The Welcome page is disabled now

Source commit: 5c7c9af28485f961fe1b2610004ea8c8d72a6f58
Martin Prikryl 9 years ago
parent
commit
715894ac1c
1 changed files with 3 additions and 2 deletions
  1. 3 2
      deployment/winscpsetup.iss

+ 3 - 2
deployment/winscpsetup.iss

@@ -108,6 +108,7 @@ UsePreviousLanguage=yes
 DisableProgramGroupPage=yes
 MinVersion=0,5.1
 SetupIconFile=winscpsetup.ico
+DisableDirPage=no
 #ifdef Sign
 SignTool=sign $f "WinSCP Installer" http://winscp.net/eng/docs/installation
 #endif
@@ -681,10 +682,10 @@ const
 procedure LoadEmbededBitmap(Image: TBitmapImage; Name: string; BackgroundColor: TColor);
 var
   FileName: string;
-  Bitmap: TBitmap;
+  Bitmap: TAlphaBitmap;
 begin
   ExtractTemporaryFile(Name);
-  Bitmap := TBitmap.Create();
+  Bitmap := TAlphaBitmap.Create();
   FileName := ExpandConstant('{tmp}\' + Name);
   Bitmap.LoadFromFile(FileName);
   // we won't need this anymore