1. Create an ini file with content, for example:
[appwebpath]
extjs=d:\Framework\
uni=d:\Framework\
unipackages=d:\Framework\
unimobile=d:\Framework\
2. In your application, handle it:
procedure TUniServerModule.UniGUIServerModuleBeforeInit(Sender: TObject);
var
serverConfig: TMemINIFile;
begin
try
serverConfig := TMemINIFile.create(UniServerModule.FilesFolderPath + 'unigui.ini');
ExtRoot := serverConfig.readstring('appwebpath', 'extjs', '[ext]\');
UniRoot := serverConfig.readstring('appwebpath', 'uni', '[uni]\');
UniMobileRoot := serverConfig.readstring('appwebpath', 'unimobile', '[unim]\');
UniPackagesRoot := serverConfig.readstring('appwebpath', 'unipackages', '[unipack]\');
finally
FreeAndNil(serverConfig);
end;
if ExtRoot <> '[ext]\' then
ExtRoot := ExtRoot + '[ext]\';
if UniRoot <> '[uni]\' then
UniRoot := UniRoot + '[uni]\';
if UniMobileRoot <> '[unim]\' then
UniMobileRoot := UniMobileRoot + '[unim]\';
if UniPackagesRoot <> '[unipack]\' then
UniPackagesRoot := UniPackagesRoot + '[unipack]\';
CustomFiles.Clear;
end;
3.copy to directory d:\Framework of c:\Program Files (x86)\FMSoft\Framework\uniGUI\
ext-7.2.0
uni-1.90.0.1534
unim-1.90.0.1534
unipackages-7.2.0