[wix-users] Installation directory must be on a local hard drive

Schooley, Ron ron.schooley at hpe.com
Wed Mar 22 14:24:39 PDT 2017

I have recently started switching some of my program install packages to use WiX (which is a fantastic product, by the way). Just out of curiosity, I decided to see if the install packages being built could run under an ancient operating system version like Windows 2000 (5.0.2195). While running the install, I got the "Installation directory must be on a local hard drive" error message. I am using the WixUI_installDir WiXUIExtension from WiX

Although I understand very few if any people are still running Windows 2000, I was a little surprised by this failure. I can work around this issue by using the well-documented quiet (non-GUI) install option or by setting the WIXUI_DONTVALIDATEPATH Property. Given how simple the path validation code seems to be while briefly skimming it over (and as a matter of simple principle), it seems like this issue should be able to be eliminated.

Please find below a snippet of the trace log. Is it simply the case that the custom action is not getting run for some reason? Why would this be the case?


Action start 16:11:47: WelcomeDlg.
Action 16:11:47: WelcomeDlg. Dialog created
Internal Error 2898. WixUI_Font_Title, Tahoma, 0
Action 16:11:49: LicenseAgreementDlg. Dialog created
Action 16:11:51: InstallDirDlg. Dialog created
Action start 16:11:53: WixUIValidatePath.
Internal Error 2737. WixUIValidatePath, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\MSI42.tmp, ValidatePath
Action ended 16:11:53: WixUIValidatePath. Return value 1.
Action 16:11:53: InvalidDirDlg. Dialog created
Action 16:11:55: BrowseDlg. Dialog created
Action start 16:11:57: WixUIValidatePath.
Internal Error 2737. WixUIValidatePath, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\MSI43.tmp, ValidatePath
Action ended 16:11:57: WixUIValidatePath. Return value 1.
Action 16:11:57: InvalidDirDlg. Dialog created
Action 16:12:00: CancelDlg. Dialog created
Action ended 16:12:01: WelcomeDlg. Return value 2.
MSI (c) (70:B0): Doing action: UserExit
MSI (c) (70:B0): Note: 1: 2205 2:  3: ActionText
Action start 16:12:01: UserExit.

More information about the wix-users mailing list