Jump to content

Reg Files with WPI


Recommended Posts

Sorry guys, still noob to this but I have 2 reg files I have to import into the registry before my silent install. Is there anyway to silent install reg files or auto answer them... :blink:

I might have to move this to another forumn?

Thanks in advance

Link to comment
Share on other sites


You can't use regedit /s *.reg ...

You can use multi pn[n] lines in config.js in WPI:

prog[pn]=['Reg tweaks for examples ...']
uid[pn]=['TWEAKS']
cmd1[pn]=['regedit /s %cdrom%\\Tweak1.reg']
cmd2[pn]=['regedit /s %cdrom%\\Tweak2.reg']
dflt[pn]=['yes']
cat[pn]=['Tweaks']
pn++

If you have many many regfile, prefer use a batch file with this code

cd /d "%~dp0"
for /f %%a in ('dir /b /s *.reg') do start /wait "" "regedit" /s %%a

Edited by sonic
Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...