Richard Kreidl
asked on
Update the registry??
I have the following .REG file that I would like to make into an executable.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings]
"MinorVersion"=";SP2;"
"CodeBaseSearchPath"="CODEBASE;<http://activex.microsoft.com/objects/ocget.dll>;<http://codecs.microsoft.com/isapi/ocget.dll>"
"UrlEncoding"="0x00000000"
"ActiveXCache"="C:\\WINDOWS\\Downloaded Program Files"
"ProxyEnable"=dword:00000001
"ProxyServer"="hoproxy:8080"
"ProxyOverride"="*.nml.com;*.nmfco.com;<local>"
"MigrateProxy"=dword:00000001
ASKER
That'll work, but it asks me questions like do you want to add information to the registry file and so on...
I would like it to be invisible to the user. That's why I wondered can an executable be setup to run silently without the prompting??
Thanks
I would like it to be invisible to the user. That's why I wondered can an executable be setup to run silently without the prompting??
Thanks
the /s prevents it prompting.
ASKER
it's still prompting me
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'm getting the following 3 prompts:
Are you sure you want to add the information in c:\ncfield1.REG to the registry?
Information in c:\ncfield1.REG has been successfully entered into the registry.
Are you sure you want to add he information in/s to the registry?
Are you sure you want to add the information in c:\ncfield1.REG to the registry?
Information in c:\ncfield1.REG has been successfully entered into the registry.
Are you sure you want to add he information in/s to the registry?
create a text file and rename it filename.bat
in the text file have the following
REGEDIT c:\myregfile.reg /s
running the bat file will install the registry values, you can change the path to the reg file to a UNC path or mapped drive if needed.