mons
19th December 2005 16:10 UTC
Reading selected InstType in Callback
Hi,
I would like to be able to show the user what installation type he has selected so he can confirm. The script should be something like this, please fill in the blanks :)
Page components "" "" postFunc
InstType "A"
InstType "B"
Function postFunc
MessageBox MB_OKCANCEL "You are about to install xxx" IDOK install
Abort
install:
How could I display the name of the installation type instead of xxx ?
/Måns
Afrow UK
19th December 2005 16:20 UTC
InstTypeGetText?
Edit: Actually you'd need to find out which is the selected InstType. The easiest way that I can think of is by getting the selected item of the InstType list box (on the Components page) using SendMessage and a suitable Window Message.
-Stu
bhaelochon
19th December 2005 16:33 UTC
Or use GetCurInstType
mons
19th December 2005 21:25 UTC
Thanks, amazing I did not find that one.
:D
Afrow UK
19th December 2005 21:28 UTC
Originally posted by mons
Thanks, amazing I did not find that one.
:D
lol me too!
One of those newer instructions that I've never had to use :)
-Stu