Page 1 of 1

keep user input for uninstallation?

Posted: Fri Feb 24, 2012 8:36 am
by ttcn2k4
Hi:

Our setup has to keep several password input from installation to re-use during the uninstallation. Just wonder if IA has a mechanism to do so? Since it's the password, I don't want to keep them in a text file.

If anyone has a good approach for that, please share.

Thanks
Nhan

Re: keep user input for uninstallation?

Posted: Fri Feb 24, 2012 11:33 am
by bokkie
Nhan,

I'll offer a quick shoot-from-the-hip suggestion. Perhaps you could write them to the registry and read them back when needed? I guess you'd probably need some encryption as well but I can't think of anything that does that. I wonder if that licence key example project gives further insight?

Re: keep user input for uninstallation?

Posted: Sat Feb 25, 2012 4:17 am
by FrancescoT
Hi Nhan,

as previously "bokkie" said, it is just to find a way most appropriate to accomplish your specific needs. That could be, to save a values in the registry or some particular files somewhere.

Anyway it could be much more better, if you can find a way to do this using cryptographic functions to keep those infos (Encryption / Decryption).

If you want, you can have a look a the following topic, it is available a plugin to handle cryptographics needs.
http://www.installaware.com/forum/viewt ... f=3&t=8460

Hope this helps you.

Regards