PDA

View Full Version : SdCustomerInformation Radio Buttons Default



Paul Richards
10-24-2003, 11:42 AM
Hi!

I have noticed that the radio buttons in SdCustomerInformation always default to the first button (install for all users).

It looks like the ALLUSERS property is being set correctly, but this does not affect the default button, despite the documentation in IS Dev 7. As a result of this. selecting the second button (install for just me), clicking Next, then Back changes the selection back to the first button.

I have tried all sorts of things, including setting the nUser parameter and ALLUSERS property before calling SdCustomerInformation, but this does not work.

Has anyone got any ideas?

Ross Shamelashv
06-07-2006, 07:36 PM
I am having same problem, Did you figure out solution

salgupta
07-21-2006, 07:40 AM
I am using Installshield 10.0 and facing the same problem.

mute_listener
08-15-2006, 05:12 AM
The only way to change the default settings for this radiobutton is: find D:\Programs\your_version_of_IS\Script\iswi\src\SdCustInfo.rul and edit this piece of code in "case DLG_INIT":
//Get the value of the ALLUSERS property
bPrivileged = StrLengthChars(PRIVILEGED) > 0;
if (bPrivileged || SYSINFO.WIN9X.bWin9X) then
//Only Privileged users can install to All Users
CtrlSetState (szDlg, IDC_RADIO_ALL, BUTTON_CHECKED);
else
CtrlSetState (szDlg, IDC_RADIO_ME, BUTTON_CHECKED);
endif;