; THIS IS A VERY EARLY BETA VERSION OF SMOOTHSETUP, DO NOT MODIFY ANYTHING!!!


SetAppName("FinalAlert 2 Yuri's Revenge"); 		// Set application name
SetDeveloperName("Westwood Studios"); 	// developer name



SetWelcomeString("Welcome to the FinalAlert 2: Yuri's Revenge™ 1.01 Setup Program.","FinalAlert 2: Yuri's Revenge 1.01 setup");
SetWelcomeString2("After clicking on ""Next"", the program files will be copied. If you don´t want to continue setup, click on ""Cancel"".");
				
SetCaption("FinalAlert 2: Yuri's Revenge™ 1.01");
SetCaptionColor("50", "0", "0", "190", "0", "0");
SetCaptionSize("40");
SetCaptionPos("30", "10", "35", "15");

SetRedrawWait("2");
SetBackground("60","0","0","255","0","0");   // SetBackground(R1, G1, B1, R2, G2, B2);
// SetBackground("228","227","10","0","0","228");
// SetBackground("214","213","30","0","0","214");
// SetBackground("200","190","45","0","0","200");
// SetBackground("188","170","55","0","0","200");
// SetBackground("175","150","65","0","0","200");
// SetBackground("165","130","75","0","0","200");
// SetBackground("155","110","85","8","0","190");
// SetBackground("138","090","100","22","0","170");
// SetBackground("125","070","120","45","0","150");
// SetBackground("112","050","140","60","0","130");
// SetBackground("100","030","150","75","0","110");
// SetBackground("80","010","160","115","0","90");
// SetBackground("60","08","170","145","0","70");
// SetBackground("40","05","180","175","0","50");
// SetBackground("20","02","200","205","0","30");
// SetBackground("0","00","220","235","0","10");



// Different sections are important if your product is not that little
CreateSection("PROGRAM", "1", "1", "FinalAlert 2: Yuri's Revenge™ Files");

// cabinets not yet supported
// AddFile([SourceFile], [DestinationFile], Section, shared_mode, Disk, isSplit, isLastPart, isCabinet,...);
AddFile("[SP]\FinalAlert2YR.exe", "[DP]\FinalAlert2YR.exe",  "PROGRAM",   "0",        "1",   "0",		"1",		"0", "1","FinalAlert 2 Yuri's Revenge");
AddFile("[SP]\*.ini", "[DP]\",  "PROGRAM",   "0",        "1",   "0",		"1",		"0", "0","");
AddFile("[SP]\*.dll", "[DP]\",  "PROGRAM",   "0",        "1",   "0",		"1",		"0", "0","");
AddFile("[SP]\tips.*", "[DP]\",  "PROGRAM",   "0",        "1",   "0",		"1",		"0", "0","");
//AddFile("[SP]\FSunLib.dll", "[DP]\",  "PROGRAM",   "0",        "1",   "0",		"1",		"0", "0","");
AddFile("[SP]\readme.txt", "[DP]\readme.txt",  "PROGRAM",   "0",        "1",   "0",		"1",		"0", "1","Readme");
AddFile("[SP]\Help\index.htm", "[DP]\Help\index.htm",  "PROGRAM",   "0",        "1",   "0",		"1",		"0", "1","Manual");
AddFile("[SP]\Help\content\*.*", "[DP]\Help\content\",  "PROGRAM",   "0",        "1",   "0",		"1",		"0", "0","");
AddFile("[SP]\Help\content\pics\*.*", "[DP]\Help\content\pics\\",  "PROGRAM",   "0",        "1",   "0",		"1",		"0", "0","");
AddFile("[SP]\Scripts\*.*", "[DP]\Scripts\",  "PROGRAM",   "0",        "1",   "0",		"1",		"0", "0","");
AddFile("[SP]\smuninstall.exe", "[DP]\smuninstall.exe",  "PROGRAM",   "0",        "1",   "0",		"1",		"0", "1","Uninstall");
AddFile("[SP]\marble.mix", "[DP]\marble.mix",  "PROGRAM",   "0",        "1",   "0",		"1",		"0", "0","");

ShowWelcome();

ShowDest();

ShowProgramGroup();

// ok, now we are ready to install 
// be careful: this function does not only copy files, but does create
// registry entries, start menu etc and uninstall information, too!
// The only functions which should be called after ShowCopy() are that ones
// which don´t change installation info, eg. which are for information
ShowCopy();


ShowMessage("The installation finished successfully! Click on Start->Programs->FinalAlert 2: Yuri's Revenge to start FinalAlert 2(tm)!", "Finished", "", "NOW"); 
