Jump to content

New to WPI


Recommended Posts

After I looking and reading all over the forum I managed to get it working it’s perfects I like to say to all the people who worked hard in developing and improving WPI Well-done and Thanks.

I one question, Where should I put my tweaks.reg file to be installed as the last programe?

My folders tree:

I386

$OEM$

|----$1

WPI

WPI.ICO

AUTORUN.INF

INSTALL

thank again to all.

Link to comment
Share on other sites


dont matter since you use a path to run them .

normally i use a folder called APPlications (near the WPI directory) where i store all my stuff .

if you dont want to copy all to harddisk , use a folder outside of $OEM$ folder

and run them from the CD (isnt normally to copy 200..400 MB to harddisk and after that to run apps who need just 10..30 MB space .)

Link to comment
Share on other sites

dont matter since you use a path to run them .

normally i use a folder called APPlications (near the WPI directory) where i store all my stuff .

if you dont want to copy all to harddisk , use a folder outside of $OEM$ folder

and run them from the CD (isnt normally to copy 200..400 MB to harddisk and after that to run apps who need just 10..30 MB space .)

sorry I didn't get what you mean.

Link to comment
Share on other sites

You are probably using cmdlines.txt to import Windows-specific reg tweaks. I like to take advantage of WPI's awesome features to import program-specific reg tweaks. You can import reg tweaks before (regb) or after (rega) the commands, for example:

pn=15
prog[pn]=['XP PowerToys']
desc[pn]=['<center><img src="./icons/power.png" width="128" height="128"><br>Useful collection of non-intrusive power user tools.</center>']
cmd1[pn]=['%cdrom%\\Programs\\PowerToysXP\\TweakUI.msi /qb']
cmd2[pn]=['%cdrom%\\Programs\\PowerToysXP\\PowerCalcPowertoySetup.exe /s /v/qn']
cmd3[pn]=['%cdrom%\\Programs\\PowerToysXP\\CmdHerePowertoySetup.exe /s /v/qn']
cmd4[pn]=['%cdrom%\\Programs\\PowerToysXP\\TaskswitchPowertoySetup.exe /s /v/qn']
rega[pn]=['%cdrom%\\Programs\\PowerToysXP\\PowerToysXP.reg']
dflt[pn]=['yes']
forc[pn]=['false']
cat[pn]=['Geek Tools']
ordr[pn]=[150]
uid[pn]=['']
deps[pn]=['']
pn++

...or as part of a command line itself:

pn=25
prog[pn]=['WinZip 9']
desc[pn]=['<center><img src="./icons/Winzip.png" width="128" height="128"><br>An essential tool for creating<br>and opening .ZIP format files.</center>']
cmd1[pn]=['%cdrom%\\Programs\\WinZip.exe']
cmd2[pn]=['REGEDIT /S %windir%\\Temp\\WinZip.reg']
cmd3[pn]=['%windir%\\Temp\\WinZipSFX.exe']
cmd4[pn]=['\"%programfiles%\\winzip\\winzip32.exe\" /noqp /notip /autoinstall /cleaninstall']
cmd5[pn]=['REGEDIT /S %windir%\\Temp\\WinZip2.reg']
dflt[pn]=['yes']
forc[pn]=['false']
cat[pn]=['Utilities']
ordr[pn]=[250]
uid[pn]=['']
deps[pn]=['']
pn++

If you have one large reg file, maybe consider adding it to the last item being installed. Hope the examples help.

Link to comment
Share on other sites

@1to1 , maybe you arent so specific with what you want

i understand some , @blinkdt give an answer very documented

with what he understand .

normally all of us as last command we use something called

cleaner , this can be one or more commands (.cmd) , and/or , one or more

set o registry commands (.reg) , for cleaning links , move links , folders...etc

executed like @blinkdt show you in different ways .

be sure that this entry of WPI have the bigger number here

ordr[pn]=[999] <---
to be the last command executed and of course is selected when you run your WPI.

if you can be more specific with what you want ...

Link to comment
Share on other sites

