Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28-04-2020, 11:36
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,337 Times in 2,839 Posts
KaktoR is on a distinguished road
Search for CurPageID = wpWelcome

The pausebutton will be changed there too (this is ridiculous, I will change this too in next version). This settings will be higher priority then the first in initialize wizard.
__________________
Haters gonna hate
Reply With Quote
Sponsored Links
  #2  
Old 29-04-2020, 12:12
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,405 Times in 637 Posts
Masquerade is on a distinguished road
I managed to get everything sorted, this is how it's looking currently:



I'd like to add an image at the top, so I added this code (taken from the About section of the newest release):

Do you know how I could add an image to the top section? I tried using code snippets from the 7.1.7H release about section:


This went in after the //Begin Creation// notation:
Code:
ExtractTemporaryFile('image.bmp');
  LogoImage := TBitmapImage.Create(WizardForm);
  with LogoImage do begin
    Name             := 'LogoImage';
    Parent           := WizardForm;
    Left             := ScaleX(5);
    Top              := ScaleY(5);
    Width            := ScaleX(373);
    Height           := ScaleY(149);
    //Bitmap.AlphaFormat := afDefined;
    Bitmap.LoadFromFile(ExpandConstant('{tmp}\image.bmp'));
    ReplaceColor := $0000ff
    ReplaceWithColor := WizardForm.Color
  end;
I also added this to the procedure InitialiseWizard section:

Code:
LogoImage: TBitmapImage;
However I cannot get the image to appear. I tried adding:

Code:
WizardForm.LogoImage.Show;
And:
Code:
WizardForm.LogoImage.Hide;
To dictate whether the image should be there or not in wpWelcome and wpInstalling etc...

However that returns the issue Missing Identifier LOGOIMAGE.

I wonder if you know about adding more images? I don't have any in the about section, I replaced that area of code with text from 7.1.4b.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Help] need Advanced Installer script with Razor1911's UltraArc module rez3vil Conversion Tutorials 3 15-04-2024 02:24
Portable Installer Inno Setup Script y_thelastknight Conversion Tutorials 59 23-10-2020 00:02
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05
Simple Arc Installer 78372 Conversion Tutorials 1 15-06-2017 15:37
MSC+Srep+lzma Simple Script Example gozarck Conversion Tutorials 10 07-09-2015 16:31



All times are GMT -7. The time now is 20:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com