This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Enable NEXT button in SdCustomerInformationEx
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2008
08:15 AM
Enable NEXT button in SdCustomerInformationEx
Hi:
I use Installshield MSI Script project.
I have a SdCustomerInformationEx dialog to allow customer to enter customer
information. In this dialog the NEXT button is disabled until there is an entry for SERIAL NUMBER. I want to enable NEXT button by default in this dialog.
So that if the customer does not enter any SERIAL NUMBER, I will install only few features. I change the IS2009\Script\isrt\src folder and change the scripts SdCustomInfoExDlg.rul and SdRegisterUserExDlg.rul but without any use.
Pls let me know ow to proceed. This is an urgent request
Regards,
Indu
I use Installshield MSI Script project.
I have a SdCustomerInformationEx dialog to allow customer to enter customer
information. In this dialog the NEXT button is disabled until there is an entry for SERIAL NUMBER. I want to enable NEXT button by default in this dialog.
So that if the customer does not enter any SERIAL NUMBER, I will install only few features. I change the IS2009\Script\isrt\src folder and change the scripts SdCustomInfoExDlg.rul and SdRegisterUserExDlg.rul but without any use.
Pls let me know ow to proceed. This is an urgent request
Regards,
Indu
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2008
03:23 PM
Perhaps try making a private copy of SdCustInfoExDlg.rul in your project, modifying the enable-button routine as you've done before, and adding
#include "SdCustInfoExDlg.rul"
to your script under #include "ifx.h"?
#include "SdCustInfoExDlg.rul"
to your script under #include "ifx.h"?
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 26, 2008
04:37 PM
Robert is correct, you need to copy the file locally, modify it, and #include it directly, another option is to copy the code from the file into your 'Setup.rul' file and customize it in place.
The reason for this is that when you compile your Setup.rul in the Ide it does not recompile the files under ISRT\Src, these files are precompiled and provided in ISRT\Lib\ISRT.obl, which is automatically linked by the compiler. Thus making changes to these files doesn't have any effect.
If you #include the file in your 'Setup.rul' you are basically duplicating the same function that is in ISRT.obl, however the version in 'Setup.rul' automatically takes precedence over the version in ISRT.obl. (This is why overridding events works, you are basically providing the same function in your setup that is provided in Ifx.obl)
Also, please keep in mind that these source can and will change in future releases, therefore if you customize this code you should note your changes so that if you upgrade in the future and the source files have changed you can get the latest version and reapply the customizations.
Devin Ellingson
Software Developer
Acresso Software
The reason for this is that when you compile your Setup.rul in the Ide it does not recompile the files under ISRT\Src, these files are precompiled and provided in ISRT\Lib\ISRT.obl, which is automatically linked by the compiler. Thus making changes to these files doesn't have any effect.
If you #include the file in your 'Setup.rul' you are basically duplicating the same function that is in ISRT.obl, however the version in 'Setup.rul' automatically takes precedence over the version in ISRT.obl. (This is why overridding events works, you are basically providing the same function in your setup that is provided in Ifx.obl)
Also, please keep in mind that these source can and will change in future releases, therefore if you customize this code you should note your changes so that if you upgrade in the future and the source files have changed you can get the latest version and reapply the customizations.
Devin Ellingson
Software Developer
Acresso Software
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 27, 2008
12:24 AM
Thanks a lot it works.