I have some variables that I need to set once while installing. For example I need to set COM port, registration of the vehicle and so on…
How to write to config file during installation once and only read it always after. Is there any custom installation tool. I have looked at WinX and I must say that I was not so pleased.
Thank you.
Just make a new form like SplashScreen and do u r initialisation in app.config, add a new variable named
fInstalledin app.config and change its value to true.Now where ever you start your application check whether
fInstalledis true, if it is false go to your MainForm else reconfigure using splashscreen.SplashScreen is just an example or u can also do without splash screen.