When I trying to install an application in Windows 7, I get the message Error 1327 Invalid Drive H:\ and the installation aborts.
There appears to be a policy running that is re-assigning the default “User Shell Folder” path to the H:\ Drive.
The workaround is to temporary change your shell folders back to the default location. An easy way to do it, it is by changing the User Shell Folders registry key. Be careful when editing your Windows registry, so use the following steps at your own risk.
1. Run regedit.exe
2. Locate the following key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
3. Click on File, Export and save this key to your desktop.
4. Change all entries that uses your mapped drive (H: in my case) to the default one (C:\).
5. Now, Install your application without closing Regedit.
6. After installation completes, restore your User Shell Folders registry info by double clicking on the file saved on step #3.