Page 1 of 1

Call static method in a .NET dll

Posted: Tue Jul 03, 2007 7:17 am
by dcockrell
Hi,
I am using install aware version 6.6 and am wondering how I would call a static method in a .net dll that returns a string. I am prompting the user for some database connection information and need that to be encrypted via our encryption routines.

Thanks,

Don

Posted: Wed Jul 04, 2007 7:02 am
by MLS
You could pass the parameters to an exe after the dialog to save your connection information.

Or the way we do it is launch a configuration program after install since we do the same thing we encrypt the data in a file on the system.

If you need to cancel the setup because they havn't configured the connection then you can use a return code from the exe to indicate that they cancelled

Having it during install is nicer though

Posted: Thu Jul 05, 2007 7:11 am
by dcockrell
Yeah, that should work. It's not ideal for other reasons, but I can do that. Like you said, it would be nicer if we could call it from the install.

thanks