1to1 Posted July 31, 2005 Posted July 31, 2005 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$|----$1WPIWPI.ICOAUTORUN.INFINSTALLthank again to all.
oneless Posted July 31, 2005 Posted July 31, 2005 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 .)
1to1 Posted July 31, 2005 Author Posted July 31, 2005 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 .)<{POST_SNAPBACK}>sorry I didn't get what you mean.
blinkdt Posted August 1, 2005 Posted August 1, 2005 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=15prog[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=25prog[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.
oneless Posted August 1, 2005 Posted August 1, 2005 @1to1 , maybe you arent so specific with what you wanti 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 moreset o registry commands (.reg) , for cleaning links , move links , folders...etcexecuted like @blinkdt show you in different ways .be sure that this entry of WPI have the bigger number hereordr[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 ...
1to1 Posted August 1, 2005 Author Posted August 1, 2005 oneless and blinkdtThanks for your help I will try one of these ways and if I can't worked it out I will get back to you.thanks again.
Lost Soul Posted August 2, 2005 Posted August 2, 2005 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
1to1 Posted August 2, 2005 Author Posted August 2, 2005 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<{POST_SNAPBACK}>Please can you explain in easy way for none programer user.best regards.
Lost Soul Posted August 2, 2005 Posted August 2, 2005 (edited) ok here goeswith on your $oem$ directory which should be here XPCD\$OEM$create 3 filescmdlines.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 EXITRegTweaks.regWindows 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:00000000and so on and so onyou should really read the unattended guide it should be your first step on any learning process towards the unattended scenehttp://unattended.msfn.org/pls read that for any further questionsbest of luck.. hope this helps out more Edited August 2, 2005 by Lost Soul
1to1 Posted August 2, 2005 Author Posted August 2, 2005 ok here goeswith on your $oem$ directory which should be here XPCD\$OEM$create 3 filescmdlines.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 EXITRegTweaks.regWindows 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:00000000and so on and so onyou should really read the unattended guide it should be your first step on any learning process towards the unattended scenehttp://unattended.msfn.org/pls read that for any further questionsbest of luck.. hope this helps out more<{POST_SNAPBACK}>It's might sound a bit stupid but my problem in which directory should I place the RegTweaks.reg?thanks
Lost Soul Posted August 2, 2005 Posted August 2, 2005 ok here goeswith on your $oem$ directory which should be here XPCD\$OEM$create 3 filescmdlines.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 EXITRegTweaks.regWindows 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:00000000and so on and so onyou should really read the unattended guide it should be your first step on any learning process towards the unattended scenehttp://unattended.msfn.org/pls read that for any further questionsbest of luck.. hope this helps out more<{POST_SNAPBACK}>It's might sound a bit stupid but my problem in which directory should I place the RegTweaks.reg?thanks<{POST_SNAPBACK}>reread my post it has the answer to your question you just asked , all 3 files go in the same folder
1to1 Posted August 2, 2005 Author Posted August 2, 2005 I've got it thanks for your help.my best regards to all.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now