[wix-users] (no subject)
todd.hoatson at gmail.com
Fri Oct 26 10:11:07 PDT 2018
I have created an installer, and it works. In spite of the fact that I
get error messages, it still creates a working installer that pretty much
does what I want it to do. But I would like to understand why I'm getting
these error messages, and how to fix my WiX code so these error messages go
away. (They make my coworkers nervous.)
Here are the error messages:
error LGHT0204 : ICE38: Component EmptyWorkingDIR installs to user profile.
It must use a registry key under HKCU as its KeyPath, not a file.
error LGHT0204 : ICE64: The directory WorkingFolder is in the user profile
but is not listed in the RemoveFile table.
Here are (what I believe to be) the relevant lines from my WiX code:
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="WorkingFolder" Name="BART5" />
Our application looks for a configuration file in the working folder. If
it's not there, it uses the default settings, then saves its configuration
on exit. So, we simply want the installer to create this empty folder.
Am I doing this wrong? It works, but it gives me these errors, which I
would like to eliminate. Any suggestions?
Email: todd.hoatson at gmail.com
More information about the wix-users