Deploying settings when the application is installed on a different drive letter to the workstation
Symptoms
My images are not displaying when I try to deploy from a workstation to a server where the workstation has the application installed in the c: drive and the server in the D: drive.Cause
This is due to the file location in the source code is located in the c: drive on the deploying machine.Work Around
There are 3 solutions available to you, although named here this article only covers the use of the SUBST command in windows.- Manually edit the source code every time you wish to deploy. The source can be found in the source tab of the edit/preview disclaimer, all you need to do is change the drive letter
- Host the image on a HTTP server, thus removing the issue completely
- Use the SUBST command
On the workstation:
- Open a CMD window
- Type
SUBST w: "c:\program files\exclaimer"
- Hit Enter
On the Server:
- Open a CMD window
- Type
SUBST w: "D:\program files\exclaimer"
- Hit Enter
On the Workstation
- Please create a text document and then change the extension to .bat
- Using Notepad Edit this file and insert the following
SUBST w: "c:\program files\exclaimer"
- Save the file in the STARTUP menu in the Start menu bar
Once the SUBST has been performed and the drive mapping is created, please insert the picture using the W: drive location. When you deploy the settings, the pictures will automatically be transfered with the common W: path being used.
Customer support service by UserEcho