

Note: This page documents the legacy workflow for applying a hot fix or patch using DropIt. While the DropIt tool is still used for applying hot fixes and patches. For details on the standard deployment process as of January 2024, see Applying a Server hotfix or patch.
DropIt assists in applying hotfixes across a Relativity Server environment. Use the DropIt utility to drop assemblies, such as Dynamic-link libraries (.dll) and Executable files (.exe), for an installed instance of Relativity Server.
This topic is a high-level overview of the processing of applying hotfixes. To learn more about specific hotfixes and where to apply them, visit the Relativity Community.
Note: DropIt can only drop .dll files. Any scripts mentioned within hotfixes need to be ran manually. You need to upload .rap files manually.
You only need the DropIt.exe file when you use DropIt. There is not an installer. Simply copy the single DropIt file to the location of your choice.
Administrator privileges are required to run DropIt because some parts of DropIt copy files to C:\Program Files, which Windows regards as protected files. The requirement to have Administrative privileges is indicated by the shield which appears next to the DropIt icon.
Note: As of version 1.4.6.1, DropIt automatically opens with Administrator privileges. DropIt fails to open if you do not have Administrative privileges.
Upon opening DropIt, an empty CMD window displays. After a few seconds, the CMD window closes and the main screen appears.
The File menu contains an About item which shows the current version of DropIt.
This window provides access to the three actions available in DropIt:
Each button opens a dialog that will be used to perform the action. After completing the action and closing the dialog, the Result and DateTime rows are updated. For example, after clicking Save Original Dlls, performing the action, and closing the dialog box, you will see something similar to the image below.
Click Save Original Dlls to save the originally installed DLLs from Relativity or Invariant to a folder.
Clicking Save Original Dlls opens a dialog with the following:
For most placeholders, you will see an initial default value for Replacement Text. You can change this to a custom location before clicking Go. If the value %WorkerNetworkPath% is present, you must specify a location because there is no default location. The best way to get the correct field value is to run the following query against the Invariant database:
SELECT [Value1] FROM [Invariant].[dbo].[AppSettings] WHERE [Category] = 'WorkerNetworkPath'
After you set all the values in the dialog, click Go to copy the original .dll and .exe files that will later be replaced by files from the DLL drop.
The .dll files are copied from locations in C:\Program Files\kCura Corporation\Relatiivty or C:\Program Files\kCura Corpration\Invariant. The .files are copied to the location you specified in the Folder to save original dlls in field.
Note: Any DLL files that already exist at the location are not overwritten. If you want to check the contents of the original DLLs folder, click the Open original dlls folder in Windows Explorer link.
After clicking the Go button, detailed results appear in the Result section.
If there is a failure, a pop-up dialog box appears with a message. In addition, there a red Failed message displays next to the Results label. After closing the dialog, the Success or Failed message will also show up on the main window.
If you want to copy the results in the Results area, highlight the text and copy it. Supported keyboard shortcuts include CTRL+A to select all text after initially clicking in the Results area. CTRL+C to copy the highlighted text. Also, once you click in the Results area, a context menu can be used to copy the text.
Click the Clear button to remove the text in the Results text area. You do not have to do this, but you might find it helpful in certain cases. For example, you may want to retry clicking the Go button again after an initial failure, but you only want to see the new results. In this case, click the Clear button before clicking the Go button again.
There can be a problem if you have already done a DLL drop without using DropIt. If you have used another program, Relativity or Invariant will contain a mixture of original .dll files and dropped .dll files. You must use the Copy Original DLLs dialog accordingly otherwise it may end up saving the previously dropped .dll files instead of the original .dll files.
If this has happened, check to see if you saved the original .dll files to a folder before doing the previous DLL drop. If this DLL drop contains the same assemblies as the previous DLL drop, then you do not need to use this feature.
If you have already saved the original .dll files to a folder before doing the previous DLL Drop, but the current DLL drop contains additional .dll files that need to be saved, you have choices:
Click Drop New DLLs dialog to drop files from the DLL drop into installed versions of Relativity, Invariant, or both.
Before starting, stop all processing that may be using these files. For Invariant Queue Manager, you may need to stop the following:
For other Servers in the Relativity environment, you may need to stop the following services, depending on what version of Relativity you are using.
Use the Drop New DLLs dialog by following the steps:
After clicking the Go button, detailed results appear in the Result section.
If there is a failure, a pop-up dialog box appears with a message. In addition, there is a red Failed message displays next to the Results label. After closing the dialog, the Success or Failed message will also show up on the main window.
If you want to copy the results in the Results area, highlight the text and copy it. Supported keyboard shortcuts include CTRL+A to select all text after initially clicking in the Results area. CTRL+C to copy the highlighted text. Also, once you click in the Results area, a context menu can be used to copy the text.
Click the Clear button to remove the text in the Results text area. You do not have to do this, but you might find it in certain cases.
For example, you may want to retry clicking the Go button again after an initial failure, but you only want to see the new results. In this case, click the Clear button before clicking the Go button again.
The Drop New DLLs dialog is also used to restore originally installed assemblies that are a part of Relativity and Invariant, that were previously replaced in a DLL drop.
The fields and mechanics of this dialog are very similar to the Save Original DLLs dialog. For information, see Drop New DLLs.
The Folder with original dlls field should be set to the same value as the Folder to save original dlls in field in the Save Original DLLs dialog.
When you run the DropIt application for Windows, it automatically populates and uses the settings.xml file. The DropIt application automatically saves the settings.xml file as you modify the fields on the screen.
You can find the settings.xml file in %appdata%\kCura\DropIt\settings.xml.
When running DropIt from Command Line, use the following arguments:
DropIt [[-s] [-d] [-r] -m <file> [-p:<placeholder> <folder>]* [-
replaceWorkerNetworkPath <folder>]] | [-h]
Basic options for copying .dll files.
Basic options for copying .dll files | |
---|---|
-s or -save | Save original .dll files. |
-d or -drop | Drop new .dll files. |
-r or -restore | Restore original .dll files. |
-m or -manifestFile | The <file> is the location of the manifest .xml file, which specifies where to drop each .dll file. This option is required. |
Other options
Other options | |
---|---|
-p:<placeholder> | The <placeholder> is a standard placeholder, without the surrounding % characters. The supported placeholders are Relativity, WorkerNetworkPath, InvariantRPC. The <folder> is a path. The patch can also be a network path. |
-replaceWorkerNetworkPath | The <folder> is the value of %WorkerNetworkPath% which is a placeholder in the manifest file for the Invariant worker network opath. Get this value from the Invartiant database, in the [Invariant].[dbo].[AppSettings] table. |
-h or -help | Show the usage information. |
DropIt -s -m "C:\Temp\Hotfix 2\manifest.xml" –p:WorkerNetworkPath "\\EMTTEST\InvariantNetworkShare" –p:InvariantRPC "D:\Program Files\kCura Corporation\Invariant\RPC"
DropIt -s -m "C:\Temp\Hotfix 5\manifest.xml" –p:Relativity "D:\Program Files\kCura Corporation\Relativity"
DropIt -s -m "C:\Temp\Hotfix 2\manifest.xml" -replaceWorkerNetworkPath "\\EMTTEST\InvariantNetworkShare"
All arguments are optional and case-insensitive. The arguments can be in any order. If Save and Drop actions are both specified, the Save will occur before the drop. If there are no arguments, the DropIt window version will open.
In the case of failure, due to invalid arguments, or if one of the save, drop, or restore actions fails, the command line version will return with a non-zero exit code.
When running DropIt from the command line, the Settings XML file is not used. Any configurable values that are needed must be supplied from the command line arguments. The defaults used are
If the WorkerNetworkPath is not specified as an argument, either -pWorkerNetorkPath or -replaceWorkerNetworkPath, DropIt will use the registry value for HKLM\SOFTWARE\KCURA\INVARIANT\WorkerNetworkPath.
Why was this not helpful?
Check one that applies.
Thank you for your feedback.
Want to tell us more?
Great!