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

  • Home
  • SEARCH
  • 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 6540323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:57:53+00:00 2026-05-25T10:57:53+00:00

Using InstallShield – InstallScript project: I made a custom dialog for browsing for a

  • 0

Using InstallShield – InstallScript project:

I made a custom dialog for browsing for a file.

On the dialog initialization I want to disable the “Next” button.

I am successful in disabling other buttons on this dialog except for any of the buttons of the install wizard: Cancel, Next and Back.

I used the functions _WinSubEnableControl or EnableWindow.

  • 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-25T10:57:53+00:00Added an answer on May 25, 2026 at 10:57 am

    The code for disabling the button should be after the call to SdGeneralInit.
    If you put it before (like I did) the change won’t stick.

    The call to SdGeneralInit explicitly enables the “Next” button, that is why it did not work for the “Next” button but did work for the other custom buttons on the dialog.

    It should look something like that:

    case DLG_INIT:    
    
        SdGeneralInit( szDlg, hwndDlg, 0, szSdProduct );
    
        hDlgHandle = CmdGetHwndDlg(szDlg);          
        hNextButton = GetDlgItem(hDlgHandle, 1); // 1 is the id for the next button.            
        EnableWindow(hNextButton, FALSE);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can i create 64-bit setup.exe file using InstallScript project in InstallShield 2009? Documentation is
I am using installshield to build a setup project. I have one InstallScript type
I'm creating a msi based installer (using InstallShield) that has a custom action to
I have an InstallShield MSI project. When I pass an MSIHANDLE from an InstallScript
I have a setup project with InstallShield 2010. I'm deploying a configuration file during
I created a setup file using InstallShield application. Now, in one of the Installation
I'm Trying to deploy my winforms project using installshield in order to make is
I am using Installshield 2010. I made a basic MSI setup, and I am
Using Installshield 2010 with a Basic MSI project. I have several config files that
I am using InstallShield 11 and creating a basic MSI project for a 64

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.