home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MasterClips - The Art of Business
/
MasterClipsBusiness.iso
/
brssetup.mst
< prev
next >
Wrap
Text File
|
1993-02-28
|
26KB
|
401 lines
'**************************************************************************
'* MSSetup Toolkit PixFolio
'**************************************************************************
'$DEFINE DEBUG ''Define for script development/debugging
'$INCLUDE 'setupapi.inc'
'$INCLUDE 'msdetect.inc'
'$INCLUDE 'mscuistf.inc'
''Dialog ID's
CONST WELCOME = 100
CONST ASKQUIT = 200
CONST DESTPATH = 300
CONST EXITFAILURE = 400
CONST EXITQUIT = 600
CONST EXITSUCCESS = 700
CONST OPTIONS = 800
CONST APPHELP = 900
CONST BADPATH = 6400
CONST CDGETNAMEORG = 7500
CONST MODELESS = 5000
CONST QUITWIN = 6500
''Bitmap ID
CONST LOGO = 1
GLOBAL DEST$ ''Default destination directory.
GLOBAL OPTCUR$ ''Option selection from option dialog.
GLOBAL CUIDLL$ ''Custom user interface DLL
GLOBAL szTempDir$ ''Working directory
DECLARE SUB Install
DECLARE FUNCTION MakePath (szDir$, szFile$) AS STRING
INIT:
CUIDLL$ = "mscuistf.dll" ''Custom user interface dll
HELPPROC$ = "FHelpDlgProc" ''Help dialog procedure
SetBitmap CUIDLL$, LOGO
SetTitle "The Browser Setup"
szTempDir$ = GetSymbolValue("STF_CWDDIR")
szInf$ = GetSymbolValue("STF_SRCINFPATH")
IF szInf$ = "" THEN
szInf$ = GetSymbolValue("STF_CWDDIR") + "BRSSETUP.INF"
END IF
ReadInfFile szInf$
DEST$ = "C:\BROWSER"
'$IFDEF DEBUG
i% = SetSizeCheckMode(scmOnIgnore) '' could use scmOff; def = scmOnFatal
WinDrive$ = MID$(GetWindowsDir, 1, 1)
IF IsDriveValid(WinDrive$) = 0 THEN
i% = DoMsgBox("Windows drive ('"+WinDrive$+"') is not a valid drive.", "DEBUG", MB_TASKMODAL+MB_ICONHAND+MB_OK)
GOTO QUIT
END IF
'$ENDIF ''DEBUG
WELCOME:
sz$ = UIStartDlg(CUIDLL$, WELCOME, "FInfoDlgProc", APPHELP, HELPPROC$)
IF sz$ = "CONTINUE" THEN
UIPop 1
ELSE
GOSUB ASKQUIT
GOTO WELCOME
END IF
GETPATH:
SetSymbolValue "EditTextIn", DEST$
SetSymbolValue "EditFocus", "END"
GETPATHL1:
sz$ = UIStartDlg(CUIDLL$, DESTPATH, "FEditDlgProc", APPHELP, HELPPROC$)
DEST$ = GetSymbolValue("EditTextOut")
IF sz$ = "CONTINUE" THEN
IF IsDirWritable(DEST$) = 0 THEN
GOSUB BADPATH
GOTO GETPATHL1
END IF
UIPop 1
ELSEIF sz$ = "REACTIVATE" THEN
GOTO GETPATHL1
ELSEIF sz$ = "BACK" THEN
UIPop 1
GOTO WELCOME
ELSE
GOSUB ASKQUIT
GOTO GETPATH
END IF
SetSymbolValue "SERIAL", "0000000"
SetSymbolValue "OWNER", "Not Registered"
IF DoesFileExist(MakePath(DEST$, "BROWSER.EXE"), femReadWrite) = 1 THEN
l& = GetStringTable(DEST$)
END IF
SERIAL$ = GetSymbolValue("SERIAL")
OWNER$ = GetSymbolValue("OWNER")
Install
'* i% = DoMsgBox(SERIAL$, "Serial Number", MB_OK)
IF ValidateReg(SERIAL$) = 1 THEN
GOTO UPDATEIT
END IF
GETSERIAL:
sz$ = UIStartDlg(CUIDLL$, CDGETNAMEORG, "FNameOrgDlgProc", APPHELP, HELPPROC$)
DEST$ = GetSymbolValue("EditTextOut")
IF sz$ = "CONTINUE" THEN
UIPop 1
ELSEIF sz$ = "CANCEL" THEN
UIPop 1
ELSE
GOSUB ASKQUIT
GOTO GETSERIAL
END IF
SERIAL$ = GetSymbolValue("SERIAL")
OWNER$ = GetSymbolValue("OWNER")
UPDATEIT:
IF ValidateReg(SERIAL$) = 1 THEN
l& = PutStringTable(DEST$)
END IF
'* Install
QUITWIN:
ii% = RestartListEmpty()
IF ii% = 0 THEN
sz$ = UIStartDlg(CUIDLL$, QUITWIN, "FQuitWinDlgProc", 0, "")
IF sz$ = "CONTINUE" THEN
UIPop 1
ELSEIF sz$ = "REACTIVATE" THEN
GOTO QUITWIN
ELSE
GOSUB ASKQUIT
GOTO QUITWIN
END IF
ij% = ExitExecRestart()
END IF
QUIT:
ON ERROR GOTO ERRQUIT
IF ERR = 0 THEN
dlg% = EXITSUCCESS
ELSEIF ERR = STFQUIT THEN
dlg% = EXITQUIT
ELSE
dlg% = EXITFAILURE
END IF
QUITL1:
sz$ = UIStartDlg(CUIDLL$, dlg%, "FInfo0DlgProc", 0, "")
IF sz$ = "REACTIVATE" THEN
GOTO QUITL1
END IF
UIPop 1
END
ERRQUIT:
i% = DoMsgBox("Setup sources were corrupted, call (800) 292-2547!", "Setup Message", MB_OK+MB_TASKMODAL+MB_ICONHAND)
END
BADPATH:
sz$ = UIStartDlg(CUIDLL$, BADPATH, "FInfo0DlgProc", 0, "")
IF sz$ = "REACTIVATE" THEN
GOTO BADPATH
END IF
UIPop 1
RETURN
ASKQUIT:
sz$ = UIStartDlg(CUIDLL$, ASKQUIT, "FQuitDlgProc", 0, "")
IF sz$ = "EXIT" THEN
UIPopAll
ERROR STFQUIT
ELSEIF sz$ = "REACTIVATE" THEN
GOTO ASKQUIT
ELSE
UIPop 1
END IF
RETURN
'**
'** Purpose:
'** Builds the copy list and performs all installation operations.
'** Arguments:
'** none.
'** Returns:
'** none.
'*************************************************************************
SUB Install STATIC
lTicks& = 20
SrcDir$ = GetSymbolValue("STF_SRCDIR")
CreateDir DEST$, cmoNone
SysDir$ = GetWindowsSysDir()
ClearBillboardList
AddToBillboardList CUIDLL$, MODELESS, "FModelessDlgProc", lTicks&
OpenLogFile MakePath(DEST$, "LOGFILE.OUT"), 0
WriteToLogFile ""
WriteToLogFile " User chose as destination directory: '" + DEST$ + "'"
WriteToLogFile ""
WriteToLogFile "May have had to create the directory: " + DEST$
WriteToLogFile ""
SetRestartDir(szTempDir)
AddSectionFilesToCopyList "Remove List", SrcDir$, DEST$
AddSectionFilesToCopyList "The Browser Files", SrcDir$, DEST$
AddSectionFilesToCopyList "System Files", SrcDir$, SysDir$
' COMMDLG$ = GetSectionKeyFileName ("COMMDLG", "COMMDLG")
' if DoesFileExist(MakePath(SysDir$, COMMDLG$), femReadWrite) = 1 THEN
' Lang$ = "..........................................."
' GetVersionLanguage MakePath(SysDir$, COMMDLG$), Lang$
''* i% = DoMsgBox(Lang$, "COMMDLG.DLL", MB_OK)
' if Lang$ = "U.S. English" THEN
' AddSectionKeyFileToCopyList "COMMDLG", "COMMDLG", SrcDir$, SysDir$
' else
' AddSectionKeyFileToCopyList "COMMDLG", "COMMDLG", SrcDir$, DEST$
' END IF
' ELSE
' AddSectionKeyFileToCopyList "COMMDLG", "COMMDLG", SrcDir$, SysDir$
' END IF
CopyFilesInCopyList
'* ini$ = MakePath(DEST$, "BROWSER.INI")
'* CreateIniKeyValue "WIN.INI", "Browser", "Option", OPTCUR$, cmoNone
'* CreateIniKeyValue ini$, "Section 1", "Key 1", "Value 1" , cmoNone
'* CreateIniKeyValue ini$, "Section 2", "Key 2", "Value 2" , cmoNone
'* CreateIniKeyValue ini$, "Section 3", "Key 3", "Value 3" , cmoNone
cat$ = MakePath(Dest$, "BROWSER.CAT")
vol$ = " "
GetVolume SrcDir$, vol$
Ext$ = "*.GIF;*.BMP;*.TIF;*.TGA;*.IFF;*.PCX;*.WMF;*.EPS;*.WPG;*.CGM"
i% = DoesFileExist(cat$, femExists)
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Primary Drives", SrcDir$, cmoNone
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Catalog1", "Default," + cat$ + "," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Catalog2", "Agriculture," + SrcDir$ + "catalogs\agricult.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Catalog3", "Americana - General," + SrcDir$ + "catalogs\amergen.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Catalog4", "Americana - Landmark," + SrcDir$ + "catalogs\amerland.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Catalog5", "Americana - State Names," + SrcDir$ + "catalogs\amerstnm.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Catalog6", "Americana - State Nicknames," + SrcDir$ + "catalogs\amerstnk.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Catalog7", "Animals," + SrcDir$ + "catalogs\animals.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Catalog8", "Backgrounds," + SrcDir$ + "catalogs\backgrnd.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Catalog9", "Borders," + SrcDir$ + "catalogs\borders.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Catalog10", "Business - General," + SrcDir$ + "catalogs\busigen.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Catalog11", "Business - Currency," + SrcDir$ + "catalogs\busicncy.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Catalog12", "Business - Documents," + SrcDir$ + "catalogs\busidocs.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Catalog13", "Business - Energy," + SrcDir$ + "catalogs\busiengy.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Catalog14", "Business - Graphical Text," + SrcDir$ + "catalogs\busigrtx.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog15", "Business - Office," + SrcDir$ + "catalogs\busioffc.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone'
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog16", "Business - Stamps," + SrcDir$ + "catalogs\busistm.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog17", "Business - Weights & Measures," + SrcDir$ + "catalogs\busiwtme.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog18", "Calendars," + SrcDir$ + "catalogs\calendar.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog19", "Construction - Equipment," + SrcDir$ + "catalogs\consequp.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog103", "Construction - Tools," + SrcDir$ + "catalogs\constool.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog20", "Design," + SrcDir$ + "catalogs\design.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog21", "Education - General," + SrcDir$ + "catalogs\educgen.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog22", "Education - College Names," + SrcDir$ + "catalogs\educcoll.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog23", "Entertainment - Leisure," + SrcDir$ + "catalogs\entrleis.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog24", "Entertainment - Travel & Dining," + SrcDir$ + "catalogs\entrtrdn.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog25", "Flags - Australian States & Territories," + SrcDir$ + "catalogs\Flagaust.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog26", "Flags - Austrian States," + SrcDir$ + "catalogs\flagasti.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog27", "Flags - Canadian Providences," + SrcDir$ + "catalogs\flagcand.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog28", "Flags - Ecuadorian Provinces," + SrcDir$ + "catalogs\flagequd.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog29", "Flags - Emirates," + SrcDir$ + "catalogs\flagemir.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog30", "Flags - German States," + SrcDir$ + "catalogs\flaggerm.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog31", "Flags - Japanese Prefectures," + SrcDir$ + "catalogs\flagjapp.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog32", "Flags - Miscellaneous," + SrcDir$ + "catalogs\flagmisc.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog33", "Flags - Nautical," + SrcDir$ + "catalogs\flagnaut.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog34", "Flags - Netherlands Provinces," + SrcDir$ + "catalogs\flagneth.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog35", "Flags - Swiss Cantons," + SrcDir$ + "catalogs\flagswis.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog36", "Flags - United Kingdom," + SrcDir$ + "catalogs\flagukco.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog37", "Flags - United States," + SrcDir$ + "catalogs\flagus50.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog38", "Flags - World," + SrcDir$ + "catalogs\flagwrld.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog39", "Food & Beverage," + SrcDir$ + "catalogs\food.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog40", "Graphical Text - Signs," + SrcDir$ + "catalogs\grphtxsn.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog41", "Household," + SrcDir$ + "catalogs\houshold.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog42", "Humor - General," + SrcDir$ + "catalogs\humrgen.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog43", "Humor - Animals," + SrcDir$ + "catalogs\humranml.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog44", "Humor - Animated," + SrcDir$ + "catalogs\humranma.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog45", "Humor - Construction," + SrcDir$ + "catalogs\humrcons.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog46", "Humor - Vehicles," + SrcDir$ + "catalogs\humrvehc.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog47", "Icons - Electrical," + SrcDir$ + "catalogs\iconelec.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog48", "Icons - Flow Chart," + SrcDir$ + "catalogs\iconflow.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog49", "Icons - Information," + SrcDir$ + "catalogs\iconinfo.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog50", "Icons - Roman Numerals," + SrcDir$ + "catalogs\iconrman.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog51", "Icons - Shipping Labels," + SrcDir$ + "catalogs\iconship.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog52", "Maps - USA States," + SrcDir$ + "catalogs\mapsus50.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog53", "Maps - World," + SrcDir$ + "catalogs\mapswrl.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog54", "Maps - World 3D," + SrcDir$ + "catalogs\maps3dwr.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog55", "Maps - World Extruded," + SrcDir$ + "catalogs\mapswrex.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog56", "Maps - World Highlighted," + SrcDir$ + "catalogs\mapswrhi.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog57", "Medical," + SrcDir$ + "catalogs\medical.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog58", "Military/Government - General," + SrcDir$ + "catalogs\mlgvgen.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog59", "Military/Government - Badges," + SrcDir$ + "catalogs\mlgvbadg.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog60", "Military/Government - Enlisted Rank," + SrcDir$ + "catalogs\mlgvenrk.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog61", "Military/Government - Officers Rank," + SrcDir$ + "catalogs\mlgvofrk.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog62", "Military/Government - Ribbons," + SrcDir$ + "catalogs\mlgvribb.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog63", "People - Families," + SrcDir$ + "catalogs\peplfaml.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog64", "People - Professional," + SrcDir$ + "catalogs\peplprf.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog65", "Real Estate," + SrcDir$ + "catalogs\realesta.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog66", "Religion," + SrcDir$ + "catalogs\religion.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog67", "Retail," + SrcDir$ + "catalogs\retail.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog68", "Seasons & Holidays," + SrcDir$ + "catalogs\seashol.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog69", "Shapes - General," + SrcDir$ + "catalogs\shapgen.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog70", "Shapes - 3D," + SrcDir$ + "catalogs\shap3d.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog71", "Shapes - Arrows," + SrcDir$ + "catalogs\shaparrw.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog72", "Shapes - Balloons & Buttons," + SrcDir$ + "catalogs\shapblbu.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog73", "Shapes - Silhouettes," + SrcDir$ + "catalogs\shapsilh.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog74", "Shapes - Starbursts," + SrcDir$ + "catalogs\shapstar.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog75", "Signs - Astronomy," + SrcDir$ + "catalogs\signastr.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog76", "Signs - Caution," + SrcDir$ + "catalogs\signcaut.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog77", "Signs - Chemical," + SrcDir$ + "catalogs\signchem.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog78", "Signs - Danger," + SrcDir$ + "catalogs\signdngr.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog79", "Signs - Environment," + SrcDir$ + "catalogs\signenvr.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog80", "Signs - Exit & Fire," + SrcDir$ + "catalogs\signexfr.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog81", "Signs - Famous Streets," + SrcDir$ + "catalogs\signstrt.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog82", "Signs - Handicapped," + SrcDir$ + "catalogs\signhand.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog83", "Signs - Hazardous Material," + SrcDir$ + "catalogs\signhzmt.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog84", "Signs - Information," + SrcDir$ + "catalogs\signinfo.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog85", "Signs - Legal," + SrcDir$ + "catalogs\signlegl.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog86", "Signs - Mathematical," + SrcDir$ + "catalogs\signmath.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog87", "Signs - Medical," + SrcDir$ + "catalogs\signmdcl.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog88", "Signs - Miscellaneous," + SrcDir$ + "catalogs\signmisc.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog89", "Signs - Parking," + SrcDir$ + "catalogs\signpark.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog90", "Signs - Road/International," + SrcDir$ + "catalogs\signrdil.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog91", "Signs - Road/USA," + SrcDir$ + "catalogs\signrdus.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog92", "Signs - Smoking," + SrcDir$ + "catalogs\signsmok.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog93", "Signs - Warning," + SrcDir$ + "catalogs\signwarn.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog94", "Signs - Weather," + SrcDir$ + "catalogs\signwthr.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog95", "Signs - World," + SrcDir$ + "catalogs\signwrld.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog96", "Signs - Zodiac," + SrcDir$ + "catalogs\signzdac.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog97", "Special Occasions," + SrcDir$ + "catalogs\spclocs.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog98", "Sports," + SrcDir$ + "catalogs\sports.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog99", "Technology," + SrcDir$ + "catalogs\techlgy.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog100", "Templates," + SrcDir$ + "catalogs\template.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog101", "Transportation - Aviation," + SrcDir$ + "catalogs\tranavat.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue DEST$ + "\PIXFOLIO.INI", "Browser", "Catalog102", "Transportation - Ground," + SrcDir$ + "catalogs\trangrnd.cat," + Ext$ +"," + vol$ + ",readonly,", cmoNone
CreateIniKeyValue dest$ + "\pixfolio.INI", "Browser", "Catalogs", "103", cmoNone
CreateProgmanGroup "Browser", "", cmoNone
ShowProgmanGroup "Browser", 1, cmoNone
CreateProgmanItem "Browser", "Browser", MakePath(DEST$,"Browser"), "", cmoOverwrite
CreateProgmanItem "Browser", "Read Me", "notepad.exe "+MakePath(DEST$,"pixREAD.ME"), "", cmoOverwrite
CreateProgmanItem "Browser", "User Guide", "Write.exe "+MakePath(DEST$,"UsrManl.wri"), "", cmoOverwrite
'* AddDos5Help "YOURAPP", "A brief help text for your Windows application."+chr$(10)+"It can be continued on another line with chr$(10).", cmoNone
CloseLogFile
END SUB
'**
'** Purpose:
'** Appends a file name to the end of a directory path,
'** inserting a backslash character as needed.
'** Arguments:
'** szDir$ - full directory path (with optional ending "\")
'** szFile$ - filename to append to directory
'** Returns:
'** Resulting fully qualified path name.
'*************************************************************************
FUNCTION MakePath (szDir$, szFile$) STATIC AS STRING
IF szDir$ = "" THEN
MakePath = szFile$
ELSEIF szFile$ = "" THEN
MakePath = szDir$
ELSEIF MID$(szDir$, LEN(szDir$), 1) = "\" THEN
MakePath = szDir$ + szFile$
ELSE
MakePath = szDir$ + "\" + szFile$
END IF
END FUNCTION