[Desire HD Android Development] strawmetal:
# Calibration values for the touchscreen. Remove the # to uncomment the line.
# ---------------------------------------------------------------------------
# Calibration data for HTC Desire Z / Vision / G2
#calibrate_matrix("49095.00","-4095.00","95152.50","-6035.00","86020.00","-564760.00","91469.25","0");

# Calibration data for HTC Desire HD
#calibrate_matrix("112545.00","4590.00","-3237015.00","2635.00","112455.00","579940.50","275471.75","0");

# Calibration Tool. Remove # to enable calibration by default
# -----------------------------------------------------------
#calibtool("");

# Variables that can be used throughout the script.
# -------------------------------------------------
ini_set("pack_name",	"Flashaholic Hugo");
ini_set("pack_version",	"1.1");
ini_set("pack_author",	"strawmetal");
ini_set("pack_date",	"July, 18 2012");

# Splash screen "3000" = "3" secs , "andro_splash"=filename of splash png
# -----------------------------------------------------------------------
splash(4000, "andro_splash");

# Font size declaration. "0" = Small Font. "1" = Big Font.
# --------------------------------------------------------
fontresload( "0", "ttf/Roboto-Regular.ttf", "12" );
fontresload( "1", "ttf/Roboto-Regular.ttf", "18" );

# Theme used for aroma interface
# ------------------------------
theme("sense");

# First page info
# ---------------
viewbox("Welcome","You are about to install <b>Flashaholic Hugo</b> by <b>strawmetal</b>.\n\n"+
"Proceed with the installation only if you understand what you are doing..\n\n"+
" Version: \t<b>1.1</b>\n"+
" Built: \t\t<b>July 18, 2012</b>\n"+
"\n\n"+
"Press Next to Continue the Installation",

"@welcome"
);

setvar("installer_title",
"You are about to install <b>Flashaholic Hugo 1.1</b> "+
"with the following apps:");

# ----------------------------
# App choices using checkbox.
# ----------------------------
checkbox(
"Gapps",
"Choose the version to install to your device",
"@customize",

"gapps.prop",

#------------------------------------[ Checkbox Without Groups ]-------------------------------#
# TITLE | SUBTITLE | Initial Value #
#------------------+-----------------------------------------------------------+---------------#

"Gapps",	"Necessary Google components on AOSP, AOKP Roms",	2, #-- Group 1. key = "item.1"
"Gingerbread",	"Android 2.3",	0, #-- item.1.1
"Ice Cream Sandwich",	"Android 4.0",	0 #-- item.1.2
);

appendvar("installer_title", "\n\n<b>Gapps </b>");
appendvar("installer_title", iif(prop("gapps.prop", "item.1.1")=="1", "- Gingerbread ", ""));
appendvar("installer_title", iif(prop("gapps.prop", "item.1.2")=="1", "- Ice Cream Sandwich ", ""));

# ----------------------------
# App choices using checkbox.
# ----------------------------
checkbox(
"Google Apps",
"Choose the apps to install to your device",
"@personalize",

"google_app_choices.prop",

#------------------------------------[ Checkbox Without Groups ]-------------------------------#
# TITLE | SUBTITLE | Initial Value #
#------------------+-----------------------------------------------------------+---------------#

"Google Apps",	"",	2, #-- Group 1. key = "item.1"
"ADK 2012",	"",	0, #-- item.1.1
"Analytics",	"",	0, #-- item.1.2
"Androidify",	"",	0, #-- item.1.3
"Blogger",	"",	0, #-- item.1.4
"Chrome",	"Android 4.0 and above",	0, #-- item.1.5
"Currents",	"",	0, #-- item.1.6
"Device App Policy",	"",	0, #-- item.1.7
"Drive",	"",	0, #-- item.1.8
"Finance",	"",	0, #-- item.1.9
"Gesture Search",	"",	0, #-- item.1.10
"Gmail",	"Android 4.0 and above",	0, #-- item.1.11
"Goggles",	"",	0, #-- item.1.12
"Google+",	"",	0,	#-- item.1.13
"Intersection Explorer","",	0,	#-- item.1.14
"Listen",	"",	0,	#-- item.1.15
"Maps",	"",	0,	#-- item.1.16
"My Tracks",	"",	0,	#-- item.1.17
"Reader",	"",	0,	#-- item.1.18
"Schemer",	"",	0,	#-- item.1.19
"Street View",	"",	0,	#-- item.1.20
"Translate",	"",	0,	#-- item.1.21
"Youtube",	"Android 4.0 and above",	0,	#-- item.1.22
"Youtube Remote",	"",	0	#-- item.1.23
);

