Sign in to follow this  
Followers 0
NeubDeveloper

HKLM Reg file Import

2 posts in this topic

I am new to developing and trying to learn quickly. I am trying figure out how to deploy this reg file through LanDesk. Thank you in advance.

[HKEY_LOCAL_MACHINE\SOFTWARE\PassThruSupport\Company\Devices\device]

"Name"="Device over WLAN"

"ProtocolsSupported"="ISO15765, J1850VPW, ISO14230"

"DeviceId"=dword:00000003

"ConfigApplication"="\"C:\\Program Files\\Company\\device\\WirelessConfigurationApplication.exe\""

"FunctionLibrary"="nwirwp32.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\PassThruSupport\Device]

"Name"="Device over USB"

"ProtocolsSupported"="ISO15765, J1850VPW, ISO14230"

"DeviceId"=dword:00000002

"ConfigApplication"="NA.exe"

"FunctionLibrary"="nwirup32.dll"

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hi

You can use RegWrite function, see documentation for examples

RegWrite("HKLM\SOFTWARE\PassThruSupport\Company\Devices\device", "Name", "REG_SZ", "Device over WLAN" )
RegWrite("HKLM\SOFTWARE\PassThruSupport\Company\Devices\device", "ProtocolsSupported", "REG_SZ", "ISO15765, J1850VPW, ISO14230" )
RegWrite("HKLM\SOFTWARE\PassThruSupport\Company\Devices\device", "DeviceId", "REG_DWORD", 3 )
RegWrite("HKLM\SOFTWARE\PassThruSupport\Company\Devices\device", "ConfigApplication", "REG_SZ", @ProgramFilesDir & "\Company\device\WirelessConfigurationApplication.exe" )
RegWrite("HKLM\SOFTWARE\PassThruSupport\Company\Devices\device", "FunctionLibrary", "REG_SZ", "nwirwp32.dll" )
Edited by totos

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0