[Android Software/Hacking General [Developers Only]] sdojoin:
calibrate("0.9718","4","1.0176","-9");

ini_set("rom_name", "G2JBMOD AROMA INSTALLER");
ini_set("rom_version", "V0.1");
ini_set("rom_author", "Sdojoin");
ini_set("rom_device", "Xperia Play");
ini_set("rom_date", "Apr, 25 2012");

splash(
#-- Duration 2000ms / 2 seconds
2000,

#-- <AROMA Resource Dir>/sample.png
"sample"
);

anisplash(
#-- Number of Loop
4,

#-- Frame 1 [ Image, duration in millisecond ]. <AROMA Resource Dir>/splash/a[1..6].png
"splash/a1", 500,
"splash/a2", 30,
"splash/a3", 30,
"splash/a4", 30,
"splash/a5", 30,
"splash/a6", 30
);

selectbox(
#-- Title
"<~themes.title>",

#-- Sub Title
"<~themes.desc>",

#-- Icon: <AROMA Resource Dir>/icons/personalize.png or <ThemeDir>/icon.personalize.png
"@personalize",

#-- Will be saved in /tmp/aroma/theme.prop
"theme.prop",

#---------------------------------[ Selectbox Without Group ]----------------------------------#
# TITLE | SUBTITLE | Initial Value #
#------------------+-----------------------------------------------------------+---------------#

"Generic", "Unthemed AROMA Installer", 1, #-- selected.0 = 1
"MIUI Theme", "MIUI Theme by mickey-r & amarullz", 0, #-- selected.0 = 2
"ICS Theme", "Ice Cream Sandwitch by DemonWav & amarullz", 0, #-- selected.0 = 3
"MIUI 4 Theme", "MIUI 4/ICS Theme by amarullz & Lennox", 0, #-- selected.0 = 4
"Sense Theme", "HTC Sense Theme by amarullz", 0 #-- selected.0 = 5

#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
);

if prop("theme.prop","selected.0")=="2" then
theme("miui");
endif;

if prop("theme.prop","selected.0")=="3" then
theme("ics");
endif;

if prop("theme.prop","selected.0")=="4" then
theme("miui4");
endif;

if prop("theme.prop","selected.0")=="5" then
theme("sense");
endif;

textbox(
#-- Title
"G2JBMOD AROMA INSTALLER",

#-- Subtitle
"V0.1",

#-- Icon
"@update",

#-- Arg 4
resread("changelog.txt")
);

menubox(
#-- Title
"Main Menu",

#-- Sub Title
"Please Select",

#-- Icon
"@apps",

#-- Will be saved in /tmp/aroma/type.prop
"type.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#
"Default", " ", "@install", #-- selected = 1
"Desired", " ", " " #-- selected = 2
);

if (prop("type.prop","selected")=="1") then
writetmpfile(
#-- Prop file will write to /tmp/aroma/mods.prop
"mods.prop",

#-- Default Values
"selected.1=1\n" #-- Default G2JBMOD Main = StockBattMod
);
endif;

if (prop("type.prop","selected")=="2") then

#-- Show Mod selections
selectbox(
#-- Title
"Desired",

#-- Sub Title
"Choose Desired Mod",

#-- Icon: <AROMA Resource Dir>/icons/default.png or <ThemeDir>/icon.default.png
"@default",

#-- Will be saved in /tmp/aroma/mods.prop
"mods.prop",

#-----------------------------------[ Selectbox With Groups ]----------------------------------#
# TITLE | SUBTITLE | Initial Value #
#------------------+-----------------------------------------------------------+---------------#

"G2JBMOD Main", "", 2,3, #-- Group 1. key = "selected.1"
"StockBattMod", "Stock with NxtLocscreen", 1, #-- selected.1 = 1

"G2JBMOD 1", "", 2,3, #-- Group 2. key = "selected.2"
"BlueCircleBattMod", "G2JB FullMod", 0, #-- selected.2 = 1

"G2JBMOD 2", "", 2,3, #-- Group 3. key = "selected.3"
"GaugeBattMod", "G2JB FullMod", 0, #-- selected.3 = 1

"G2JBMOD 3", "", 2,3, #-- Group 4. key = "selected.4"
"SkullBattMod", "G2JB FullMod", 0 #-- selected.4 = 1

#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
);
endif;

ini_set("text_next", "Install Now");

viewbox(
#-- Title
"Ready to Install",

#-- Text
"The wizard is ready to begin installation.\n\n"+
"Press <b>Install Now</b> to begin the installation.\n\n"+
"If you want to review or change any of your installation settings, press <b>Back</b>. Press Menu Key -> Quit Installation to exit the wizard.",

#-- Icon
"@install"
);

ini_set("text_next", "Next >");

setvar("retstatus",
install(
#-- Title
"Installing",

#-- Installation Process message
"<b>"+ini_get("rom_name")+"</b> are being installed.\n\n"+
"Please wait while installation wizard installs <b>"+ini_get("rom_name")+
"</b>. This may take several minutes.",

#-- Installation Icon
"@install",

#-- Installation Finish Message
"The installation wizard has successfully installed <b>"+ini_get("rom_name")+
"</b>. Press Next to continue."
)
);

ini_set("text_next", "Finish");

checkviewbox(
#-- Title
"Installation Completed",

#-- Text
"<#selectbg_g><b>Congratulation...</b></#>\n\n"+
"<b>"+ini_get("rom_name")+"</b> has been installed into your device.\n\n"+
"Installer Status: "+getvar("retstatus")+"\n\n",

#-- Icon
"@welcome",

#-- Checkbox Text
"Reboot your device now.",

#-- Initial Checkbox value ( 0=unchecked, 1=checked ) - (Optional, default:0)
"1",

#-- Save checked value in variable "reboot_it" (Optional)
"reboot_it"
);

if
getvar("reboot_it")=="1"
then
#
# reboot("onfinish"); - Reboot if anything finished
# reboot("now"); - Reboot Directly
# reboot("disable"); - If you set reboot("onfinish") before, use this command to revert it.
#
reboot("onfinish");
endif;

#---- FINISH

This is it. So did i get it right?? Or did i messed up everything??:banghead:

Edit; So...how is it looking??