MSFN Forum: Reg Files with WPI - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Reg Files with WPI Rate Topic: -----

#1 User is offline   Cteckie 

  • Group: Members
  • Posts: 9
  • Joined: 16-October 04

Posted 25 November 2005 - 08:56 PM

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


#2 User is offline   Cteckie 

  • Group: Members
  • Posts: 9
  • Joined: 16-October 04

Posted 25 November 2005 - 10:08 PM

Figured it out... Had to create a batch file instead of a cmd and use:

regedit /s *.reg

thanks...

#3 User is offline   Sonic 

  • Sonic
  • Group: Patrons
  • Posts: 1,595
  • Joined: 04-December 03

Posted 27 November 2005 - 06:07 PM

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

This post has been edited by sonic: 27 November 2005 - 06:07 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy