When installing an installation created with InstallShield, the following error message might occur:
The invalid drive can vary per machine.
This error has several causes. One cause is that the installation was created with a hard-coded path to a drive letter that does not exist on the machine. If this is the case then there is no way to make the installation install to a different drive letter. The software vendor must be contacted. Other causes include:
- The CD-ROM or DVD-ROM drive letter has changed since a previous install.
- You have changed the drive letter of the hard disk that the operating system is installed on, for example, drive C.
- This behavior may occur if a registry key contains an incorrect value in a Data field.
Because this error has different causes, you may have to check multiple items on your computer.
A. If drive letters have been changed on your computer, re-assign the original letter to the CD-ROM, DVD-ROM, or operating system drive. Follow the steps appropriate to your operating system:
Windows XP Users
- Click Start, and then click Control Panel.
- In Control Panel, double-click Administrative Tools, and then double-click Computer Management.
- In the Computer Management tree, click Disk Management.
- Right-click the CD-ROM or DVD-ROM drive, or the drive that contains the operating system, and then click Change Drive Letter and Paths.
- Click Change, and change it to the original drive letter. Click OK, and then click Close.
B. Verify that registry entries do not contain invalid drive letters that might be causing this error: Important: The following steps require you to modify the Windows registry. Modifications to the Windows registry, if not done correctly, can cause serious problems to a Windows system. Before editing the registry, see How Do I Back Up Registry Keys on My Computer?
- Click Start, and then click Run. The Run dialog box opens.
- In the Open field, type regedit, and then click OK. The Registry Editor opens.
- In the Registry Editor, locate the following registry key:
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
- In the right pane, note the values in the Data column of each entry. If any value contains a drive that is not correct for your computer, right-click the entry and select Modify.
- Type the correct drive letter in the Value data field, and then click OK. For example, if one of the values is "X:\Documents and Settings\Administrator", the drive letter should be changed to a valid drive on the system, such as “C:\Documents and Settings\Administrator".
- Repeat steps 4 and 5 for each entry whose Data value contains an incorrect drive.
- Repeat steps 3 through 6 for each of the following registry keys:
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
9. Close the Registry Editor and run the installation again.
C. If none of the above suggestions apply, this error might be happening because the installation author has hard-coded a path to a drive letter that does not exist on the machine. In this situation, you should contact the software vendor. Your software vendor can follow the suggestions in the following InstallShield Knowledge Base article to help determine what is causing the issue within the installation project:
Q107033 ERRDOC: Windows Installer Error 1327.
Keep in mind that the above article is meant for the installation author that has created the installation. Many of the suggestions do not apply to consumers trying to install software.
Another suggestion, although not a long-term solution, would be to create a partition on the local hard drive or map a network drive with the drive letter that is mentioned in the invalid drive error.