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 467657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:36:14+00:00 2026-05-12T23:36:14+00:00

After the user goes through the Setup Wizard, and makes a few choices, the

  • 0

After the user goes through the Setup Wizard, and makes a few choices, the usual thing is to display the VerifyReadyDlg to say “Are you ready to install?”

The built-in VerifyReadyDlg is static. It does not present a summary of the choices he made previously. I’d like to modify it so that it does.

How can I do that?


Example

“Static” text:
alt text

Intelligent text:
alt text

I don’t believe I can modify the Control table in the MSI, because mods during the installation process are not allowed. I found MsiViewModifyInsertTemporary, but I don’t think that will work either. The relevant row in the Control table is already present, and it contains static data. I want to modify the data, just before VerifyReadyDlg is displayed.

  • 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-12T23:36:14+00:00Added an answer on May 12, 2026 at 11:36 pm

    You may not be able to modify existing rows in the MSI tables, but you can insert new “temporary” rows.

    So, in a custom action, at runtime, insert one or more temporary rows into the Control table. In Javascript, it looks like this:

    var controlView = Session.Database.OpenView("SELECT * FROM Control");
    controlView.Execute();
    
    var record             = Session.Installer.CreateRecord(12);
    record.StringData(1)   = "VerifyReadyDlg";    // Dialog_ - the dialog to mod
    record.StringData(2)   = "CustomVerifyText1"; // Control - any unique name will do
    record.StringData(3)   = "Text";              // Type
    record.IntegerData(4)  = 25;                  // X
    record.IntegerData(5)  = 70;                  // Y
    record.IntegerData(6)  = 320;                 // Width
    record.IntegerData(7)  = 65;                  // Height
    record.IntegerData(8)  = 2;                   // Attributes
    record.StringData(9)   = "";                  // Property
    record.StringData(10)  = text1;               // Text - the text to be displayed
    record.StringData(11)  = "";                  // Control_Next
    record.StringData(12)  = "";                  // Help
    controlView.Modify(MsiViewModify.InsertTemporary, record);
    controlView.Close();    
    

    You probably want that custom text to be displayed only upon INSTALL. In that case, add a condition, in the same way:

    var controlCondView    = Session.Database.OpenView("SELECT * FROM ControlCondition");
    controlCondView.Execute();
    
    record                 = Session.Installer.CreateRecord(4);
    record.StringData(1)   = "VerifyReadyDlg";    // Dialog_
    record.StringData(2)   = "CustomVerifyText1"; // Control_ - same name as above
    record.StringData(3)   = "Show";              // Action
    record.StringData(4)   = "NOT Installed";     // Condition
    controlCondView.Modify(MsiViewModify.InsertTemporary, record);
    controlCondView.Close();
    

    The Msi constants are defined like this:

    // http://msdn.microsoft.com/en-us/library/aa372516(VS.85).aspx
    var MsiViewModify = 
    {
        Refresh          : 0,
        Insert           : 1,
        Update           : 2,
        Assign           : 3,
        Replace          : 4,
        Merge            : 5,
        Delete           : 6,
        InsertTemporary  : 7,   // cannot permanently modify the MSI during install
        Validate         : 8,
        ValidateNew      : 9,
        ValidateField    : 10,
        ValidateDelete   : 11
    };
    

    A couple notes:

    1. The InstallText in the Control table is normally displayed. It can be customized with a .wxl file, inserting something like this:

      <String Id="VerifyReadyDlgInstallText">Whatever.</String>

      This results in a row in the Control table. But you cannot remove rows from the table at runtime.
      If you choose the X,Y and Height,Width for your new custom text to be the same as for the static InstallText, the InstallText will be obscured.

    2. It may seem counter-intuitive to use “NOT Installed” as the condition – but remember, this is the state of the world prior to running the Setup Wizard. If the MSI is Installed prior to running the Wizard, then you’re probably not installing it, which means you don’t need to display the choices being made in the wizard.

    3. Of course you can add multiple controls this way. You could add multiple Text controls, or…You can add lines, buttons, checkboxes, whatever. For each one, you’ll have to set the control type and geometry appropriately. Use Orca to examine the Control table to figure out how.

    4. This approach works for any Dialog. You only have to be sure to run the custom action to insert the temp rows into the Control table, at some point in the InstallUISequence, before the Dialog is rendered.

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

Sidebar

Related Questions

How to make the browser upload and display image after the user puts it
After user places an order I have to send detailed email message containing order
Details: Only disable after user clicks the submit button, but before the posting back
In a Swing app a method should continue only after user enters a correct
I have a ContextMenu that is displayed after a user right clicks on a
Is it possible to set the DataContext property of a usercontrol after the user
I have a file input element that needs to be cloned after the user
After my form.Form validates the user input values I pass them to a separate
After seeing the cool new reputation tab on the stackoverflow user page, I was
After my web form is submitted, a regex will be applied to user input

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.