ashtilman
Posts: 8
Joined: Mon Mar 28, 2011 6:43 pm

Setting a property from an exe file

Hi,

as part of my installation I need to encrypt the password entered by the user in one of the dialogs so I can insert into our database encrypted.

I must set a the password property from an exe file that encrypts the password? how can I accomplish this ? I am trying to use a custom action but I am not able to set the property from the exe file...

any ideas?

thanks
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Setting a property from an exe file

Hi,

I'm afraid this is not possible, Windows Installer does not allow public properties to be accessed from an EXE file. You could use a DLL instead, similar to the one from the following example.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”