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
- :
- Modify SdRegisterUser so that Company is optional
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
Oct 19, 2010
01:36 PM
Modify SdRegisterUser so that Company is optional
I have an IS 2010 Installscript project and I need to make the company name optional in the SdRegisterUser dialog.
Fortunately someone else wanted to do this back in 2008 but the link to the KB article is broken and searching Flexera's database isn't coming up with anything.
Can someone provide the document:
Q101169 HOWTO: Modifying Sd Dialog Box Source Files
TIA
Fortunately someone else wanted to do this back in 2008 but the link to the KB article is broken and searching Flexera's database isn't coming up with anything.
Can someone provide the document:
Q101169 HOWTO: Modifying Sd Dialog Box Source Files
TIA
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 19, 2010
02:14 PM
I don't have that document but you can edit the dialog source through the InstallScript pane in your project. Select "Dialog Source" from the left dropdown and "SdRegisterUser" from the right dropdown and it will insert the code for that dialog in your project. You can then change both instances of this line:
EnableWindow( hwndNext, StrLengthChars( svName ) && StrLengthChars( svCompany ) );
to
EnableWindow( hwndNext, StrLengthChars( svName ) );
so it won't check svCompany anymore.
HTH
EnableWindow( hwndNext, StrLengthChars( svName ) && StrLengthChars( svCompany ) );
to
EnableWindow( hwndNext, StrLengthChars( svName ) );
so it won't check svCompany anymore.
HTH