Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CNDL0001: The given key was not present in the dictionary. #4484

Closed
wixbot opened this issue Jul 30, 2014 · 0 comments
Closed

CNDL0001: The given key was not present in the dictionary. #4484

wixbot opened this issue Jul 30, 2014 · 0 comments

Comments

@wixbot
Copy link

wixbot commented Jul 30, 2014

After installing 4.0.1726 (over 4..0.702), I am getting the following error:

candle.exe(0,0): error CNDL0001: The given key was not present in the dictionary.

I traced the culprit to the following definition:

<?define MergeModulesDir = "$(env.CommonProgramFiles(x86))\Merge Modules" ?>

Apparently, with this new release, the specified environment key is not recognized.

Similarly, ProgramFiles(x86) is not recognized.

whereas env.windir, env.CommonProgramFiles and env.ProgramFiles work just fine.

It seems that the issue is in the (x86) designation.

Note that the error message did not point to the unknown key, which required a bit of trial and error to nail down.

Thanks

David

Originally opened by davidhary

@wixbot wixbot added this to the v4.0 milestone Dec 20, 2015
@robmen robmen self-assigned this Jul 23, 2020
@rseanhall rseanhall added this to Needs investigation in wix.4.0-preview.0 Nov 16, 2020
robmen added a commit to wixtoolset/Core that referenced this issue Jan 7, 2021
wix.4.0-preview.0 automation moved this from Needs investigation to Done Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

3 participants