var err = initInstall("Kiosk Style Browser", "kiosk", "v1.05"); 
logComment("initInstall: " + err);
alert("1" + err);

addFile("Kiosk Style Browser",
	"kiosk.jar",
	getFolder("Chrome"),
	"" );
alert("AAA2" + err);

registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome", "kiosk.jar"), "content/");
alert("CONTENT" + err);
registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome", "kiosk.jar"), "skin/");
alert("SKIN 1");
registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome", "kiosk.jar"), "skin/default/");
alert("SKIN 2");
registerChrome(LOCALE | DELAYED_CHROME, getFolder("Chrome", "kiosk.jar"), "locale/en-US/");
alert("LOCALE 1");


if (err==SUCCESS) {
   performInstall();
 }
 else
 {
   cancelInstall(err);
 }