After you downloaded and extracted GN4CONFIG.ZIP of the required GN4 version (as explained in Download GN4 files and prerequisites), and unzipped it in the appropriate folder (as explained in Install GN4 components), duplicate (copy and paste) the entire Config folder with all subfolders and rename the copy as ConfigXXX, where XXX is the site name or acronym.
Then, create a third folder and name it configCustomFiles and copy there only the files you need to modify.
The purpose of such complication is to have:
•Folder where you can download upgrades of the standard configuration - and that is CONFIG folder.
•Folder where you keep all edited files in one place so you don't need to search for them across all folders - and that is CONFIGCUSTOMFILES folder.
•Folder from where you initialize or reinitialize database and load schemas (that need to be all in the same folder - your custom schemas and the standard schemas) - and that is CONFIGXXX folder.
A best practice is to create a batch file that copies files from the CONFIGCUSTOMFILES folder to the CONFIGXXX folder, e.g:
@echo off
echo.
echo This utility copy all customized files from the current folder
echo to the folder CONFIGSTOKE from where they can be loaded in the GN4 database
echo by means of LWEditorial_InstallConfigNoSamples.xml
echo.
echo.
echo Make sure that the files in the target folders are read/write and not
echo opened for editing!
echo.
pause
REM COPY IN THE ROOT OF LOADING TARGET - WON'T OVERWRITE STANDARD
echo copying LWEditorial_InstallConfigNoSamples.xml ..\CONFIGSTOKE...
COPY LWEditorial_InstallConfigNoSamples.xml ..\CONFIGSTOKE
REM COPY SCHEMA FILES
echo copying LWGN4.xsd ..\CONFIGSTOKE\SCHEMAS
COPY LWGN4.xsd ..\CONFIGSTOKE\SCHEMAS
echo copying LWTark4Include.xsd ..\CONFIGSTOKE\SCHEMAS
COPY LWTark4Include.xsd ..\CONFIGSTOKE\SCHEMAS
REM COPY DATA FILES
echo copying LWEditorial_InstallConfigNoSamples.xml ..\CONFIGSTOKE\DATA\GN4
COPY LWEditorial_InstallConfigNoSamples.xml ..\CONFIGSTOKE\DATA\GN4
echo copying fonts_DataOnlyArial.xml ..\CONFIGSTOKE\DATA\GN4
COPY fonts_DataOnlyArial.xml ..\CONFIGSTOKE\DATA\GN4
REM COPY EDITORIAL CONFIG
echo copying EditorialConfig.xml ..\CONFIGSTOKE\GLOBAL
COPY EditorialConfig.xml ..\CONFIGSTOKE\GLOBAL
REM COPY WORKFLOWS
echo copying wf_CreateBarcode.xml ..\CONFIGSTOKE\GLOBAL\GN4
COPY wf_CreateBarcode.xml ..\CONFIGSTOKE\GLOBAL\GN4
REM COPY UI FILES
echo copying edAdmin4_Config.xml ..\CONFIGSTOKE\GLOBAL\GN4
COPY edAdmin4_Config.xml ..\CONFIGSTOKE\GLOBAL\GN4
echo copying edAdmin4_MainPage.xml ..\CONFIGSTOKE\GLOBAL\GN4
COPY edAdmin4_MainPage.xml ..\CONFIGSTOKE\GLOBAL\GN4
echo copying edAdmin4_TabItems.xml ..\CONFIGSTOKE\GLOBAL\GN4
COPY edAdmin4_TabItems.xml ..\CONFIGSTOKE\GLOBAL\GN4
echo copying fred4_Config.xml ..\CONFIGSTOKE\GLOBAL\GN4
COPY fred4_Config.xml ..\CONFIGSTOKE\GLOBAL\GN4
echo copying fred4_TabItems.xml ..\CONFIGSTOKE\GLOBAL\GN4
COPY fred4_TabItems.xml ..\CONFIGSTOKE\GLOBAL\GN4
echo copying gnpc_Config.xml ..\CONFIGSTOKE\GLOBAL\GN4
COPY gnpc_Config.xml ..\CONFIGSTOKE\GLOBAL\GN4
echo copying shell4_Config.xml ..\CONFIGSTOKE\GLOBAL\GN4
COPY shell4_Config.xml ..\CONFIGSTOKE\GLOBAL\GN4
echo copying shell4_TabItems.xml ..\CONFIGSTOKE\GLOBAL\GN4
COPY shell4_TabItems.xml ..\CONFIGSTOKE\GLOBAL\GN4
echo copying ted4_Config.xml ..\CONFIGSTOKE\GLOBAL\GN4
COPY ted4_Config.xml ..\CONFIGSTOKE\GLOBAL\GN4
echo copying ted4_TabItems.xml ..\CONFIGSTOKE\GLOBAL\GN4
COPY ted4_TabItems.xml ..\CONFIGSTOKE\GLOBAL\GN4
REM STRINGS FILES
echo copying LWStrings.en.xml ..\CONFIGSTOKE\STRINGS
COPY LWStrings.en.xml ..\CONFIGSTOKE\STRINGS
PAUSE