[wix-users] Can't Access CustomData during uninstall

Rob Mensching rob at firegiant.com
Wed Mar 27 11:28:48 PDT 2019

That callstack doesn't have any WiX code on it.

Short replies here. Complete answers over there: http://www.firegiant.com/

From: Justin Cox <cox.justin.a at gmail.com>
Sent: Wednesday, March 27, 2019 10:04 AM
To: Rob Mensching <rob at firegiant.com>
Cc: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Can't Access CustomData during uninstall

So the error was in my catch block, which I threw to an immediateCA error catcher, which sets a variable, then writes it to a log after exiting the CA.  Fixing that, the error I'm getting now is:

System.Collection.Generic.KeyNotFoundException: The given key was not present in the dictionary,
  at System.Collections.Generic.Dictionary'2.get_Item(TKey key)
  at XXXXXShared.DPWixExtension.UninstallFolders(Session session)

So it still seems it's not getting the FolderList variable, even though the log shows it's being set.  I'm stumped!

More information about the wix-users mailing list