Call static method in a .NET dll

Got a problem you cannot solve? Try here.
dcockrell
Posts: 2
Joined: Tue Jul 03, 2007 7:12 am

Call static method in a .NET dll

Postby dcockrell » Tue Jul 03, 2007 7:17 am

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

MLS
Posts: 56
Joined: Fri Jan 26, 2007 4:57 am

Postby MLS » Wed Jul 04, 2007 7:02 am

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

dcockrell
Posts: 2
Joined: Tue Jul 03, 2007 7:12 am

Postby dcockrell » Thu Jul 05, 2007 7:11 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: JohnGaver and 55 guests