Error 1327: Invalid drive: F:\

Error:

Error 1327: Invalid drive: F:\

Snapshot:

Causes:

This behavior may occur if a registry key contains an incorrect value in a Data field.

  • At run time, the Windows Installer Service checks the registry location “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders” to resolve folder paths of built-in System Folder properties, such as [WindowsVolume], [MyPicturesFolder], [SystemFolder], etc. If one of the folder paths in the above registry key points to a location or drive that does not exist on the machine, error 1327 occurs with the name of the folder specified in it.
  • If the INSTALLDIR or DATABASEDIR variables are hard coded to a path or drive letter that does not exist on the machine, this error may occur, e.g., “F:\RelyonSoft\SaralTDS” causes an error if F:\ drive does not exist on the machine where the setup is being run.

Workaround 1:

1. Click > Start > Run > type regedit.

2. Locate the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

3. In the right pane, look for any values that contain the drive letter specified in the error message. Right click on the value and select Modify.

4. Change the erroneous drive letter to a valid drive letter. For example if the value is

“F:\Users\Administrator\AppData\Roaming”, change it to “C:\Users\Administrator\AppData\Roaming” or whatever location is appropriate for your configuration.

5. Repeat steps 3 and 4 for every incorrect value.

6. Repeat steps 3 through 5 for the following registry keys:

  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  • KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

7. Retry the installation.