appendvar("installer_title", "\n\n<b>Google Apps </b>");
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.1")=="1", "- ADK 2012 ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.2")=="1", "- Analytics ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.3")=="1", "- Androidify ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.4")=="1", "- Blogger ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.5")=="1", "- Chrome ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.6")=="1", "- Currents ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.7")=="1", "- Device App Policy ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.8")=="1", "- Drive ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.9")=="1", "- Finance ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.10")=="1", "- Gesture Search ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.11")=="1", "- Gmail ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.12")=="1", "- Goggles ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.13")=="1", "- Google+ ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.14")=="1", "- Intersection Explorer ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.15")=="1", "- Listen ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.16")=="1", "- Maps ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.17")=="1", "- My Tracks ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.18")=="1", "- Reader ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.19")=="1", "- Schemer ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.20")=="1", "- Street View ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.21")=="1", "- Translate ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.22")=="1", "- Youtube ", ""));
appendvar("installer_title", iif(prop("google_app_choices.prop", "item.1.23")=="1", "- Youtube Remote ", ""));

checkbox(
"Utilities",
"Choose the apps to install to your device",
"@personalize",

"utilities_app_choices.prop",

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

"Essentials",	"",	2, #-- Group 1. key = "item.1"
"Adobe Flash Player",	"",	1, #-- item.1.1
"Adobe Reader",	"",	1, #-- item.1.2
"Adaway",	"",	1, #-- item.1.3
"File Manager",	"",	2, #-- Group 2. key = "item.1"
"Astro File Manager",	"",	0, #-- item.2.1
"ES File Manager",	"",	1, #-- item.2.2
"Solid Explorer Beta",	"",	0, #-- item.2.3
"Media",	"",	2, #-- Group 3. key = "item.1"
"QuickPic",	"",	1, #-- item.3.1
"Mobo Player",	"",	0,	#-- item.3.2
"PowerAmp - Trial",	"",	0,	#-- item.3.3
"Messaging",	"",	2, #-- Group 4. key = "item.1"
"Go SMS Pro",	"",	0, #-- item.4.1
"Handcent SMS",	"",	0,	#-- item.4.2
"Whatsapp",	"",	1,	#-- item.4.3
"Backup Tools",	"",	2, #-- Group 5. key = "item.1"
"Titanium Backup",	"",	0,	#-- item.5.1
"ROM Manager",	"",	0,	#-- item.5.2
"Super Backup",	"",	0,	#-- item.5.3
"SMS Backup & Restore",	"",	0,	#-- item.5.4
"Tools",	"",	2, #-- Group 6. key = "item.1"
"Airdroid",	"",	0, #-- item.6.1
"Faster GPS",	"",	0, #-- item.6.2
"GPS Status",	"",	0, #-- item.6.3
"Barcode Scanner",	"",	0, #-- item.6.4
"Busybox Installer",	"",	0,	#-- item.6.5
"ROM Toolbox",	"",	0,	#-- item.6.6
"Script Manager",	"",	0	#-- item.6.7
);

appendvar("installer_title", "\n\n<b>Utilities </b>");
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.1.1")=="1", "- Adobe Flash Player ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.1.2")=="1", "- Adobe Reader ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.1.3")=="1", "- Adaway ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.2.1")=="1", "- Astro File Manager ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.2.2")=="1", "- ES File Manager ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.2.3")=="1", "- Solid Explorer Beta ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.3.1")=="1", "- QuickPic ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.3.2")=="1", "- Mobo Player ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.3.3")=="1", "- PowerAmp ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.4.1")=="1", "- Go SMS Pro ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.4.2")=="1", "- Handcent SMS ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.4.3")=="1", "- Whatsapp ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.5.1")=="1", "- Titanium Backup ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.5.2")=="1", "- ROM Manager ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.5.3")=="1", "- Super Backup ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.5.4")=="1", "- SMS Backup & Restore ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.6.1")=="1", "- Airdroid ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.6.2")=="1", "- Faster GPS ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.6.3")=="1", "- GPS Status ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.6.4")=="1", "- Barcode Scanner ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.6.5")=="1", "- Busybox Installer ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.6.6")=="1", "- ROM Toolbox ", ""));
appendvar("installer_title", iif(prop("utilities_app_choices.prop", "item.6.7")=="1", "- Script Manager ", ""));

writetmpfile("gapps.prop", readtmpfile("gapps.prop"));
writetmpfile("google_app_choices.prop", readtmpfile("google_app_choices.prop"));
writetmpfile("utilities_app_choices.prop", readtmpfile("utilities_app_choices.prop"));

# Confirmation
# ------------
if confirm(
"Installing",
getvar("installer_title")+"\n\n"+
"Start installation?",
"@confirm"
)=="no" then
back(1);
endif;

# Installer
# ---------
install(
"<b>Flashaholic Hugo 1.1</b>",
"This may take a minute.. Please wait until finished",
"@install"
);

Try with this. Read the first few lines carefully.