Change dword value script
Hello, can anyone help me? I am trying to creat a script that will change the dword value of the following regkey during install of the msi. This will need to run as a custom action.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"DisableCachingofSSLPages"=dword:00000000
thanks
Len
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"DisableCachingofSSLPages"=dword:00000000
thanks
Len
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
Lillude
18 years ago
Dim WshShell
Set WshShell =CreateObject("WScript.Shell")
WshShell. RegWrite"HKLM\Software\Test\abc", 1, "REG_DWORD"
set WshShell = Nothing
This will chage the value to "1" and you can edit it according to your need.
same script can be used in the custom action also and even if the registry entry is already present this will update the value.
Set WshShell =CreateObject("WScript.Shell")
WshShell. RegWrite"HKLM\Software\Test\abc", 1, "REG_DWORD"
set WshShell = Nothing
This will chage the value to "1" and you can edit it according to your need.
same script can be used in the custom action also and even if the registry entry is already present this will update the value.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.