Redstogyugyu Redstogyugyu - 7 months ago 12
Vb.net Question

Is there any way to add a program to the installed programs by using Visual Basic?

I wanna make an installer in Visual Basic. So, is it possible to add a program to the installed programs? If yes, how? Thank you! (sorry for translating, I'm not so good in english)

Answer

You can reach to regedit with vb.net and add an installed program with uninstall informations into regedit

chech this link https://msdn.microsoft.com/en-us/library/windows/desktop/aa368032%28v=vs.85%29.aspx

and you can use registry class to add or list of registry keys

For Each keys In Registry.CurrentUser.OpenSubKey("software").OpenSubKey("software name").GetSubKeyNames
        'do something to keys
    Next