User Experience Script

Post specialized setup scripts you have created here.
SteveDude
Posts: 250
Joined: Wed Apr 11, 2007 6:07 pm

User Experience Script

Postby SteveDude » Sat Jun 09, 2007 9:53 am

Does anyone have a script similar to IA's user experience script similar to the one in the IA installer?

Thanks,

SteveDude

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Sat Jun 16, 2007 8:49 pm

Quite simple, really.

1) Add a new combo box. Set its text property to a variable, such as $COMBOCHOICES$. Set its writes to variable property to another variable, such as $COMBOSELECTED$.

2) Before showing the dialog, set the COMBOCHOICES variable to something like this: Choice 1$NEWLINE$Choice 2$NEWLINE$...Choice n. Set the COMBOSELECTED variable to the default choice, such as Choice 2, or leave it empty.

3) Show the dialog normally using Display Dialog. After the dialog has shown, the $COMBOSELECTED$ variable can be dereferenced to obtain the user selection.

4) You can then submit results online using Download File, passing in URL parameters such as http://www.mysite.com/submitonline.asp? ... OSELECTED$
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Sample Scripts”

Who is online

Users browsing this forum: No registered users and 1 guest