#5 Custom install path?


Hi, we have an ancient tool that we are attempting to wrap in an Installer. The tool requires being installed to "C:\thetool" to function correctly, as the paths hard coded in the code :-(. I have attempted to set the "Configurable directory" property "APPLICATIONFOLDER" to "C:\", but this fails with the following error:

D:\dev\thetool\thetool.wxs(175) : error CNDL0027 : The Directory/@Name attribute's value, 'C:\', is not a valid long name because it contains illegal characters. Legal long names contain no more than 260 characters and must contain at least one non-period character. Any character except for the follow may be used: \ ? | > < : / * ".

What do I need to do to make this possible?

I assume this should not be an error, as I can set the APPLICATIONFOLDER to something else, compile, then I can override the APPLICATIONFOLDER with the msiexec to "C:\", and it works great:

msiexec.exe /i thetool.msi APPLICATIONFOLDER="C:\"


I am using "wix3.0.5419.0-x86-setup.zip" and "WarSetup-3.13.msi"


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks