2
Reply

Custom Install

dotnetdev

dotnetdev

Mar 29 2004 12:26 PM
2k
Hello. I got ASP.NET project and I want to create custom setup project for it. I've done following steps: 1.I created a new WebSetup project in my solution. 2.I created a new Class Project in my solution. in thid project I've add a new Installer class which inherits System.Configuration.Install.Installer. So I overrided some functions like Install, Uninstall etc. Also in WebSetup project in UserInterface I added a TextBoxes(A) form. My WebSetup project writes some value to the Registry "HKLM\SOFTWARE\MySoft\WebAppliction" After all, all I need it's just to read Registry and find out if there are my application was previously installed, and if it was installed earlier I need to write Registry values into TextBoxes(A) form TextBoxes. If I try do that in Install method it not works, because TextBoxes(A) form is shown before the Install starts and TextBoxes in TextBoxes(A) form are empty, but I want to fill them values from Registry if my key exists...

Answers (2)