Setting value in installer and reading at runtime
-
Hi, I am not very familiar with Installers hence need help. I would like to allow user to choose from various options while installing the windows application. When he runs the application, it should read what user had selected at the time of installation and show/hide items accordingly. Is there any way to do this? Or do I need to write this in some file? .config file may be. But I would like to avoid writing to a file. Thanks a lot. -AD
Every bit counts
-
Hi, I am not very familiar with Installers hence need help. I would like to allow user to choose from various options while installing the windows application. When he runs the application, it should read what user had selected at the time of installation and show/hide items accordingly. Is there any way to do this? Or do I need to write this in some file? .config file may be. But I would like to avoid writing to a file. Thanks a lot. -AD
Every bit counts
-
Hi, I am not very familiar with Installers hence need help. I would like to allow user to choose from various options while installing the windows application. When he runs the application, it should read what user had selected at the time of installation and show/hide items accordingly. Is there any way to do this? Or do I need to write this in some file? .config file may be. But I would like to avoid writing to a file. Thanks a lot. -AD
Every bit counts
I believe, a strong solution is indeed what you are trying to avoid....u get it.."FILES".... You can write the installation settings onto a text file and keep it hidden somewhere on the user machine, thts one of the best ways, really. Alternatively, you can use windows registry to store the installation settings which is suppposedly the best way and the usual way other applications store settings during installation. I havent tried the latter approach though and you may have to refer MSDN for this, u can get the complete code for your kinda requirements on MSDN. Files have been my favorite way out for quite some time now. :)