Installation INSTALLATION
	DefaultDestPath = "C:\SdlSrv51";
	Languages = "01";
	DefaultLanguage = "01";
End

HelpText HID_PAGE_INSTPATH
	ID = "PAGE_INSTPATH";
	Text (01) = "Specify the directory in which to install StarSchedule Server. By default, this folder is named SdlSrv51. Many files will be stored in this folder, and additional subfolders will be created.";
End

HelpText HID_PAGE_REINSTALLATION
	ID = "PAGE_REINSTALLATION";
	Text (01) = "Modify Installation:\nHere you can delete installed components, or install further components to an existing installation.\n\nDeinstallation:\nAll files and folders created by the Setup program during installation will be deleted. Any files, folders, links, bookmarks, cache and storage files, etc. that you have created yourself will not be deleted.  All files required to run the Setup program are also not affected. After deinstallation, you can delete the  entire SdlSrv51 folder if you do not want to keep any of your files in this folder and related subfolders.\n\nNote: It is not guaranteed that all user-defined files will be available after a deinstallation. For example, if you have saved StarBasic macros in the general library, or have changed the default files for colors, gradients, lines, etc., this information may be lost.\n\nRepair Installation:\nThis option re-enters StarSchedule Server in your operating system registry. All (inadvertently) deleted program files will be attempted to be restored.";
End

HelpText HID_PAGE_UNINSTALL
	ID = "PAGE_UNINSTALL";
	Text (01) = "All files and folders created by the Setup program during installation will be deleted. Any files, folders, links, bookmarks, cache and storage files, etc. that you have created yourself will not be deleted.  All files required to run the Setup program are also not affected. After deinstallation, you can delete the  entire SdlSrv51 folder if you do not want to keep any of your files in this folder and related subfolders.\n\nNote: It is not guaranteed that all user-defined files will be available after a deinstallation. For example, if you have saved StarBasic macros in the general library, or have changed the default files for colors, gradients, lines, etc., this information may be lost.";
End

HelpText HID_PAGE_WELCOME
	ID = "PAGE_WELCOME";
	Text (01) = "Welcome to the StarSchedule Server Installation\n\nFor detailed installation instructions, please refer to your StarSchedule Server Setup Guide.\n\nIn the different dialogs of the setup program, you will find Help buttons for the respective part of the installation.";
End

HelpText HID_PAGE_WRONGSETUP
	ID = "PAGE_WRONGSETUP";
	Text (01) = "The StarSchedule Server Setup program has detected an existing installation.\n\nDo you have an old installation which has not been deinstalled with the Setup program? In this case, delete your old StarSchedule Server directory (you don't need to delete any documents located here). Then delete the Sversion.ini file in the Windows or OS2 directory, or under Solaris, the .sversionrc or sversion.prefs file. Then, restart the Setup program.";
End

Slide SL_SLIDE
	Order = 1;
	Bitmap = "schedule.bmp";
	Text (01) = "StarSchedule Server 5.1 - Plan Your Events In A Team!\n\nStarSchedule Server is the ideal extension to StarOffice: The Server enables StarSchedule to arrange and plan events throughout the network. StarSchedule Server automatically takes care of your events and notifies all participants in time via e-mail. The platform independent availability provides the optimum integration of StarSchedule Server into your existing IT environment.";
	TextWidth = 350;
	TextHeight = 250;
	FontSize = 14;
	BitmapPosX = 80;
	BitmapPosY = 100;
End

DataCarrier C_1
	Name = "StarSchedule Server 5.1";
	DiskNo = 1;
End

Directory DIR_STORE
	Styles = (CREATE);
	ParentID = PD_PROGDIR;
	DosName = "store";
End

Directory DIR_TEMPLATE
	ParentID = PD_PROGDIR;
	DosName = "template";
End

Directory DIR_SERVICE
	ParentID = PD_PROGDIR;
	DosName = "service";
End

Directory DIR_KINO
	ParentID = PD_PROGDIR;
	DosName = "kino";
End

Directory DIR_HTTPHOME
	ParentID = PD_PROGDIR;
	DosName = "HTTPHome";
End

Directory DIR_CONFIG
	ParentID = PD_PROGDIR;
	DosName = "config";
End

Custom CUSTOM_ASV
	FileName = "asv517tx.dll";
	Styles = (EXEC_INST_BEFORE,EXEC_INST_AFTER,EXEC_DEINST_BEFORE,STANDALONE);
End

File FILE_SCHEDULE_BMP
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
	Styles = (SETUPZIP,PACKED);
	Dir = DIR_SERVICE;
	Size = 336340;
	Name = "schedule.bmp";
End

File FILE_README
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
	Dir = PREDEFINED_PROGDIR;
	Size = 3068;
	Name = "readme.txt";
End

File FILE_LICENSE
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
	Dir = PREDEFINED_PROGDIR;
	Size = 13802;
	Name = "license.txt";
End

File FILE_HTTPHOME_ZIP
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
	Styles = (ARCHIVE);
	Dir = DIR_HTTPHOME;
	Size = 1412223;
	Name = "httphome.zip";
	ArchiveSize = 2000000;
	ArchiveFiles = 50;
End

File FILE_TPLSSS_ZIP
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
	Styles = (ARCHIVE);
	Dir = DIR_TEMPLATE;
	Size (01) = 9508;
	Name (01) = "01tplsss.zip";
	ArchiveSize = 40000;
	ArchiveFiles = 7;
End

File FILE_DEFCAL_TXT
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
	Dir = DIR_CONFIG;
	PackedName = "defcal_txt.zip";
	Size = 136241;
	Name = "defcal.txt";
End

File FILE_PROPTOOL_SCR
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
	Dir = DIR_SERVICE;
	PackedName = "proptool_scr.zip";
	Size = 692;
	Name = "proptool.scr";
End

File FILE_INSTALLS_SCR
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
	Dir = DIR_SERVICE;
	Size = 2470;
	Name = "installs.scr";
End

File FILE_loader
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	PackedName = "setup.exe";
	Dir = DIR_SERVICE;
	Size = 186393;
	Name = "loader.exe";
End

File FILE_SDAEMON_SH
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	PackedName = "sdaemon_cmd.zip";
	Size = 4645;
	Name = "sdaemon.cmd";
End

File FILE_SETUP_ICO
	Styles = (PACKED);
	PackedName = "setup_ico.zip";
	Size = 6750;
	Name = "setup.ico";
	Dir = DIR_SERVICE;
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
End

File FILE_SDADMIN_ICO
	Styles = (PACKED);
	PackedName = "sdadmin_ico.zip";
	Size = 2758;
	Name = "sdadmin.ico";
	Dir = DIR_SERVICE;
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
End

File FILE_CPPRTST
	Styles = (SETUPZIP,PACKED);
	Size = 377496;
	Name = "cpprtst.dll";
	Dir = DIR_SERVICE;
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
End

File FILE_set
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 310156;
	Name = "set517tx.dll";
End

File FILE_setres
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
	Dir = DIR_SERVICE;
	Size (01) = 250280;
	Name (01) = "set51701.res";
End

File FILE_svt
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 1425866;
	Name = "svt517tx.dll";
End

File FILE_svtres
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
	Dir = DIR_SERVICE;
	Size (01) = 93396;
	Name (01) = "svt51701.res";
End

File FILE_vcl
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 1015848;
	Name = "vcl517tx.dll";
End

File FILE_vclres
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
	Dir = DIR_SERVICE;
	Size (01) = 18048;
	Name (01) = "vcl51701.res";
End

File FILE_asv
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 12313;
	Name = "asv517tx.dll";
End

File FILE_asvres
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
	Dir = DIR_SERVICE;
	Size (01) = 3228;
	Name (01) = "asv51701.res";
End

File FILE_j
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 313561;
	Name = "j517tx_g.dll";
End

File FILE_cnt
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 1281585;
	Name = "cnt517tx.dll";
End

File FILE_tk
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 249891;
	Name = "tk517tx.dll";
End

File FILE_tl
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 347382;
	Name = "tl517tx.dll";
End

File FILE_uno
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 216876;
	Name = "uno517tx.dll";
End

File FILE_usr
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 1304102;
	Name = "usr517tx.dll";
End

File FILE_vos
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 83678;
	Name = "vos517tx.dll";
End

File FILE_one
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 701994;
	Name = "one517tx.dll";
End

File FILE_osl
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 46103;
	Name = "osl517tx.dll";
End

File FILE_sb
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 340765;
	Name = "sb517tx.dll";
End

File FILE_so
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 320580;
	Name = "so517tx.dll";
End

File FILE_sot
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 68135;
	Name = "sot517tx.dll";
End

File FILE_rtl
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 23063;
	Name = "rtl517tx.dll";
End

File FILE_setup
	Styles = (SETUPZIP,PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	Size = 102444;
	Name = "setup.exe";
End

File FILE_ni
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	PackedName = "ni517tx_dll.zip";
	Size = 294952;
	Name = "ni517tx.dll";
End

File FILE_ssc
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	PackedName = "ssc517tx_dll.zip";
	Size = 571447;
	Name = "ssc517tx.dll";
End

File FILE_ssw
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	PackedName = "ssw517tx_dll.zip";
	Size = 56349;
	Name = "ssw517tx.dll";
End

File FILE_reg
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	PackedName = "reg517tx_dll.zip";
	Size = 52339;
	Name = "reg517tx.dll";
End

File FILE_stu
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	PackedName = "stu517tx_dll.zip";
	Size = 1696311;
	Name = "stu517tx.dll";
End

File FILE_trc
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	PackedName = "trc517tx_dll.zip";
	Size = 6685;
	Name = "trc517tx.dll";
End

File FILE_ssres
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
	Dir = DIR_SERVICE;
	PackedName (01) = "ss51701_res.zip";
	Size (01) = 112580;
	Name (01) = "ss51701.res";
End

File FILE_sdares
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
	Dir = DIR_SERVICE;
	PackedName (01) = "sda51701_res.zip";
	Size (01) = 2532;
	Name (01) = "sda51701.res";
End

File FILE_sfxres
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 644;
	Dir = DIR_SERVICE;
	PackedName (01) = "sfx51701_res.zip";
	Size (01) = 612644;
	Name (01) = "sfx51701.res";
End

File FILE_sdaemon
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	PackedName = "sdaemon_exe.zip";
	Size = 76311;
	Name = "sdaemon.exe";
End

File FILE_sadmind
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	PackedName = "sadmind_exe.zip";
	Size = 43520;
	Name = "sadmind.exe";
End

File FILE_shttpd
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	PackedName = "shttpd_exe.zip";
	Size = 18432;
	Name = "shttpd.exe";
End

File FILE_sschdled
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	PackedName = "sschdled_exe.zip";
	Size = 16384;
	Name = "sschdled.exe";
End

File FILE_ssserver
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	PackedName = "ssserver_exe.zip";
	Size = 30720;
	Name = "ssserver.exe";
End

File FILE_proptool
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	PackedName = "proptool_exe.zip";
	Size = 6656;
	Name = "proptool.exe";
End

File FILE_sdadmin
	Styles = (PACKED);
	Date = "22021999";
	Time = "0510";
	Carrier = C_1;
	UnixRights = 755;
	Dir = DIR_SERVICE;
	PackedName = "sdadmin_exe.zip";
	Size = 15872;
	Name = "sdadmin.exe";
End

Procedure PR_patch_httphome
	ProcName = "patch_httphome";
	Styles = (STANDALONE,INSTALL,AFTER_INST);
	Code = {Sub patch_httphome

	Dim strOSVersion As String
			
	strOSVersion = GetOSVersion

	If strOSVersion = "W95" or strOSVersion = "W98" or left(strOSVersion,3) = "OS2" Then

		strAdminDir = DirEntry(GetSetupenv.DestPath,"httphome","sun","sadmin")
		strSourceFile = DirEntry(strAdminDir , "index_nouser.html")
        strDestFile = DirEntry(strAdminDir , "index.html")
		FileCopy( strSourceFile , strDestFile )
		strSourceFile = DirEntry(strAdminDir , "administrator_login_nouser.html")
		strDestFile = DirEntry(strAdminDir , "administrator_login.html")
		FileCopy( strSourceFile , strDestFile )                          
    Endif

End Sub};
End

Module ROOT
	Name = "StarSchedule Server 5.1";
	Files = (FILE_SDAEMON_SH,FILE_SDADMIN_ICO,FILE_SETUP_ICO,FILE_CPPRTST,FILE_sdaemon,FILE_SCHEDULE_BMP,FILE_README,FILE_LICENSE,FILE_HTTPHOME_ZIP,FILE_TPLSSS_ZIP,FILE_DEFCAL_TXT,FILE_PROPTOOL_SCR,FILE_INSTALLS_SCR,FILE_set,FILE_setres,FILE_svt,FILE_svtres,FILE_vcl,FILE_vclres,FILE_asv,FILE_asvres,FILE_ssres,FILE_sdares,FILE_sfxres,FILE_j,FILE_tk,FILE_tl,FILE_uno,FILE_usr,FILE_ni,FILE_vos,FILE_cnt,FILE_one,FILE_osl,FILE_sb,FILE_so,FILE_sot,FILE_ssc,FILE_ssw,FILE_reg,FILE_rtl,FILE_stu,FILE_trc,FILE_setup,FILE_sadmind,FILE_shttpd,FILE_sschdled,FILE_ssserver,FILE_proptool,FILE_sdadmin);
	Customs = (CUSTOM_ASV);
	Procedures = (PR_patch_httphome);
End

Profile P_SVERSIONRC
	ModuleID = ROOT;
	Name = "sversion.ini";
	Dir = PREDEFINED_OSDIR;
End

Profile P_STARDIV
	ModuleID = ROOT;
	Name = "stardiv.ini";
	Dir = DIR_SERVICE;
End

Os2Class OS2_Class
	Name = "WPProgram";
	ModuleID = ROOT;
End

Folder FLD_schedule
	Name (01) = "StarSchedule Server 5.1";
	Os2ID = "<SS_FOLDER>";
End

FolderItem FLI_setup
	Name (01) = "Setup";
	ModuleID = ROOT;
	FolderID = FLD_schedule;
	FileID = FILE_setup;
	Os2ID = "<SS_SETUP>";
	Os2ClassID = OS2_Class;
End

FolderItem FLI_sdadmin
	Name (01) = "Service Manager";
	ModuleID = ROOT;
	FolderID = FLD_schedule;
	FileID = FILE_sdadmin;
	Os2ID = "<SS_SDADMIN>";
	Os2ClassID = OS2_Class;
End

ProfileItem PI_SERVERVERSION
	ProfileID = P_SVERSIONRC;
	ModuleID = ROOT;
	Section = "Versions";
	Order = 1;
	Styles = (INSTALL_INFO);
	Key = "StarOffice 5.1 Schedule Server";
	Value = "<workpath>";
End

ProfileItem PI_LANGUAGE
	ProfileID = P_STARDIV;
	ModuleID = ROOT;
	Section = "User";
	Order = 1;
	Key = "Language";
	Value (01) = "1033";
	Value (03) = "2070";
	Value (31) = "1043";
	Value (33) = "1036";
	Value (34) = "1034";
	Value (39) = "1040";
	Value (46) = "1053";
	Value (49) = "1031";
	Value (88) = "1028";
End

