/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (1)

Posted by: Lillude 17 years ago
Senior Purple Belt
0
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