i say the best way is to envok them during cmdlines that way you can create your user accounts before that so all users there after,, will inherit the regtweaks

Please can you explain in easy way for none programer user.

best regards.

Link to comment
Share on other sites

ok here goes

with on your $oem$ directory which should be here

XPCD\$OEM$

create 3 files

cmdlines.txt this file will automatically be picked up before wpi ever starts it calls out to the 2 files mentioned, it gets executed at the T-12 mark

[COMMANDS]".\useraccounts.cmd"

"REGEDIT /S .\RegTweaks.reg"

useraccounts.cmd this creates the user account with administrative rights

@ECHO OFF

NET USER "xxxx" "" /ADD /COMMENT:"Generated Administrator Account"

NET LOCALGROUP Administrators "xxxx" /ADD

NET ACCOUNTS /MAXPWAGE:UNLIMITED

EXIT

RegTweaks.reg
Windows Registry Editor Version 5.00

;-----------------------

;Operating System Tweaks

;-----------------------

;Speed up shutdown

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]

"WaitToKillServiceTimeout"="3000"

;Disables Error Reporting, but notifies when errors occur

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]

"DoReport"=dword:00000000

and so on and so on

you should really read the unattended guide it should be your first step on any learning process towards the unattended scene

http://unattended.msfn.org/

pls read that for any further questions

best of luck.. hope this helps out more

Edited by Lost Soul
Link to comment
Share on other sites

ok here goes

with on your $oem$ directory which should be here

XPCD\$OEM$

create 3 files

cmdlines.txt this file will automatically be picked up before wpi ever starts it calls out to the 2 files mentioned, it gets executed at the  T-12 mark

[COMMANDS]

".\useraccounts.cmd"

"REGEDIT /S .\RegTweaks.reg"

useraccounts.cmd this creates the user account with administrative rights

@ECHO OFF

NET USER "xxxx" "" /ADD /COMMENT:"Generated Administrator Account"

NET LOCALGROUP Administrators "xxxx" /ADD

NET ACCOUNTS /MAXPWAGE:UNLIMITED

EXIT

RegTweaks.reg
Windows Registry Editor Version 5.00

;-----------------------

;Operating System Tweaks

;-----------------------

;Speed up shutdown

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]

"WaitToKillServiceTimeout"="3000"

;Disables Error Reporting, but notifies when errors occur

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]

"DoReport"=dword:00000000

and so on and so on

you should really read the unattended guide it should be your first step on any learning process towards the unattended scene

http://unattended.msfn.org/

pls read that for any further questions

best of luck.. hope this helps out more

It's might sound a bit stupid but my problem in which directory should I place the

RegTweaks.reg?

thanks

Link to comment
Share on other sites

ok here goes

with on your $oem$ directory which should be here

XPCD\$OEM$

create 3 files

cmdlines.txt this file will automatically be picked up before wpi ever starts it calls out to the 2 files mentioned, it gets executed at the  T-12 mark

[COMMANDS]

".\useraccounts.cmd"

"REGEDIT /S .\RegTweaks.reg"

useraccounts.cmd this creates the user account with administrative rights

@ECHO OFF

NET USER "xxxx" "" /ADD /COMMENT:"Generated Administrator Account"

NET LOCALGROUP Administrators "xxxx" /ADD

NET ACCOUNTS /MAXPWAGE:UNLIMITED

EXIT

RegTweaks.reg
Windows Registry Editor Version 5.00

;-----------------------

;Operating System Tweaks

;-----------------------

;Speed up shutdown

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]

"WaitToKillServiceTimeout"="3000"

;Disables Error Reporting, but notifies when errors occur

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]

"DoReport"=dword:00000000

and so on and so on

you should really read the unattended guide it should be your first step on any learning process towards the unattended scene

http://unattended.msfn.org/

pls read that for any further questions

best of luck.. hope this helps out more

It's might sound a bit stupid but my problem in which directory should I place the

RegTweaks.reg?

thanks

reread my post it has the answer to your question you just asked , all 3 files go in the same folder

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...