Error 1327: Invalid Drive C:\

Posted on 2009-12-29
Last Modified: 2013-11-30
Hello everyone,

I am tryiong to install a program using Windows Installer and I am receiving an "error 1327: invalid Drive C:\" My system is installed on the E:\ and I do not see anything in the registry involving the C:\ drive. Is their any way to fool the mis installation into seeing the E: as C:. Thanks.
Question by:greenbeanx81
    LVL 17

    Expert Comment

    Should be fairly easy process.

    Hit WinLogo and type 'regedit'

    Open the following key:
    In the right pane select 'ProgramFilesDir' which has default path set to 'C:\Program Files'
    Change this path to 'E:\Program Files'
    Close registry editor and try to run installer again.
    LVL 2

    Expert Comment

    You may also try setting up a share of a folder on your E: drive, possibly the program files folder, then use a net use command- such as net use c: \\computername\sharename. This would use the c drive letter and point iit to the shared folder you setup. once your program is installed you may be able to get rid of the mapped drive letter if you can run the program directly from the E:\. If you need to leave the C drive mapped for whatever reason, you can use a /persistance:yes in the command so it remaps everytime the server reboots.

    Author Comment

    Thank you.. I contacted the developer of the custom program. What happened is I think they hard coded the path where they want the MSI package to look at for the C: thinking no one will have there system drives as a different letter which is a stupid move. What I had to do is resize and create a new partition and assign drive letter C: to it then it was able to work. I wonder why they did that in the first place. They suggested reassigning the system drive which will mess up the dependence on the E: drive.
    LVL 46

    Accepted Solution

    Do not listen to what you were told by developers. Here are two possible ways for you:
    1)Connect a USB flash drive to PC - right click on My Computer - Manage - Disk Management.
    There assign C: drive to USB flash drive. I think C: drive is assigned to some partition so you need to release it from there and change the drive letter of USB drive that was given to it automatically.
    Try to install your app.
    2)Change the My Documents path.
    Right click on My Documents - Properties. You will see the path. Make to C: drive temporarily. Install app and change the path back.
    As you see not resize is needed.

    Featured Post

    Live: Real-Time Solutions, Start Here

    Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

    Join & Write a Comment

    Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now