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 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

I'm using InstallShield 2010 Premiere. I have a basic MSI project that install an
I'm Trying to deploy my winforms project using installshield in order to make is
I have BasicMsi project in InstallShield. I want to be able to update this
I am using Installshield 2008 Developer Edition and need to run SQL scripts against
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
Using VS2008, C#, .Net 2 and Winforms how can I make a regular Button
Using JDeveloper , I started developing a set of web pages for a project
We're using Installshield 8 in creating our installer. While building, we are getting this
I am using Installshield 2008 Premier to edit some XML files which are already
I am using InstallShield 2008 Premier Edition and I have created a multilanguage setup.

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.