I'm a nub to Wise. I can capture and create simple things but I need a script that will prompt for 2 choices. say Please choose one of the following A or B. Then based on the selection a specified exe would be executed. Im sure this is childs play for you pro but I can seem to fine what I need in the custum action list. If someone has a script I could paset in and modify it would make my day.

Thanks
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
It would be simpler to use a dialog, added to the dialog sequence, wouldn't it? Then you can use the value of the property "behind" whichever control you used to present the choice to the user.
Answered 01/08/2010 by: VBScab
Red Belt

Please log in to comment
0
It would be simpler to use a dialog, added to the dialog sequence, wouldn't it? Then you can use the value of the property "behind" whichever control you used to present the choice to the user.

except ofcourse if you want the ability to do unattended install.. no dialogs there. Say you ONLY want that dialog to show...


anyway, I write most my scripts in vbs and dropdown/comboboxes are not really possible. You could perhaps do something like this guy does. Then depending on the return value you can set your Session.Property("<YourPropertyName>") to the correct version.

Just be sure to schedule this dialog early (say after InstallValidate), and in immediate context.
Answered 01/08/2010 by: pjgeutjens
Red Belt

Please log in to comment
0
Ah, but the OP wants to prompt the user to make a choice. How would an unattended install do that?

For fancy UI stuff with VBS, it's easy enough to use IE as a dialog "host".
Answered 01/08/2010 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity