; LOC - Localizer: do not change anything to the left of an equals sign.
; These are variable names which might be hard-coded in stfsetup.exe.
; Also, do not change anything in square brackets.

[Source Media Descriptions]
1 = "Disquette 1", TAGFILE = "COMMDLG.DLX"
2 = "Disquette 2", TAGFILE = "OLECLI.DLX"
3 = "Disquette 3", TAGFILE = "WINNTMSG.MDX"

[Standard Setup Files]
 1 , CTL3D.DLX, RENAME=CTL3D.DLL, DEST=$(SystemPath), VERSION="1,1,3,0"
 1 , MSABC110.DLX, RENAME=MSABC110.DLL, DEST=$(SystemPath), VERSION="1,11,0,10"
 1 , MSAES110.DLX, RENAME=MSAES110.DLL, DEST=$(SystemPath), VERSION="1,10,0,0"
 1 , MSAIN110.DLX, RENAME=MSAIN110.DLL, DEST=$(AppPath), VERSION="1,10,0,0"
 1 , MSAJT110.DLX, RENAME=MSAJT110.DLL, DEST=$(SystemPath), VERSION="1,10,0,10"
 1 , MSAJU110.DLX, RENAME=MSAJU110.DLL, DEST=$(AppPath), VERSION="1,10,0,10"
 1 , README.WRI, RENAME=README.WRI, DEST=$(AppPath)
 1 , WINNTMSG.INI, RENAME=WINNTMSG.INI, DEST=$(WindowsPath)
 1 , WINNTMSG.ICO, RENAME=WINNTMSG.ICO, DEST=$(AppPath)
 2 , README.ICO, RENAME=README.ICO, DEST=$(AppPath)
 2 , UTILITY.MDX, RENAME=UTILITY.MDA, DEST=$(AppPath)
 2 , MSARN110.EXX, RENAME=MSARN110.EXE, DEST=$(AppPath), VERSION="1,10,0,0"
 2 , GLOSSON.HLX, RENAME=GLOSSON.HLP, DEST=$(AppPath)
 2 , WINNTMSG.HLX, RENAME=WINNTMSG.HLP, DEST=$(AppPath)
 3 , WINNTMSG.MDX, RENAME=WINNTMSG.MDB, DEST=$(AppPath)

[Network Setup Files]
 1 , CTL3D.DLX, !DECOMPRESS
 1 , MSABC110.DLX, !DECOMPRESS
 1 , MSAES110.DLX, !DECOMPRESS
 1 , MSAIN110.DLX, !DECOMPRESS
 1 , MSAJT110.DLX, !DECOMPRESS
 1 , MSAJU110.DLX, !DECOMPRESS
 1 , README.WRI, !DECOMPRESS
 1 , WINNTMSG.INI, !DECOMPRESS
 1 , WINNTMSG.ICO, !DECOMPRESS
 2 , README.ICO, !DECOMPRESS
 2 , UTILITY.MDX, !DECOMPRESS
 2 , MSARN110.EXX, !DECOMPRESS
 2 , GLOSSON.HLX, !DECOMPRESS
 2 , WINNTMSG.HLX, !DECOMPRESS
 3 , WINNTMSG.MDX, !DECOMPRESS

[Multiuser Files]
 1 , CTL3D.DLX, RENAME=CTL3D.DLL, DEST=$(SystemPath), VERSION="1,1,3,0"
 1 , MSABC110.DLX, RENAME=MSABC110.DLL, DEST=$(SystemPath), VERSION="1,11,0,10"
 1 , MSAES110.DLX, RENAME=MSAES110.DLL, DEST=$(SystemPath), VERSION="1,10,0,0"
 1 , MSAIN110.DLX, RENAME=MSAIN110.DLL, DEST=$(AppPath), VERSION="1,10,0,0"
 1 , MSAJT110.DLX, RENAME=MSAJT110.DLL, DEST=$(SystemPath), VERSION="1,10,0,10"
 1 , MSAJU110.DLX, RENAME=MSAJU110.DLL, DEST=$(AppPath), VERSION="1,10,0,10"
 1 , README.WRI, RENAME=README.WRI, DEST=$(AppPath)
 1 , WINNTMSG.INI, RENAME=WINNTMSG.INI, DEST=$(WindowsPath)
 1 , WINNTMSG.ICO, RENAME=WINNTMSG.ICO, DEST=$(AppPath)
 2 , README.ICO, RENAME=README.ICO, DEST=$(AppPath)
 2 , UTILITY.MDX, RENAME=UTILITY.MDA, DEST=$(AppPath)
 2 , MSARN110.EXX, RENAME=MSARN110.EXE, DEST=$(AppPath), VERSION="1,10,0,0"
 2 , GLOSSON.HLX, RENAME=GLOSSON.HLP, DEST=$(AppPath)
 2 , WINNTMSG.HLX, RENAME=WINNTMSG.HLP, DEST=$(AppPath)
 3 , WINNTMSG.MDX, RENAME=WINNTMSG.MDB, DEST=$(AppPath)

[Net INI]
 1 , WINNTMSG.INI, RENAME=WINNTMSG.INI, DEST=$(WindowsPath)

; LOC - Change app descriptions if appropriate
[Program Manager]
CreateProgManGroup $(ProgGroupDesc), "WINNTMSG"
CreateProgManItem $(ProgGroupDesc), "Messages de Microsoft Windows NT", $(AppPath)"MSARN110.EXE WINNTMSG.MDB /Ini WINNTMSG.INI", $(AppPath)"WINNTMSG.ICO"
CreateProgManItem $(ProgGroupDesc), "Compression de la base de données", $(AppPath)"MSARN110.EXE WINNTMSG.MDB /Ini WINNTMSG.INI /COMPACT", $(AppPath)"WINNTMSG.ICO"
CreateProgManItem $(ProgGroupDesc), "Lisez-moi", $(AppPath)"README.WRI", $(AppPath)"README.ICO"
Exit

[INI File]
Exit

; LOC - Change NameOfApp and ProgGroupDesc if appropriate
[Custom]
NameOfApp="Messages de Microsoft Windows NT"
InstallGraph="NO"
InstallChangeWorkGroup="YES"
Serial#=""
DefaultPath=":\\WINNTMSG\\"
ProgGroupDesc="Messages de Microsoft Windows NT"
IniFileName="WINNTMSG.INI"

;======================================================================
;DON'T MODIFY BELOW THIS LINE
;======================================================================

[Release Date]
STF_DATE = "1993-07-07"

[Admin Title]
	Title = "Installation serveur de "$(NameOfApp)

[Title]
	Title = "Installation de "$(NameOfApp)

[Network Title]
	Title = "Installation sur station de travail de "$(NameOfApp)


[Ole Reg]
	OLEText = "Application(s) OLE: installation..."
	RegFilePath = $(WindowsPath)"MSACCESS.REG"			;don't localize
	RegCommand = $(WindowsPath)"REGEDIT.EXE /S /U "$(RegFilePath)   ;don't localize

; LOC - Just the last line of [shared files] need localization
[Shared Files]
	SharedFiles = { "COMMDLG.DLL", "DDEML.DLL", "OLECLI.DLL", "OLESVR.DLL", "SHELL.DLL", "VER.DLL" }
	Versions = { $(VERCOMMDLG), $(VERDDEML), $(VEROLECLI), $(VEROLESVR), $(VERSHELL), $(VERVER) }
	SFCopySymbols = { "COPYCOMMDLG", "COPYDDEML", "COPYOLECLI", "COPYOLESVR", "COPYSHELL", "COPYVER" }
	STF_MB_TYPE = 1
	STF_MB_DEF = 1
	STF_MB_ICON = 3
	STF_MB_TEXT = "Ce fichier est utilisé par une autre application; Install "$(NameOfApp)" ne peut pas le mettre à jour. Quittez Windows et exécutez Install "$(NameOfApp)" à partir de la ligne de commande DOS."

[Path Dialog]
	GetPathMessBoxTitle = $(NameOfApp)" : spécification du répertoire"
	GetPathMessBoxText  = "La chaîne de caractères saisie est incomplète ou n'est pas un chemin d'accès DOS valide."

[WorkGroup Path Dialog]
	GetPathMessBoxTitle = $(NameOfApp)" : spécification du groupe de travail"
	GetPathMessBoxText  = "La chaîne de caractères saisie est incomplète ou n'est pas un chemin d'accès DOS valide."
	GetSysMdaErr = "Impossible de trouver SYSTEM.MDA dans le chemin d'accès spécifié."

[Quit Dialog]
	QuitText1  = "L'installation n'est pas terminée. Si vous quittez maintenant, Microsoft Access ne sera pas correctement installé. Pour pouvoir lancer "$(NameOfApp)", vous devrez exécuter Install de nouveau."

[CheckSpace Dialog]
	ModelessText = "Install de "$(NameOfApp)" va maintenant contrôler:\n"+
	"  - l'espace disque disponible.\n"+
	"  - la présence de copies de fichiers de\n    "$(NameOfApp)".\n"+
	"  - l'espace requis pour les options de\n    "$(NameOfApp)"."

[CopyList Dialog]
	ModelessText = "Veuillez patienter pendant qu'Install détermine quels fichiers et disques seront copiés..."

[Select MultiUser]
	STF_MB_TYPE = 3
	STF_MB_TITLE = "Inscription dans un groupe de travail existant?"
	STF_MB_ICON = 4
	STF_MB_DEF = 3
	STF_MB_TEXT = $(NameOfApp)" en mode Workgroup vous permet d'accéder aux bases de données créées par d'autres utilisateurs.\n\n"+
				  "Souhaitez-vous rejoindre un groupe de travail?"

[Wrong Mda Spec]
	STF_MB_TYPE = 3
	STF_MB_TITLE = "Installation multi-utilisateur"
	STF_MB_ICON = 2
	STF_MB_DEF = 1
	STF_MB_TEXT = "Le chemin d'accès saisi n'existe pas. Essayez-en un autre."
	
[Default]
	ContBut    = "&Continuer"
	ExitBut    = "&Quitter"
	HelpBut    = "&Aide"
	BackBut    = "&Précédent"
	NoLocalHD = "Aucun disque dur local n'a été détecté sur votre système. Une installation mono-utilisateur nécessite un disque dur local. Arrêt d'Install!"
	SYSMDAFILE = "SYSTEM.MDA"
	SYSINI = "SYSTEM.INI"
	BOOTSECT = "boot"  ;refers to section in system.ini
	NETDRIVER = "NETWORK.DRV"
	NUMLOCKS = "500"
	WINLANG  = "Langage inconnu"
	CIRLANG  = "Français"                   ; LOC -localizer, need to edit for diff. lang.
	LANGUAGE = "040C"                       ; LOC - windows language code, need to be localized
	ADMININTALL = "INSTALL\\"   ;directory name
	SetupExeCmd = "stfsetup /w"
	CODEPAGE = "04E4"
	SER_LOC = "33-077-0110"
	AppExeName = "msarn110"

[Installation]
	; Text of the dialog appearing while files are being copied
	WhileInstallText="C'est maintenant le moment idéal pour remplir "+
	"votre carte d'inscription. Vous bénéficierez "+
	"alors des services Microsoft:\n"+
	"  · un support technique téléphonique.\n  · un abonnement à Horizons, la revue"+
	"\n    des utilisateurs.\n  · une information prioritaire sur les offres"+
	"\n    de mise à jour dès la sortie"+
	"\n    d'une nouvelle version."
	ContinueButtonDesc = "&Continuer"
	ExitButtonDesc = "&Quitter l'installation de "$(NameOfApp)
	BackButtonDesc = "&Spécifier des options d'installation différentes"
;Localizer, do not localize the following strings.
	szAdditionalNeeded = "AdditionalNeeded"
	szTotalFree = "TotalFree"
	szTotalNeeded = "TotalNeeded"
	szFreePerDisk = "FreePerDisk"
	szClusterPerDisk = "ClusterPerDisk"
	szTroublePairs = "TroublePairs"
	szNeededPerDisk = "NeededPerDisk"
	szExtraCosts = "ExtraCosts"

[No Space Cir]
	PromptAdditional = "Un espace disque supplémentaire de "$(ADDCIR)"Ko est nécessaire sur le lecteur "$(NameOfApp)" ("$(CIRDRIVE)"). Voulez-vous continuer?"

[No Space Win]
	PromptAdditional = "Un espace disque supplémentaire de "$(ADDWIN)"Ko est nécessaire sur le lecteur ("$(WINDRIVE)") de Windows. Voulez-vous continuer?"

[No Space Both]
	PromptAdditional = "Un espace disque supplémentaire de "$(ADDCIR)"Ko sur le lecteur ("$(CIRDRIVE)") de "$(NameOfApp)" et de "$(ADDWIN)"Ko sur le lecteur ("$(WINDRIVE)") de Windows est nécessaire. Voulez-vous continuer?"
 
[Registration Failed]
	STF_MB_TEXT = "L'installation OLE a échoué! Contrôlez l'espace disque disponible et réinstallez l'option OLE avant d'exécuter "$(NameOfApp)"."

[Setup Aborted]
	STF_MB_TEXT = "Install a été interrompu pendant l'installation. "$(NameOfApp)" n'a pas été installé correctement! Exécutez Install de nouveau avant de lancer "$(NameOfApp)"."

[INI Failed]
	STF_MB_TEXT  = "Impossible de mettre à jour un ou plusieurs fichiers INI! Contrôlez l'espace disque disponible et réinstallez "$(NameOfApp)" avant de l'exécuter."

[Init Options Failed]
	STF_MB_TEXT  = "Windows est incapable de communiquer son répertoire à Install. La déclaration du PATH est incomplète, incorrecte, ou requiert une lettre de lecteur. Modifiez le chemin d'accès et redémarrez Windows avant d'exécuter Install."

[UNC]	
	STF_MB_TEXT = "Install de "$(NameOfApp)" ne peut être exécuté à partir d'un chemin d'accès non DOS. Le chemin d'accès doit comprendre une lettre de lecteur valide. Connectez-vous au serveur si vous souhaitez installer l'application à partir d'un réseau."      

[Setup Failed]
	STF_MB_TEXT = "L'installation a échoué. S'il vous reste un espace disque suffisant, reportez-vous au Guide de l'utilisateur."

[Detect Failed]
	STF_MB_TEXT = "La partie détection a échoué! L'installation de "$(NameOfApp)" est interrompue."

[FILES Warning Dialog]
	STF_MB_TEXT = "Install a détecté que le paramètre FILES du fichier config.sys est inférieur à 50.\r\n"+
				  "Vous pourrez éprouver des difficultés à exécuter des applications DOS lorsque vous exécutez "$(NameOfApp)".  \r\n"+
				  "Augmentez le paramètre FILES jusqu'à 50."

[Wrong Commdlg]
	STF_MB_TEXT = "Install doit copier une version différente de COMMDLG.DLL. Cette version est utilisée par plusieurs applications pour fournir des boîtes de dialogue communes. \r\n"+
				  "La version livrée avec "$(NameOfApp)" est en "$(CIRLANG)" tandis que votre version est en "$(WINLANG)". \r\n"+
				  "Si vous mettez à jour COMMDLG.DLL, toutes les applications utilisant des boîtes de dialogue communes, ainsi que "$(NameOfApp)", afficheront celles en "$(CIRLANG)".\r\n"+
				  "Les versions en cours de COMMDLG.DLL dans toutes les langues sont disponibles au Support technique Microsoft. \r\n\r\n"+
				  "Souhaitez-vous installer la version de COMMDLG.DLL en "$(CIRLANG)"? La version originale sera enregistrée sous COMMDLG.BAK.\r\n" 
				  
	STF_MB_TITLE = $(Title)
	STF_MB_TYPE = 3
	STF_MB_DEF = 1
	STF_MB_ICON = 4

[Wrong Commdlg Language]
	STF_MB_TEXT = "Install a détecté une version de COMMDLG.DLL dans une langue différente. \r\n"+
				  "Certaines informations de "$(NameOfApp)" apparaîtront en "$(WINLANG)"."
	STF_MB_TITLE = $(Title)
	STF_MB_TYPE = 1
	STF_MB_DEF = 1
	STF_MB_ICON = 5

[Wrong Help]
	STF_MB_TEXT = "Install doit installer une nouvelle version de WINHELP.EXE.  La version livrée avec "$(NameOfApp)" est en "$(CIRLANG)" tandis que votre version est en "$(WINLANG)".\r\n"+
				  "Si vous mettez à jour, toutes les applications utilisant WINHELP.EXE utiliseront la nouvelle version qui est en "$(CIRLANG)". \r\n"+
						  "Si vous ne mettez pas à jour le fichier, toutes les applications utilisant WINHELP.EXE utiliseront la version en "$(WINLANG)". \r\n\r\n"+
				  "Souhaitez-vous installer la version de WINHELP.EXE en "$(CIRLANG)"?\r\n"

	STF_MB_TITLE = $(Title)
	STF_MB_TYPE = 3
	STF_MB_DEF = 1
	STF_MB_ICON = 5

[Setup Successful]
	STF_MB_TITLE = $(Title)
	STF_MB_TYPE = 1
	STF_MB_DEF = 1
	STF_MB_ICON = 2
	STF_MB_TEXT = "Installation terminée!"

[Share Error]
	STF_MB_TEXT = "Une erreur s'est produite lors des modifications. Ajoutez manuellement l'utilitaire SHARE.EXE (avec au minimum "$(NUMLOCKS)" verrous)."
	STF_MB_TITLE = $(Title)
	STF_MB_TYPE = 1
	STF_MB_DEF = 1
	STF_MB_ICON = 3

[Share Success]
	STF_MB_TEXT = "Le fichier a été modifié avec succès."
	STF_MB_TITLE = $(Title)
	STF_MB_TYPE = 1
	STF_MB_DEF = 1
	STF_MB_ICON = 2

[Share Dialog]
	RadioText1 = "Vous avez installé SHARE.EXE dans votre fichier AUTOEXEC.BAT. "$(NameOfApp)" doit porter le nombre de verrous à 500. "$(NameOfApp)" ne fonctionnera pas sans cette modification. \r\n\n"+
				" La modification ne sera effective que lors du redémarrage de votre ordinateur."
	RBut1 = "&Modifier AUTOEXEC.BAT et enregistrer l'original sous AUTOEXEC.BAK"
	RBut2 = "Mo&difier une copie d'AUTOEXEC.BAT et l'enregistrer sous AUTOEXEC.ACC"
	RBut3 = "Ne &pas modifier AUTOEXEC.BAT"
	RadioDefault = 1;
	OptionsGreyed = {}
	ContinueButtonDesc = "&Continuer"
	ExitButtonDesc = "&Quitter"

[Config Share Dialog]
	RadioText1 = "Vous avez installé SHARE.EXE dans votre fichier CONFIG.SYS. "$(NameOfApp)" doit porter le nombre de verrous à 500. "$(NameOfApp)" ne fonctionnera pas sans cette modification. \r\n\n"+
				" La modification ne sera effective que lors du redémarrage de votre ordinateur."
	RBut1 = "&Modifier CONFIG.SYS et enregistrer l'original sous CONFIG.BAK"
	RBut2 = "Mo&difier une copie de CONFIG.SYS et l'enregistrer sous CONFIG.ACC"
	RBut3 = "Ne &pas modifier CONFIG.SYS"
	RadioDefault = 1;
	OptionsGreyed = {}
	ContinueButtonDesc = "&Continuer"
	ExitButtonDesc = "&Quitter"

[Add Share Dialog]
	RadioText1 = "SHARE.EXE permet à "$(NameOfApp)" d'accéder à des données enregistrées par dBase, Btrieve ou Paradox, et d'ouvrir plusieurs sessions de "$(NameOfApp)" sur votre ordinateur.\r\n"+
				 "Si vous ne l'installez pas, vous ne pourrez pas utiliser ces fonctionnalités.\r\n"
	RBut1 = "&Modifier AUTOEXEC.BAT et enregistrer l'original sous AUTOEXEC.BAK"
	RBut2 = "Mo&difier une copie d'AUTOEXEC.BAT et l'enregistrer sous AUTOEXEC.ACC"
	RBut3 = "Ne &pas modifier AUTOEXEC.BAT"
	RadioDefault = 1;
	OptionsGreyed = {}
	ContinueButtonDesc = "&Continuer"
	ExitButtonDesc = "&Quitter"

[Admin Path Dialog]
	GetPathMessBoxTitle = "Installation de "$(NameOfApp)
	GetPathMessBoxText  = "La chaîne de caractères que vous avez saisie est incorrecte ou n'est pas un chemin d'accès complet."


[Admin CopyList Dialog]
	ModelessText = "Veuillez patienter pendant qu'Install détermine la destination de chaque fichier sur votre serveur..."
	ModelessBmp = "disks"  ; LOC - dont localize

[Copy Local]
	STF_MB_TEXT = $(NameOfApp)" peut être installé en utilisant la copie sur réseau ou en copiant tous les fichiers nécessaires sur votre disque dur.\n"+
				  "La copie des fichiers sur votre disque dur sera généralement plus rapide mais requiert plus d'espace disque. \n\n"+
				  "Souhaitez-vous copier "$(NameOfApp)" sur votre disque dur?"
	STF_MB_TITLE = $(Title)
	STF_MB_TYPE = 3
	STF_MB_DEF = 1
	STF_MB_ICON = 2
	
[In Use Error]
	STF_MB_TEXT = "Vous ne pouvez pas installer "$(NameOfApp)" pendant l'exécution d'une autre session de "$(NameOfApp)" à partir du même répertoire."
	STF_MB_TITLE = $(Title)
	STF_MB_TYPE = 1
	STF_MB_DEF = 1
	STF_MB_ICON = 3

[Older Dlls]
	QuitText1= "Il existe certaines dll plus anciennes dans votre répertoire Windows System. Si vous ne les remplacez pas, "$(NameOfApp)" ne fonctionnera pas. Remplacer?"
	
[Old Help]
	STF_MB_TEXT = "Vous utilisez une ancienne version de WINHELP.EXE. Si vous le mettez à jour, toutes les applications qui utilisent WINHELP.EXE"+
		"utiliseront la version en "$(CIRLANG)" et vous pourrez alors utiliser l'Aide et le Conseiller"+
		"Souhaitez-vous qu'Install le mette à jour?"
	STF_MB_TITLE = $(Title)
	STF_MB_TYPE = 3
	STF_MB_DEF = 1
	STF_MB_ICON = 5

[Reboot Err]
    STF_MB_TEXT = "Installation terminée. \r\n"+
				"Vous avez modifié la configuration de SHARE.EXE. Veuillez redémarrez votre ordinateur avant de lancer "$(NameOfApp)"." 
	STF_MB_TITLE = $(Title)
	STF_MB_TYPE = 1
	STF_MB_DEF = 1
	STF_MB_ICON = 2


[Default Copy Options]
	VERSHELL = "3,10,0,103"
	VEROLECLI = "1,10,0,0"
	VEROLESVR = "1,10,0,0"
	VERCOMMDLG = "3,10,0,103"
	VERDDEML = "3,10,0,103"
	VERVER = "3,10,0,103"

[Shared File Member]
	SharedFile = $($) 
	Version = *($(Versions), $(#))
	DestSym = *($(SFDestSymbols), $(#))
	CopySym = *($(SFCopySymbols), $(#))

[None]
	SmallFont = "Null File"

[8514]
	Font = "smallf.fon"
	FontDesc = "Small Fonts (8514/a res)"
	SmallFont = "8514 Font"

[VGA]
	Font = "smalle.fon"
	FontDesc = "Small Fonts (VGA res)"
	SmallFont = "VGA Font"

[EGA]
	Font = "smallb.fon"
	FontDesc = "Small Fonts (EGA res)"
	SmallFont = "EGA Font"

[Graph Reg]
	RegEntries =    "REGEDIT\r\n"+
					"HKEY_CLASSES_ROOT\\MSGraph = Microsoft Graph\r\n"+
					"HKEY_CLASSES_ROOT\\.gra = MSGraph\r\n"+
					"HKEY_CLASSES_ROOT\\MSGraph\\protocol\\StdFileEditing\\server = "$(GRAPHPATH)"GRAPH.EXE\r\n"+
					"HKEY_CLASSES_ROOT\\MSGraph\\protocol\\StdFileEditing\\SetDataFormats = Native,CF_TEXT\r\n"+
					"HKEY_CLASSES_ROOT\\MSGraph\\protocol\\StdFileEditing\\RequestDataFormats = Native,CF_METAFILEPICT\r\n"+
					"HKEY_CLASSES_ROOT\\MSGraph\\protocol\\StdExecute\\server = "$(GRAPHPATH)"GRAPH.EXE\r\n"

[Graph Version Files]
	FileName = "Graph.exe"
	Version = "3,0,2,0" 
	DestSym = $(GRAPHPATH)
	CopySym = $(COPYGRAPH)

[Regedit Version Files]
	FileName = "regedit.exe"
	Version = "3,10,0,103" 
	DestSym = $(WindowsPath)
	CopySym = $(COPYREGEDIT)

[Winhelp File]
	FileName = "Winhelp.exe"
	Version = "3,10,0,425" 
	DestSym = $(WindowsPath)
	CopySym = $(COPYWINHLP)

[Commdlg File]
	FileName = "Commdlg.dll"
	Version = $(VERCOMMDLG)
	DestSym = $(SystemPath)
	CopySym = $(COPYCOMMDLG)

[System Paths]
 	SystemPath =  "" ? DETCMD.DLL GetWindowsSysDir
 	WindowsPath     =  "" ? DETCMD.DLL GetWindowsDir
	HARDDRIVELIST   = "" ? DETCMD.DLL GetAllValidLocalHardDrives
	NETDRIVELIST = "" ? DETCMD.DLL GetAllValidNetworkDrives

[Destination Path]
	DIREXISTS = "" ? DETCMD.DLL DoesDirExist $(DETPATH)

[Environment Variable]
	FILESCOUNT = "" ? DETCMD.DLL GetConfigNumFiles

[Check Netdrive Installed]
	FNetDriver = "" ? DETCMD.DLL GetIniSectionKeyString $(SYSINI) $(BOOTSECT) $(NETDRIVE)

[Admin Path List]
	AdminPathList = { $(ACCPATH), $(ADMINGRAPHPATH), $(ADMINMDAPATH) }

[SavedPaths]
	CIRPATH = ""
	CIRPATH2 = ""
	GRAPHPATH2 = ""
	SYSMDAPATH2 = ""


[Shell Commands]
	ui start LanManNetWork
	read-syms	"Release Date"
	read-syms	"Custom"
	read-syms 	"Default"
	detect          "System Paths"
	set WINDOWSPATH = $(WindowsPath)
	set SYSTEMPATH = $(SystemPath)
	ui start UNC
	ifstr $(ANSWER) == "YES"
		read-syms "UNC"
		goto "ExitError"
	endif
	ui start "WinVer"

	ifstr $(STF_MODE) == "ADMIN"
		read-syms "Admin Title"
		set-title       $(Title)        
		set COPYREGEDIT = "COPY"
		set	DECOMP = "DECOMPRESS"
		set STF_DECOMPRESS = "DECOMPRESS"
		set REN = "RENAME"
		init-system-net
		set SmallFont = "Admin Font"
	else
		ifstr $(STF_MODE) == "NETWORK"
			read-syms "Network Title"
			set-title       $(Title)
			read-syms "SavedPaths" 
			set AppPath = $(CIRPATH2)       
		else
			read-syms "Title"
			set-title       $(Title)        
		endif
		set COPYREGEDIT = "COPY"
		set	DECOMP = "DECOMPRESS"
		set STF_DECOMPRESS = "DECOMPRESS"
		set STF_OVERWRITE = "OLDER"
		set REN = "RENAME"
		init-system
		ui start video
		read-syms $(ANSWER)
	endif
	set CIRPATH = $(DefaultPath)
	set COPYGRAPH = $(InstallGraph)
	read-syms       "Default Copy Options"


	ifstr $(STF_DETECT_OUTCOME) != "OKAY"
		read-syms "Detect Failed"
		goto ExitError
	endif

	set     HD = *($(HARDDRIVELIST), 1)
	ifstr $(STF_MODE) != "NETWORK"
		set     CIRPATH2 = $(HD)$(DefaultPath)
		set 	CIRLOCALPATH = $(CIRPATH2) 
	else
		set		CIRLOCALPATH = $(HD)$(DefaultPath)
	endif

	set UserName = $(STF_CD_NAME)
	ifstr $(STF_MODE) == "ADMIN"
		goto "GetPath"
	else
		set GRAPHPATH = $(WindowsPath)"msapps\msgraph\"
	endif

DoInstallDLLs = +
		set DLLPATH = $(SystemPath)
		read-syms "Shared Files"
		ForListDo $(SharedFiles)
			read-syms "Shared File Member"
			ui start "InstallShared"
			ifstr $(ANSWER) == "YES"
				set STF_MB_TITLE = $($)
				ui start MessageBox
				exit
			endif
		EndForListDo

		ifcontains "NEW" in { $(COPYCOMMDLG), $(COPYDDEML), $(COPYOLECLI), $(COPYOLESVR), $(COPYSHELL), $(COPYVER) }
			set CPSYM = "NEW"
			Install "Shared Files Script"
		endif	
		
		ifcontains "COPY" in { $(COPYCOMMDLG), $(COPYDDEML), $(COPYOLECLI), $(COPYOLESVR), $(COPYSHELL), $(COPYVER) }
			read-syms "Older Dlls"
			ui start OldFile
			ifstr $(DLGEVENT) == "CONTINUE"
				ui pop 1
			else
				exit
			endif
		endif

		ifstr $(COPYCOMMDLG) == "!COPY"
			read-syms "Commdlg File"
			ui start "CheckLang"
			ifstr $(ANSWER) == "YES"
				read-syms "Wrong Commdlg"
				ui start MessageBox

				ifstr $(DLGEVENT) == "YES"
					ifstr $(INUSE) == "YES"
						set STF_MB_TITLE = "Commdlg.dll"
						read-syms "Shared Files"
						ui start MessageBox
						exit
					endif
					set COPYCOMMDLG = "COPY"
				endif
			endif
		endif
		set CPSYM = "COPY"
		Install "Shared Files Script"

	
		ifstr $(STF_MODE) == "NETWORK"
			read-syms "Copy Local"
			ui start MessageBox
			set LocalCopy = $(DLGEVENT)
			ifstr $(DLGEVENT) == "NO"
				set INIPATH = $(WindowsPath)
				set COPYPROG = "OFF"
			else
				set CIRPATH2 = $(HD)$(CIRDIR)
			endif

		endif

GetPath = +
	set CurrentDialog = "GetPath"
	ifstr $(STF_MODE) == "ADMIN"
		read-syms "Admin Path Dialog"
		ui start GetAdminPath

		ifstr $(DLGEVENT) == "CONTINUE"
			read-syms "Admin Path List"
			ForListDo $(AdminPathList)
				set DETPATH = $($)
				detect "Destination Path"
				ifstr $(STF_DETECT_OUTCOME) != "OKAY"
					read-syms "Detect Failed"
					goto ExitError
				else-ifstr $(DIREXISTS) != "YES"
					set CREATEPATH = $(DETPATH) 
					install "Create Dir"
					ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
						goto "GetPath"
					endif
				endif	
			EndForListDo
			ui pop 1
			set CIRPATH = $(ACCPATH)$(ADMININTALL)
			set CIRPATH2 = $(ACCPATH2)$(ADMININTALL)
			set  AppPath = $(ACCPATH)
			set  WindowsPath = $(ACCPATH)
			set  SystemPath = $(ACCPATH)
			set WHELPPATH = $(CIRPATH)
			set DLLPATH = $(CIRPATH)
			set GRAPHPATH = $(ADMINGRAPHPATH)
			set SYSMDAPATH = $(ADMINMDAPATH)
			goto CheckSizes

		else-ifstr $(DLGEVENT) == "EXIT"
			goto "quit"
		endif
	else
 		read-syms       "Path Dialog"
		set AccessExePath = $(CIRPATH)
		set AccessExePath2 = $(CIRPATH2)
		set EditTextIn = $(CIRLOCALPATH)
		ui  start  GetPath

		set  CIRPATH = $(EditPathOut)
		set  CIRPATH2 = $(EditTextOut)	
		set  SYSMDAPATH2 = $(EditTextOut)
		set  SYSMDAPATH = $(CIRPATH)
		set  WHELPPATH = $(WindowsPath)
		ifstr $(LocalCopy) != "NO"
			set  AppPath = $(CIRPATH)
		endif
		ifstr $(DLGEVENT) == "CONTINUE"
			set DETPATH = $(CIRPATH)
			detect "Destination Path"
			ifstr $(STF_DETECT_OUTCOME) != "OKAY"
				read-syms "Detect Failed"
				goto ExitError
			else-ifstr $(DIREXISTS) == "YES"
				ui pop 1
				goto CopyListSizes
			else
				ui pop 1
				goto "CreatePath"
			endif
		else-ifstr $(DLGEVENT) == "EXIT"
			goto "quit"
		endif
	endif

CreatePath = +
		set CREATEPATH = $(CIRPATH)
		install "Create Dir"
		ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
			goto "GetPath"
		endif

CopyListSizes = +
	ifstr $(STF_MODE) == "NETWORK"
		ifstr $(LocalCopy) == "NO"
			goto "InstallMultiUser"
		endif
	endif

	ui start CirInUse
	ifstr $(ANSWER) == "NO"
		read-syms "In Use Error"
		ui start MessageBox
		Exit
	endif
	read-syms "CheckSpace Dialog"
	set CurrentDialog = "CopyListSizes"
	ui start Modeless
	ui pop 1
	goto "CheckMultiUser"

quit = +
	read-syms "Quit Dialog"
	ui  start  QUIT
	ifstr $(DLGEVENT) == "BACK"
		ui   pop 1
		goto $(CurrentDialog)
	else-ifstr $(DLGEVENT) == "EXIT"
		exit
	endif

ExitError = +
	set STF_MB_TITLE = $(Title)
	set STF_MB_TYPE = 1
	set STF_MB_DEF = 1
	set STF_MB_ICON = 3
	ui start MessageBox
	exit

CheckMultiUser = +
	set SYSMDAPATH = $(CIRPATH)
	set SYSMDAPATH2 = $(CIRPATH2)
	ifstr $(InstallChangeWorkGroup) == "NO"
		goto "CheckSizes"
	endif

	ui start GetIniKeyString
	
	ifstr $(ANSWER) == "NO"
		goto "CheckSizes"
	endif

	
	set CurrentDialog = "CheckMultiUser"
	read-syms "Select MultiUser"
	ui start MessageBox
	ifstr $(DLGEVENT) == "NO"
		set SYSMDAPATH = $(CIRPATH)
		set SYSMDAPATH2 = $(CIRPATH2)
		goto "CheckSizes"
	endif

InstallMultiUser = +
	set MULTIUSER = "YES"
	set CurrentDialog = "InstallMultiUser"	
	set LastDialog = CheckMultiUser
 	read-syms "WorkGroup Path Dialog"

	ifstr $(STF_MODE) != "NETWORK"
		set EditTextIn = $(CIRPATH2)
	else
		ui start ConvertMdaPath
		ifstr $(ANSWER) == "YES"
			set EditTextIn = $(SYSMDAPATH2)
		else
			set EditTextIn = $(CIRLOCALPATH)
		endif
	endif
	
	ui start "GetWorkGrpPath"

 	ifstr $(DLGEVENT) == "BACK"
		set MULTIUSER = "NO"
		set SYSMDAPATH = $(CIRPATH)
		set SYSMDAPATH2 = $(CIRPATH2)
	else-ifstr $(DLGEVENT) == "EXIT"
		set MULTIUSER = "NO"
		set SYSMDAPATH = $(CIRPATH)
		set SYSMDAPATH2 = $(CIRPATH2)
		ifstr $(STF_MODE) != "NETWORK"
			ui pop 1
			goto $(LastDialog)
		endif
	else	
		set SYSMDAPATH = $(EditPathOut)
		set SYSMDAPATH2 = $(EditTextOut)  
		set DETPATH = $(SYSMDAPATH)
		detect "Destination Path"
		ifstr $(STF_DETECT_OUTCOME) != "OKAY"
			read-syms "Detect Failed"
			goto ExitError
		else-ifstr $(DIREXISTS) != "YES"
			ui pop 1
			goto "CreateWorkGrpPath"
		endif
	endif
	ui pop 1
	goto CheckSizes

CreateWorkGrpPath = +
	set CREATEPATH = $(SYSMDAPATH)
	install "Create Dir"
	ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
		goto "InstallMultiUser"
	endif 
	ifstr $(STF_MODE) == "NETWORK"
		goto "DoProgStuff"
	else
		goto "CheckSizes"
	endif

CheckSizes = +
	set CurrentDialog = "CheckSizes"
	ui start InitDrives
	read-syms "Installation"

	ifstr $(STF_MODE) == "ADMIN"
		read-syms "Admin CopyList Dialog"
	else
		read-syms "CopyList Dialog"
	endif

	ifstr $(STF_MODE) != "ADMIN"
		set REGGRAPH = $(COPYGRAPH)
		ifstr $(COPYGRAPH) == "YES" 
			read-syms "Regedit Version Files"
			ui start "InstallExisting"
			ifstr $(CopySym) == "OFF"
				set COPYREGEDIT = "!COPY"
			endif

			read-syms "Graph Version Files"
			ui start "InstallExisting"
			ifstr $(CopySym) == "OFF"
				set COPYGRAPH = "NO"
			endif
			ifstr $(CopySym) == "OLD"
				set COPYGRAPH = "NO"
			endif
		endif

		set COPYWINHLP = "OFF"
		read-syms "Winhelp File"
		ui start "InstallExisting"
		ifstr $(CopySym) == "ON"
			read-syms "Old Help"
			ui start MessageBox
			ifstr $(DLGEVENT) == "YES"
				set COPYWINHLP = "ON"
			endif
		else-ifstr $(CopySym) == "NEW"
			set COPYWINHLP  = "ON"
		else	
			ui start "CheckLang"
			ifstr $(ANSWER) == "YES"
				read-syms "Wrong Help"
				ui start MessageBox

				ifstr $(DLGEVENT) == "NO"
					set COPYWINHLP  = "OFF"
				else
					set COPYWINHLP  = "ON"
				endif
			endif
		endif

		ifstr $(STF_MODE) == "NETWORK"
			ifstr $(LocalCopy) == "NO"
				install "InstallLocalIni Script"
			endif
		endif

	endif

	set SYSDBPATH = $(CIRPATH)

	ui start Modeless       
	install "Copy List Script"
	ui pop 1

	ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
		read-syms "Setup Failed"
		goto ExitError
	else-ifstr $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
		read-syms "Setup Aborted"
		goto ExitError
	endif

	goto Space

Space = +
	ifstr $(STF_MODE) == "NETWORK"
		ifstr $(LocalCopy) == "NO"
			goto inst
		endif
	endif
	set CurrentDialog = Space
	ui start EnoughSpace

	ifstr $(ANSWER) == "BOTH"
		read-syms "No Space Both"
	else-ifstr $(ANSWER) == "WIN"
		read-syms "No Space Win"
	else-ifstr $(ANSWER) == "CIR"
		read-syms "No Space Cir"
	endif

	ifstr $(ANSWER) != "NO"
		ui start NoSpace
		ifstr $(DLGEVENT) == "BACK"
			install "Clear List Script"
			ui pop 1
			goto GetPath
		else-ifstr $(DLGEVENT) == "EXIT"
			goto quit
		endif
		ui pop 1
	endif
	goto inst

inst = +
	set CurrentDialog = inst

	ifstr $(STF_MODE) != "ADMIN"
		ifstr $(COPYWINHLP) == "ON"
			ui start HelpQ
		endif
	endif

	ifstr $(STF_MODE) == "ADMIN"
		ui start CreateDB
		ifstr $(ANSWER) == "NO"
			read-syms "Setup Failed"
			goto ExitError
		endif
	endif

	install "Install Script"
	
	ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
		read-syms "Setup Failed"
		goto ExitError
	else-ifstr $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
		read-syms "Setup Aborted"
		goto ExitError
	else-ifstr $(STF_MODE) != "ADMIN"
		ifstr $(STF_MODE) == "NETWORK"
			ifstr $(LocalCopy) == "NO"
				set REGGRAPH = "YES"
				ui start ConvertPath 
				set CIRPATH2 = $(AccessExePath2)
			endif
		endif

		ifstr $(MULTIUSER) != "YES"
			ui start CreateDB

			ifstr $(ANSWER) == "NO"
				read-syms "Setup Failed"
				goto ExitError
			endif
		endif

		install "Win Ini File"
		install "INI File"
		ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
			read-syms "INI Failed"
			goto ExitError
		else-ifstr $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
			read-syms "Setup Aborted"
			goto ExitError
		endif

		ifstr $(REGGRAPH) == "YES"
			read-syms "Ole Reg"
			ui start "OleApps"
			read-syms "Graph Reg"
			ui start "RegisterOleEntries"
			ifstr $(ANSWER) == "NO"
				ui pop 1
				read-syms "Registration Failed"
				goto "ExitError"
			endif
			ui pop 1
		endif
	endif

DoProgStuff = +
	ifstr $(STF_MODE) == "NETWORK"
		ifstr $(LocalCopy) == "NO"
			goto DoShareStuff
		endif
	endif
	ifstr $(STF_MODE) == "ADMIN"
		goto Done
	endif

DoShareStuff = +
 set CurrentDialog = DoShareStuff
  set MAKEBAK = "NO"
  set SHAREPATH = $(WINDOWSPATH)
  ui start VSHARERunning
  ifstr $(ANSWER) == "NO"
	ui start ConfigExist
	ifstr $(CONFIGEXIST) == "YES"
		read-syms "Config Share Dialog"
		ui start ValidConfig
	else
		set ANSWERCONFIG = "NOTEXIST"
	endif	
	ifstr $(ANSWERCONFIG) == "NO"
		ui start ShareDialog
		ifstr $(DLGEVENT) == "CONTINUE"
			ifstr $(ButtonChecked) == "1"
				set MAKEBAK = "YES"
			else-ifstr $(ButtonChecked) == "2"
				set MAKEBAK = "NO"
			else
				ui pop 1
				goto Done
			endif
			ui start ShareConfig
			ifstr $(ANSWER) == "NO"
				read-syms "Share Error" 
				ui start MessageBox
				set MAKEBAK = "NO"
			else
				read-syms "Share Success"
				ui start MessageBox
			endif
		else-ifstr $(DLGEVENT) == "EXIT"
			goto quit
		endif
		ui pop 1
	else-ifstr $(ANSWERCONFIG) == "NOTEXIST"
		ifstr $(AUTOEXIST) == "NO"
			goto Done
		endif
		ui start ValidShare
		ifstr $(ANSWER) != "YES"
			ifstr $(ANSWER) == "NOTEXIST"
				read-syms "Add Share Dialog"
			else
				read-syms "Share Dialog"
			endif
			ui start ShareDialog
			ifstr $(DLGEVENT) == "CONTINUE"
				ifstr $(ButtonChecked) == "1"
					set MAKEBAK = "YES"
				else-ifstr $(ButtonChecked) == "2"
					set MAKEBAK = "NO"
				else
					ui pop 1
					goto Done
				endif
				ui start Share
				ifstr $(ANSWER) == "COPY"
					install "Autoexec Files Script"
					ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
						read-syms "Setup Failed"
						goto ExitError
					else-ifstr $(STF_INSTALL_OUTCOME) != "STF_USERQUIT"
						read-syms "Share Success"
						ui start MessageBox
					endif
				else-ifstr $(ANSWER) == "NO"
					read-syms "Share Error" 
					set MAKEBAK = "NO"
					ui start MessageBox
				else
					read-syms "Share Success"
					ui start MessageBox
				endif
			else-ifstr $(DLGEVENT) == "EXIT"
				goto quit
			endif
			ui pop 1
		endif
	endif
	goto Done
   endif

Done = +
	ifstr $(STF_MODE) != "ADMIN"
		ifstr $(COPYPROG) == "ON"
			ui start ConfigExist
			ifstr $(CONFIGEXIST) == "YES"
				detect "Environment Variable"
				ifint $(FILESCOUNT) < "50"
					read-syms "FILES Warning Dialog"
					set STF_MB_TITLE = $(Title)
					set STF_MB_TYPE = 1
					set STF_MB_DEF = 1
					set STF_MB_ICON = 5
					ui start MessageBox
				endif
			endif
		endif
		install "Program Manager"
		install "Work Group Icon"
		ifstr $(MAKEBAK) != "NO"
			read-syms "Reboot Err"
			ui start MessageBox
		endif

	else
		set CIRPATH2 = $(ACCPATH2)
		set GRAPHPATH2 = $(ADMINGRAPHPATH2)
		set SYSMDAPATH2 = $(ADMINMDAPATH2)
		Update-Inf "SavedPaths"
		Write-Inf $(CIRPATH)"stfsetup.in_"
	endif

CompleteInstall = +
		ifstr $(STF_MODE) != "ADMIN"
			ifstr $(RunExeName) != ""
				ui start LAUNCHEXE
			endif
		endif
		read-syms "Setup Successful"
		ui start MessageBox
		Exit

	

[Create Dir]
CreateDir $(CREATEPATH), V
Exit

[Clear List Script]
ClearCopyList
Exit

[InstallLocalIni Script]
	AddSectionFilesToCopyList    "Net Ini"   $(STF_SRCDIR)  $(WindowsPath)
Exit

[Shared Files Script]
ifstr $(COPYOLECLI) == $(CPSYM) 
	AddSectionFilesToCopyList    "OLECLI"   $(STF_SRCDIR)  $(DLLPATH)
endif
ifstr $(COPYOLESVR) == $(CPSYM) 
	AddSectionFilesToCopyList    "OLESVR"   $(STF_SRCDIR)  $(DLLPATH)
endif
ifstr $(COPYDDEML) == $(CPSYM) 
	AddSectionFilesToCopyList    "DDEML"   $(STF_SRCDIR)  $(DLLPATH)
endif
ifstr $(COPYCOMMDLG) == $(CPSYM) 
	AddSectionFilesToCopyList    "COMMDLG"   $(STF_SRCDIR)  $(DLLPATH)
endif
ifstr $(COPYSHELL) == $(CPSYM) 
	AddSectionFilesToCopyList    "SHELL"   $(STF_SRCDIR)  $(DLLPATH)
endif
ifstr $(COPYVER) == $(CPSYM) 
	AddSectionFilesToCopyList    "VER"   $(STF_SRCDIR)  $(DLLPATH)
endif
ifcontains $(CPSYM)  in { $(COPYCOMMDLG), $(COPYDDEML), $(COPYOLECLI), $(COPYOLESVR), $(COPYSHELL), $(COPYVER) }
	CopyFilesInCopyList
endif
Exit

[Copy List Script]
SetupGetCopyListCost $(szFreePerDisk) $(szClusterPerDisk) $(szTotalFree)

ifstr $(STF_MODE) == "ADMIN"
	AddSectionFilesToCopyList    "Multiuser Files"   $(STF_SRCDIR)  $(ACCPATH)
	AddSectionFilesToCopyList    "Network Setup Files"   $(STF_SRCDIR)  $(CIRPATH)
	AddSectionFilesToCopyList    "Setup Must Files"   $(STF_SRCDIR)  $(CIRPATH)
	ifstr $(InstallGraph) == "YES"
		AddSectionFilesToCopyList    "Graph Files"   $(STF_SRCDIR)  $(GRAPHPATH)
		AddSectionFilesToCopyList    "Admin Graph Files"   $(STF_SRCDIR)  $(CIRPATH)
	endif
	AddSectionFilesToCopyList    "Ole Registration Files"    $(STF_SRCDIR)  $(CIRPATH)
else
	ifstr $(LocalCopy) != "NO"
		AddSectionFilesToCopyList    "Standard Setup Files"   $(STF_SRCDIR)  $(CIRPATH)
	endif

	ifstr $(COPYREGEDIT) == "COPY"
		AddSectionFilesToCopyList    "Ole Registration Files"    $(STF_SRCDIR)  $(WINDOWSPATH)
	endif

	ifstr $(COPYGRAPH) == "YES"
		AddSectionFilesToCopyList    "Graph Files"     $(STF_SRCDIR)  $(GRAPHPATH)
	endif

	ifstr $(InstallChangeWorkGroup) == "YES"
		AddSectionFilesToCopyList    "Workgrp Files"     $(STF_SRCDIR)  $(CIRPATH)
	endif

	ifstr $(COPYWINHLP) == "ON"
		AddSectionFilesToCopyList    "Winhelp Files"     $(STF_SRCDIR)  $(WHELPPATH)
	endif
endif

GetCopyListCost $(szAdditionalNeeded) $(szTotalFree) $(szTotalNeeded) $(szFreePerDisk) $(szClusterPerDisk) $(szTroublePairs) $(szNeededPerDisk) $(szExtraCosts)
Exit

[Install Script]
CopyFilesInCopyList
Exit

[Win Ini File]
	ifstr $(SmallFont) != "Null File"
		CreateIniKeyValue, "WIN.INI", "Fonts", "SmallFonts ("$(FontDesc)" res)", "SMALL"$(Font)".FON", O
	endif

	CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Options", "SystemDB", $(SYSMDAPATH2)$(SYSMDAFILE), O
	CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Options", "UtilityDB", $(CIRPATH2)"UTILITY.MDA", O
	CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Form Wizards", "Single-Column", "zwInitWizard, 1", O
	CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Form Wizards", "Tabular", "zwInitWizard, 2", O
	CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Form Wizards", "Graph", "zwInitWizard, 6", O
	CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Form Wizards", "Main/Subform", "zwInitWizard, 7", O
	CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Report Wizards", "Single-Column", "zwInitWizard, 3", O
	CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Report Wizards", "Groups/Totals", "zwInitWizard, 4", O
	CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Report Wizards", "Mailing Label", "zwInitWizard, 5", O

	ifstr $(InstallGraph) == "ON"
		RemoveIniKey, $(WindowsPath)"WIN.INI", "MSAPPS", "MSGRAPH"
		CreateIniKeyValue,  $(WindowsPath)"WIN.INI", "MSAPPS", "MSGRAPH", $(GRAPHPATH2)"GRAPH.EXE"
	endif

Exit

[Work Group Icon]
	ifstr $(InstallChangeWorkGroup) == "YES"
		CreateProgManItem $(ProgGroupDesc),  "Changement de groupe de travail",  $(CIRPATH)"stfsetup /w"
	endif
Exit	

[Autoexec Files Script]
ifstr $(STF_MODE) == "ADMIN"
	AddSectionFilesToCopyList    "Autoexec Files"     $(STF_SRCDIR)  $(CIRPATH)
else
	AddSectionFilesToCopyList    "Autoexec Files"     $(STF_SRCDIR)  $(WindowsPath)
endif	
CopyFilesInCopyList
Exit

[Ole Registration Files]
        2, regedit.exx, $(DECOMP), $(REN)=regedit.exe, $(COPYREGEDIT), DEST=$(WindowsPath)

[Graph Files]
        2, graph.exx, $(DECOMP), $(REN)=graph.exe, BACKUP="*", DEST=$(GRAPHPATH), OVERWRITE=NEVER

[Workgrp Files]
        1, stfsetup.ex_, $(DECOMP), $(REN)=stfsetup.exe, DEST=$(CIRPATH), OVERWRITE=ALWAYS
        1, workgrp.in_, $(DECOMP), $(REN)=stfsetup.inf, BACKUP="*", DEST=$(CIRPATH), OVERWRITE=ALWAYS
        1, detcmd.dl_, $(DECOMP), $(REN)=detcmd.dll, DEST=$(CIRPATH), OVERWRITE=ALWAYS
        1, setup.ini, $(DECOMP), DEST=$(CIRPATH), OVERWRITE=ALWAYS

[Setup Must Files]
        1, setup.exe, !DECOMPRESS
        1, stfsetup.ex_, !DECOMPRESS
        1, stfsetup.in_, !DECOMPRESS
        1, workgrp.in_, !DECOMPRESS
        1, setup.ini, !DECOMPRESS
        1, workgrp.in_, !DECOMPRESS
        1, detcmd.dl_, !DECOMPRESS
        1, commdlg.dl_, !DECOMPRESS
        1, ver.dl_, !DECOMPRESS
        1, smalle.fox, !DECOMPRESS
        1, smallb.fox, !DECOMPRESS
        1, smallf.fox, !DECOMPRESS
        2, winhelp.exx, !DECOMPRESS
        2, winhelp.hlx, !DECOMPRESS 
        1, ddeml.dlx, !DECOMPRESS
        2, olecli.dlx, !DECOMPRESS
        2, olesvr.dlx, !DECOMPRESS
        2, shell.dlx, !DECOMPRESS
        1, ver.dlx, !DECOMPRESS
        1, commdlg.dlx, !DECOMPRESS
        2, share.exx, !DECOMPRESS
	    2, regedit.exx, !DECOMPRESS

[Admin Graph Files]
	2, graph.exx, !DECOMPRESS
	
[VGA Font]
        1, smalle.fox, $(DECOMP), $(REN)=smalle.fon, DEST=$(WindowsPath), OVERWRITE=NEVER

[EGA Font]
        1, smallb.fox, $(DECOMP), $(REN)=smallb.fon, DEST=$(WindowsPath), OVERWRITE=NEVER

[8514 Font]
        1, smallf.fox, $(DECOMP), $(REN)=smallf.fon, DEST=$(WindowsPath), OVERWRITE=NEVER

[Winhelp Files]
        2, winhelp.exx, $(DECOMP), $(REN)=winhelp.exe, DEST=$(WindowsPath), BACKUP="*", OVERWRITE=ALWAYS
        2, winhelp.hlx, $(DECOMP), $(REN)=winhelp.hlp, DEST=$(WindowsPath), BACKUP="winhelp.old", OVERWRITE=ALWAYS

[Autoexec Files]
        2, share.exx, $(DECOMP), $(REN)=share.exe

[DDEML]
        1, ddeml.dlx, $(DECOMP), $(REN)=ddeml.dll, BACKUP="*", OVERWRITE=ALWAYS

[OLECLI]
        2, olecli.dlx, $(DECOMP), $(REN)=olecli.dll, BACKUP="*", OVERWRITE=ALWAYS

[OLESVR]
        2, olesvr.dlx, $(DECOMP), $(REN)=olesvr.dll, BACKUP="*", OVERWRITE=ALWAYS

[SHELL]
        2, shell.dlx, $(DECOMP), $(REN)=shell.dll, BACKUP="*", OVERWRITE=ALWAYS

[VER]
        1, ver.dlx, $(DECOMP), $(REN)=ver.dll, BACKUP="*", OVERWRITE=ALWAYS

[COMMDLG]
        1, commdlg.dlx, $(DECOMP), $(REN)=commdlg.dll, BACKUP="*", OVERWRITE=ALWAYS

