Page 1 of 1

TD 6.X manual installation

PostPosted: Fri Apr 26, 2013 3:25 am
by l0k1

I just recently joined the Development with TD in our company as the 6.X-Versions can now connect to my .NET-Programs.
On the development system everything works well (not perfectly, but that's another topic).

On Systems (WinXP, Win2k8R2 so far) where the TD-Runtime is installed via deploy61.exe the Programs cannot find Assembly SalCDK, altough it is in the %PATH%. Copying the SalCDK.dll directly into the programs directory solves this issue.

On Systems with only the TD-.dlls put in a directory and %PATH% changed accordingly the program won't start, not finding not only SalCDK but also Unify.TD. .... or directly crashing, depending on whether the program was put into the .dll-Directory or started elsewhere.

For installation of our Program we cannot always rely on the deploy61.exe as we lack the rights for such installation on the clients computers.
Finally, my question now: What has to be done to deploy the runtime manually? Copying the runtime (e.g. C:\Programs\Unify\Team Developer...\) and changing the %PATH% env variable does not suffice as it did for TD3.1.



Re: TD 6.X manual installation

PostPosted: Fri Apr 26, 2013 5:13 pm
by mvandine
Hi Frank,

On the machines where you don't run deploy61.exe, make sure to install the Visual Studio 2008 redistributable. That's the vcredist_x86.exe that's in the \Deploy directory along with the deploy61.exe. When you run deploy61.exe, that is one of the additional things it does.

If you can't run deploy61.exe on the target machine, my recommendation is:

Run deploy61.exe on a machine and save the files to a directory like c:\deploy
Copy that whole directory to the deployment machine, then run the vcredist_x86.exe.

Hope this helps.

Best regards,

Re: TD 6.X manual installation

PostPosted: Wed May 01, 2013 10:56 pm
by lrcuess

those DLLs are .NET assemblies.
Adding the containing directory to PATH doesn't work.
You need to install the assemblies in the GAC by using gacutil.exe which is part of the .NET Framework SDK.

Code: Select all
gacutil /i SalCDK.dll


Re: TD 6.X manual installation

PostPosted: Mon May 06, 2013 1:58 am
by l0k1

thank you for the advice.
The copying and setting the PATH variable alone does not suffice.
Sadly the "gacutil.exe" is not part of any redistributable .NET-Runtime package I've downloaded or installed so far (1.0,1.1,2.0,3.5).
The .NET Framework SDK does contain the gacutil (as does the Windows SDK) but at least the version I used (1.1.4322.573) is unable to install the SalCDK.dll :( I'll search for a solution there.

Two Questions:
- is there a (small) .NET-Framwork-whatever-Installer that contains the gacutil.exe ?
- do I have to run gacutil /i for every dll in the runtime directory?


Re: TD 6.X manual installation

PostPosted: Tue May 07, 2013 10:42 pm
by lrcuess
I have gacutil.exe installed here:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\x64
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64