Cryptography/Cryptographer config issue in .msi

Dec 5, 2007 at 3:32 PM
Hi,

I am trying to call the Cryptographer.DecryptSymmetric() method as part of a custom action in an MSI package but I am getting an error saying that the config section is not there for the AppDomain. I guess this all makes sense since I am actually running within the "MSI app domain". I.e. within this context I don’t automatically have "access" to the app.config that contains all the EL settings needed. How can I fix this? Is there a way to manually load the app.config settings and make them available to the Cryptographer or can I add an app.config file to the MSI context? Any help is appreciated...

Cheers,
Carl-Johan