Registering Dll's in a multiuser environment on Citrix

BEsterhuizenBEsterhuizen Member Posts: 11
Hi All

Hopefully someone has experienced the same problems when registering Dll's on a Citrix server and can indicate the correct way of doing it?

We are running loads of Dll's and i have created a bat file which takes care of this. Before running the bat file I do run the command to enable the install mode on Citrix [change user /install] and then run my bat file and it all registers the DLL’s correctly. Then I run the execute command again [change user /execute] and test the dll’s and all seems fine. However when I run it as a different user it does not work correctly. After lots of testing I realised that it only installed it for the current user but if I copy the bat file to a shorter path Bat File B it works perfectly and I can’t explain it!!!!!

regasm version no: 2.0.50727.42

Batfile A:
SET NAVPATH32bit= "D:\Program Files\Microsoft Dynamics NAV\60\Classic R2\Add-ins"
copy /y RegAsm.exe %NAVPATH32bit%
copy /y FtpUploader.dll %NAVPATH32bit%
copy /y FtpUploader.tlb %NAVPATH32bit%

REM /* change directory to register dll's from copied location */
CD %NAVPATH32bit%

regasm /u FtpUploader.dll
regasm FtpUploader.dll /codebase /tlb


Bat File B:
SET NAVPATH32bit= "D:\ BatFileProcess"
copy /y RegAsm.exe %NAVPATH32bit%
copy /y FtpUploader.dll %NAVPATH32bit%
copy /y FtpUploader.tlb %NAVPATH32bit%

REM /* change directory to register dll's from copied location */
CD %NAVPATH32bit%

regasm /u FtpUploader.dll
regasm FtpUploader.dll /codebase /tlb
Sign In or Register to comment.