Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7071931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:44:49+00:00 2026-05-28T05:44:49+00:00

I decided to create custom wizard page in my inno-setup-based installer. But i do

  • 0

I decided to create custom wizard page in my inno-setup-based installer. But i do not want to create it from scratch. I want to take TInputDirWizardPage and modify it, e.g. add a combo-box. Is it possible? How to do it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:44:50+00:00Added an answer on May 28, 2026 at 5:44 am

    I figured it out myself. So i will answer my own question. Here’s sample code:

    [Code]
    const DB_PAGE_CAPTION='Select Application Database Folder';
      DB_PAGE_DESCRIPTION='Where should application database files be installed or where     your database files already are?';
      DB_PAGE_SUBCAPTION='In case of new installation select the folder in which Setup should install application database files, then click Next. Or select folder where previous version of application stored database files, then click Next';
    
    var databasePage : TInputDirWizardPage;//this is predefined form declaration
        CheckListBox : TNewCheckListBox;  //this is new element i'm about to add to page
    
    procedure createDatabaseWizardPage; //creating page
    begin
    databasePage :=CreateInputDirPage(wpSelectDir,
    DB_PAGE_CAPTION,
    DB_PAGE_DESCRIPTION,
    DB_PAGE_SUBCAPTION,
    False, '');
    databasePage.Add('');
    
    databasePage.buttons[0].Top:=databasePage.buttons[0].Top+ScaleY(70);//moving predefined 
    databasePage.edits[0].Top:=databasePage.edits[0].Top+ScaleY(70);    //elements down.
    databasePage.edits[0].Text:=ExpandConstant('{commonappdata}\my app');//default value
    
    CheckListBox := TNewCheckListBox.Create(databasePage);//creating and modifying new checklistbox
    CheckListBox.Top := 40 + ScaleY(8);
    CheckListBox.Width := databasePage.SurfaceWidth;
    CheckListBox.Height := ScaleY(50);
    CheckListBox.BorderStyle := bsNone;
    CheckListBox.ParentColor := True;
    CheckListBox.MinItemHeight := WizardForm.TasksList.MinItemHeight;
    CheckListBox.ShowLines := False;
    CheckListBox.WantTabs := True;
    CheckListBox.Parent := databasePage.Surface;//setting control's parent element
    CheckListBox.AddRadioButton('New Installation', '', 0, True, True, nil);
    CheckListBox.AddRadioButton('Update existing copy', '', 0, False, True, nil);
    end;
    
    
    procedure InitializeWizard;
    begin
    createDatabaseWizardPage(); 
    end;
    

    Thanks everybody! 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've decided to take the advice in this question: create-excel-chart-programmatically-in-php and NOT attempt to
I've always wanted to create custom components in Java, or customize existing ones, but
I want to create an InputDialog with custom labels for the OK/Cancel buttons. I'm
I am trying to create a custom installer technology for some fun and generic
I'm trying to create a custom class that is based off of an XML
I have decided that I wanted to create some custom dialog classes that could
I decided to create a currency converter in Java, and have it so that
I have to develop a customized tab control and decided to create it with
I'm working on a new project and for some reason decided to create two
Thinking about my other problem , i decided I can't even create a regular

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.