I am using Installshield 2008. I have a need to use the radio group button group to create one of the dialogs.
Here is the scenerio:
Pick one of the two choices (option1 or option2)
The property RatioButtonGroup I used is named: FileSystemsType
I have two radio buttons for this proerty. One of the button's value is Option1, another one is called Option2.
In my installshield script, I used the method called MsiGetProperty:
Here is my code:
STRING type;
NUMBER size;
MsiGetProperty(hMsi, "FileSystemsType", type, size);
Regardless what my selection is (from the dialog slection), I always get Option1. What is wrong with my setting? Can somebody tell me what to do in the case mentioned? Are there any example on how to use "Radio Button Group" for the installshield script?
Thanks.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Radio Button Group Problem
Started by
ken123
, Sep 09 2008 16:54
2 replies to this topic
Posted 09 September 2008 - 16:54
HYIP Daily Blog - A must read for HYIP investors
Investing and Finance Forums - Discussion on Prosper and Investing
Forever Selena - Your Best Source for Selena Gomez
Investing and Finance Forums - Discussion on Prosper and Investing
Forever Selena - Your Best Source for Selena Gomez
Posted 09 September 2008 - 17:29
QUOTE |
THIS SECTION IS NOT FOR MSI (WINDOWS INSTALLER) PROJECTS, not even for "InstallScript MSI" |
You may want to re-post you question in the section mathcing your project type ("Basic MSI" or "InstallScript MSI").
In MsiGetProperty, size is the size of your buffer, i.e. the maximum number of bytes that the function is allowed to return. You need to initialize size before the call to MsiGetProperty.
Stefan Krüger
InstallSite.org twitter facebook
Posted 10 September 2008 - 08:07
If you are using InstallScript it's the AskOptions-Dialog. Usage:
CODE |
function Options() number nCheckSkip, nCheckDefault, nCheckCustom; begin SetDialogTitle(DLG_ASK_OPTIONS, @ID_MSG_TITLE_CONFIG); nCheckSkip = TRUE; nCheckCustom = FALSE; nCheckDefault = FALSE; AskOptions(EXCLUSIVE, @ID_QUESTION_COPY_CONFIG, @ID_OPTION_CONFIG_SKIP, nCheckSkip, @ID_OPTION_CONFIG_DEFAULT, nCheckDefault, @ID_OPTION_CONFIG_CUSTOM, nCheckCustom); if (nCheckCustom = TRUE) then // Do something elseif (nCheckDefault = TRUE) then // Do something else else // Do something completely different endif; end; |
Regards
Rita