Please bear with me as I am completely new to VB. I am trying to create an install procedure and part of it requires that a number of registry values be set. I have all these settings saved to a .reg file which was created by exporting the appropriate branch from another PC where the settings were correct. I would like to simply merge the settings using a call from the VB code.
I am trying the following code in VB.Net but nothing seems to be getting merged when I check the registry:
Call Shell("c:\windows\regedit.exe /s " + "install.reg", AppWinStyle.Hide)
Sleep((6000))
I don't want to have to write numerous "regKey.setValue" lines of code to achieve this.
Thanks
I am trying the following code in VB.Net but nothing seems to be getting merged when I check the registry:
Call Shell("c:\windows\regedit.exe /s " + "install.reg", AppWinStyle.Hide)
Sleep((6000))
I don't want to have to write numerous "regKey.setValue" lines of code to achieve this.
Thanks