PDA

View Full Version : Need Help for creatingsoftware installer bundle


betaboy07
12-18-2008, 11:39 PM
Hai Friends....................
iam crating software installer bundle in AMS 7.5 I need little Help


In my project page , there is 3 combo boxes, my problems is fist user select an item from combobox1, then combo box 2 should display some items as per the selection in combo box 1


That is Combo box 1 contains following items......

Anti virus & Security
Essentials
Multimedia
Tools
Utilities
Misc



if user select ' Essentials" in Combobox 1 ,then Combobox 2 should display following items


Flash Plugin
Irfan View
Java Run time

Like this, for " Multimedia" Combobox 2 displays

Gimp
VLC Player
KM Player



If user Select "Irfan View" in Combobox 2 then Combobox 3 displays as follows...

Irfan View 2.0
Irfan View 3.0

And finally when go button pressed a EXE file executed as per the selection in Combobox 3




How can i do this..... pls help me...... iam also attaching project screen shot....

betaboy07
12-22-2008, 03:52 AM
Am a Newbie... So i requested 2d Help... But still now more than 60 views but not any single help................ :huh :huh [Forum ?????????]

Anway i solved d problem partially with if... else conditional statement...it take more than 100 lines of script.... but still i need help......

Also i,ve another doubt.....

In AMS is there any script corresponding 2 d "Switch case "" statement in C... can i use Switch case statements in AMS

longedge
12-22-2008, 04:27 AM
In AMS is there any script corresponding 2 d "Switch case "" statement in C... can i use Switch case statements in AMS

You'll only annoy people by being impatient. The forum is a place where people make a comment or contribution if they feel like it. :)

As far as switching cases is concerned, this (http://lua-users.org/wiki/SwitchStatement) link says it all.

You can convert a string to upper or lower case using String.Lower(strname) and String.Upper(strname) but obviously that isn't what you are after.

betaboy07
12-22-2008, 04:32 AM
Ok longedge................... and thanx 4 d Help .....................

But Wat abt multiple comboboxes in a page.....

longedge
12-22-2008, 04:47 AM
But Wat abt multiple comboboxes in a page.....

I've never done it but I'd think along the lines of populating the 'slave' comboboxes dynamically. In the 'master' combobox, on select check to see which item has been selected and then populate the second one accordingly and so on and so on.

longedge
12-22-2008, 08:23 AM
Given that a menu would probably be better for this sort of thing, have a look at this example to see if it gives you any ideas.