====== Folder structure ====== Some typical directory structures are listed below, in order to provide a better overview of the [[en:einstellungen:programmeinstellungen:datenbankpfade|Folder and directory hierarchy]] of various Pcc installation scenarios. These are particularly important for new acquisitions (server migration/new clients). The first priority is that all workstations on the network have access to the same main data. ===== Installation on up to 5 workstations ===== ==== Stand-alone installation ==== Recommended directory structure: | Program | %%C:\PCCADDIE\USER_1\PROGRAMM\%% | | Local data | %%C:\PCCADDIE\USER_1\DATEN\%% | | Local indexes | %%C:\PCCADDIE\USER_1\INDEX\%% | | Main data | %%C:\PCCADDIE\DATEN\%% | | Main indexes | %%C:\PCCADDIE\INDEX\%% | | Text files | %%C:\PCCADDIE\TEXTE\%% | | Printer driver | %%C:\PCCADDIE\DRUCKER\%% | | Leaderboard | %%C:\PCCADDIE\LEADER\%% | Start by running %%C:\PCCADDIE\USER_1\PROGRAMM\PCC_WIN.EXE%%. ==== Installation on 2-5 workstations ==== The "local data" is located on the individual workstation. Typical directory structure: ^ workstation-specific data ^^ | Program | %%C:\PCCADDIE\USER_1\PROGRAMM\%% | | Local data | %%C:\PCCADDIE\USER_1\DATEN\%% | | Local indexes | %%C:\PCCADDIE\USER_1\INDEX\%% | ^ common data for all workstations ^^ | Main data | %%\\server\PCCADDIE\DATEN\%% | | Main indexes | %%\\server\PCCADDIE\INDEX\%% | | Text files | %%\\server\PCCADDIE\TEXTE\%% | | Printer driver | %%\\server\PCCADDIE\DRUCKER\%% | | Leaderboard | %%\\server\PCCADDIE\LEADER\%% | Start by running %%C:\PCCADDIE\USER_1\PROGRAMM\PCC_WIN.EXE%% on each station. ===== Larger installations with database server ===== You cannot longer work with files shared over the network (local server) if there are more than 5 running instances((including not only the workstations but also the server processes!)) or terminal server installations. In this case it is necessary to install the [[en:sonstigefunktion:advantagedatabaseserver|Advantage Database Server (ADS)]] (remote server). The Pcc installation directory structure does not change when migrating from local server to remote server. ===== Remote-Desktop/Microsoft Terminal-Services ===== **New version (used in Sempach and Weilrod)** PC CADDIE now automatically detects when there is a Terminal Server installation. The prerequisite for this is that PC CADDIE is started from the sub-folder /TSC/START/PCCADDIE/USER_1/PROGRAMM/. PC CADDIE then automatically searches for the corresponding /USERS/ folder and starts the PC CADDIE there. {{ :de:sonstigefunktion:technik:ordnerstruktur:tscneu.jpg?direct&400 |}} PC CADDIE now automatically starts the user-related PC CADDIE or restores it if there is no PC CADDIE available for the Windows user. __**!The directory path must be defined exactly as described above!**__ Old version: It is meaningful and necessary that each client is assigned his own program directory in case Pcc operates in a terminal server environment. This directory is used for storing individual data, such as hardware connection (control receipt printer, card reader, etc.) or even the design settings (font sizes, the size of the checkout mask, ...). For this purpose, the following directory structure is needed on the terminal server: BASE: %%C:\PCCADDIE\TSC\%% The „TSC“ folder contains one folder for each of the client's PCs which will connect via RDP with the terminal server; for example: %%C:\PCCADDIE\TSC\PC1%% \\ %%C:\PCCADDIE\TSC\PC2%% \\ %%C:\PCCADDIE\TSC\PC3%% \\ %%C:\PCCADDIE\TSC\KASSE1%% \\ %%C:\PCCADDIE\TSC\KASSE2%% …etc. In addition, there should be a default folder (this ensures that Pcc is started from this folder on the PCs that do not have a corresponding sub-directory): %%C:\PCCADDIE\TSC\DEFAULT%% This is why the name of the individual sub-folders must be the same as the name of the computers which will connect via Remote desktop connection to the terminal server. The Pcc program directory will be installed in these sub-directories %%C:\PCCADDIE\TSC\PC1\PCCADDIE\USER_1%% In addition, you need a free driver on the terminal server; this ensures that each client's folder can be connected as a virtual driver on the terminal server when Pcc starts. You can find the batch file under %%http://www.pccaddie.com/dl/special/TSC/%% (must be executed on the individual computers). You should save this in the directory %%C:\PCCADDIE\TSC\_BAT%%. The symbol files are saved in the same place. So it is now possible to create a link to this batch and assign the Pcc icon. This results in the same directory structure for all computers, for example: %%P:\PCCADDIE%%, where "P:" will be then linked to "%%C:\PCCADDIE\TSC\CLIENTNAME%%" using the SUBST command. It is also recommended to run the "SAVE" macro on __each__ of the workstations. This will copy the local directory configuration on the server. As an alternative to the directory structure based on the PCs' names, you can also create a directory structure based on the usernames (mixing the two is also possible). This makes sense when a user frequently works from different PCs, but would still want to use his own environment, respectively "his own" Pcc. We recommend the first variant, using computer names, especially for cash registers. This ensures that all the local hardware connection parameters are preserved (for example, receipt printer, card readers etc). :!: It is also important that the local (!), virtual drive letter, which is generated from the batch using the SUBST command, is entered with "Always with DBFNTX" in the ADS configuration. This is necessary because the local Pcc will start from there, and this is also the location where a few database driver (ADS) functions will be executed - so you have to avoid the situation where the location is not found because the SYSTEM account does not detect user-related drives. ===== Backing-up the local data on the server ===== | %%\\server\PCCADDIE\Workstations\PCKasse1\PCCADDIE\USER_1\%% | | %%\\server\PCCADDIE\Workstations\PCKasse2\PCCADDIE\USER_1\%% | | %%\\server\PCCADDIE\Workstations\PCKasse3\PCCADDIE\USER_1\%% | | %%\\server\PCCADDIE\Workstations\PCGastro1\PCCADDIE\USER_1\%% | | %%\\server\PCCADDIE\Workstations\PCGastro2\PCCADDIE\USER_1\%% | | %%\\server\PCCADDIE\Workstations\PCBackoffice1\PCCADDIE\USER_1\%% | | %%\\server\PCCADDIE\Workstations\PCBackoffice2\PCCADDIE\USER_1\%% | | %%\\server\PCCADDIE\Workstations\PCBackoffice3\PCCADDIE\USER_1\%% | | %%\\server\PCCADDIE\Workstations\PCBackoffice4\PCCADDIE\USER_1\%% |