Jump to content

Worf

Member
  • Posts

    186
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by Worf

  1. Ok, i first posted this as a reply to another post and thought i would post it again here for all to read. Nobody has seemed to have mentioned this method of installing applications so i thought i would post this method which is the way i do it. Now, the method i have seen posted here using the RunOnceEX.cmd installed applications after the first login which i do not like, this method will install the applications on the first reboot after Windows has finnished installing. Below is the way i do it, which is a lot better i think. This is my $OEM$ folder. -----$OEM$ |---- $1 |----Temp |-----RunOnceEX.cmd My RunOnceEX.cmd is copied to my harddrive inside the Temp Folder. Anything in the $1 folder is copied to the root of your harddrive. I.E. C:\Temp\RunOnceEX.cmd You can if you wish leave the RunOnceEx.cmd on your CDROM and run it from there. ----------------------------------------------------------------------------------------- This is part of my RunOnceEX.cmd file. cmdow @ /HID @echo off The lines below looks for the CD.TXT on the CDRom and assigns that letter to CDROM. IF EXIST D:\CD.TXT SET CDROM=D: IF EXIST E:\CD.TXT SET CDROM=E: IF EXIST F:\CD.TXT SET CDROM=F: IF EXIST G:\CD.TXT SET CDROM=G: IF EXIST H:\CD.TXT SET CDROM=H: IF EXIST I:\CD.TXT SET CDROM=I: IF EXIST J:\CD.TXT SET CDROM=J: SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY%/V TITLE /D "Installing Applications" /f REG ADD %KEY%/V1 /D "Please wait while Your Applications" /f ; Install SpyWare Doctor REG ADD %KEY%06 /VE /D "SpyWare Doctor" /f REG ADD %KEY%06 /V 1 /D "%CDROM%\apps\SpywareDoctor\sdsetup.exe /VERYSILENT /SP- /NORESTART" /f ; Cleaning Up And Rebooting REG ADD %KEY%95 /VE /D "Cleaning Up And Rebooting" /f REG ADD %KEY%95 /V 1 /D "%CDROM%\CleanUP\cleanup.cmd" /f Exit --------------------------------------------------------------------------------------------- The line below goes in my WINNT.sif file, it is the very last line in this file. Since my RunOnceEX.cmd was copied to the root of the harddrive ie C:\Temp\RunOnceEX.cmd i use the line UserExecute="%systemdrive%\Temp\RunOnceEX.cmd (%systemdrive% being C:) If you wish to leave your RunOnceEX.cmd on the CDROM and have it run from there, then change %systemdrive% to %CDROM% [setupParams] UserExecute="%systemdrive%\Temp\RunOnceEx.cmd" This way as i said before will install my applications on the first reboot after Windows has finished installing and not after my first login. Try it, you will fined it a lot better than the other method.... Hope this helps anyone? Worf.
  2. The only problem with this method which i do not like, is as you say, the RunOnceEX will run after the first login. The method i use will allow my applications to install on the first reboot directly after Windows installation has finished and not after the first login. Below is the way i do it, which is a lot better i think. This is my $OEM$ folder. -----$OEM$ |---- $1 |----Temp |-----RunOnceEX.cmd My RunOnceEX.cmd is copied to my harddrive inside the Temp Folder. Anything in the $1 folder is copied to the root of your harddrive. I.e. C:\Temp\RunOnceEX.cmd ----------------------------------------------------------------------------------------- This is part of my RunOnceEX.cmd file. cmdow @ /HID @echo off The lines below looks for the drive letter of my CDRom and assigns that letter to CDROM. IF EXIST D:\CD.TXT SET CDROM=D: IF EXIST E:\CD.TXT SET CDROM=E: IF EXIST F:\CD.TXT SET CDROM=F: IF EXIST G:\CD.TXT SET CDROM=G: IF EXIST H:\CD.TXT SET CDROM=H: IF EXIST I:\CD.TXT SET CDROM=I: IF EXIST J:\CD.TXT SET CDROM=J: SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY%/V TITLE /D "Installing Applications" /f REG ADD %KEY%/V1 /D "Please wait while Your Applications" /f ; Install SpyWare Doctor REG ADD %KEY%06 /VE /D "SpyWare Doctor" /f REG ADD %KEY%06 /V 1 /D "%CDROM%\apps\SpywareDoctor\sdsetup.exe /VERYSILENT /SP- /NORESTART" /f ; Cleaning Up And Rebooting REG ADD %KEY%95 /VE /D "Cleaning Up And Rebooting" /f REG ADD %KEY%95 /V 1 /D "%CDROM%\CleanUP\cleanup.cmd" /f Exit --------------------------------------------------------------------------------------------- The line below goes in my WINNT.sif file, it is the very last line in this file. Since my RunOnceEX.cmd was copied to the root of the harddrive ie C:\Temp\RunOnceEX.cmd i use the line UserExecute="%systemdrive%\Temp\RunOnceEX.cmd (%systemdrive% being C:) [setupParams] UserExecute="%systemdrive%\Temp\RunOnceEx.cmd" This way as i said before will install my applications on the first reboot after Windows has finished installing and not after my first login. Try it, you will fined it a lot better than the other method.... Hope this helps anyone? Worf.
  3. Hi again. Ok, i have got my last post question working Thank you who helped. Now to my next probelm. I want to prevent the program icon from appearing in the Icon Notificatio Area when it is ran at windows startup. Is there a way to stop the icon from appearing i there? Many Thanks For Any Help Worf
  4. Thank you all again for this information, will come in handy for future addons
  5. Thank you for your help.
  6. Hi I want to make an addon of a program and i want the program to insert a short cut to the Start Up folder on instalation from an INF file, i have found the line below in the INF file which creates a short cut to the programs folder but it does not create on in the Start Up folder. ProfileItems =Name.AddShortcut how do i get it to install a short cut to the Startup Folder please? Many Thanks Worf. P.S. Merry Christmas to all
  7. Hi. Does anyone know the switches for Spyware Doctor and also to avoid installing Google Tool Bar please? Many Thanks Worf
  8. Thank you Shark, i will give those a try.
  9. Hi Hope this is in the right place? I am looking for software where i can make changes in the setup and installer file for .EXE and .MSI. For instance, Windows Defender starts up after it has been installed which i don't want it to do, so i want to examine the file and try to remove the part that tells it to start up and then repack it. Hope i have made myself clear? lol Many thanks Worf
  10. Hi. How do i convert the variable %%a to show up as a drive letter in the registery when i REG ADD it? for %%a in (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%a:\Documents and Settings\%USERNAME% Set MYDOC=%%a:\Documents And Settings\%USERNAME% SET MYREG=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders] REG ADD "%MYREG%" /V "Personal" /T REG_EXPAND_SZ /D "%MYDOC%\My Documents" /F Now in the registery it is showing up as %a:\Documents and Settings\UserName\My Documents How do i get it to show up as D:\Documents and Settings\UserName\My Documents? Just need to get this sorted out and i think my goal will be complete. Many Thanks Worf.
  11. Hi I've manage to find a way to move Documents And Settings to another drive using CMD but i have an error. Here's what i have done. Now the problem is in the REG ADD lines. I'm getting the errors which is: REG ADD %KEY%\001 /V 1 /D "REGEDIT /S AppData"="%MYDOC%\\Documents and Settings\\%MYDOC%\\Application Data" Error: Too many command-line parameters Can anyone please help? Many Thanks Worf. P.S. This part works For %%a in (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%a:\Documents and Settings\%USERNAME% Set MYDOC=%%a:\Documents And Settings\%USERNAME% It scans the drives finds documents and setting\username.
  12. Yes. If your version was an OEM then you can edit it to become an Retail Version. As it says. Retail to OEM Pin=51882OEM - OEM to Retail Pin=51882OEM
  13. Hi all I've just came across this and thought i'd share it with you all, could come in handy. Unlocking WinXP's setupp.ini WinXP's setupp.ini controls how the CD acts. IE is it an OEM version or retail? First, find your setupp.ini file in the i386 directory on your WinXP CD. Open it up, it'll look something like this: ExtraData=707A667567736F696F697911AE7E05 Pid=55034000 The Pid value is what we're interested in. What's there now looks like a standard default. There are special numbers that determine if it's a retail, oem, or volume license edition. First, we break down that number into two parts. The first five digits determines how the CD will behave, ie is it a retail cd that lets you clean install or upgrade, or an oem cd that only lets you perform a clean install? The last three digits determines what CD key it will accept. You are able to mix and match these values. For example you could make a WinXP cd that acted like a retail cd, yet accepted OEM keys. Now, for the actual values. Remember the first and last values are interchangable, but usually you'd keep them as a pair: Retail = 51882 335 Volume License = 51883 270 OEM = 82503 OEM So if you wanted a retail CD that took retail keys, the last line of your setupp.ini file would read: Pid=51882335 And if you wanted a retail CD that took OEM keys, you'd use: Pid=51882OEM Note that this does NOT get rid of WinXP's activation. Changing the Pid to a Volume License will not bypass activation. You must have a volume license (corporate) key to do so.
  14. Can not download any of them just get 404 page not found
  15. How many add-ons and other stuff have you intergrated into you windows? As this will increase the time windows installs.
  16. No, i ran setup so that nero extracts all the files to the temp folder. Then i copied all of the files in the %temp%\Nero7.tmp\ to my desktop then ran the cmd. The temp folder was emptied before i started to make sure i get the right folder.
  17. Hi. Ok, i've followed the steps in this guide and copied all to my desktop. From cmd i typed "msiexec /a nero.msi" w/o the quotes. Now the problem is when it starts to copy file it come up with an error asking for a .cab file "3AC46198.CAB" i've had a look in the CAB folder and there is no such file. Anyone care to help? Many Thanks Worf.
  18. Hi. Can anyone please tell me what the best Trojan remover is? Many Thanks Worf
  19. Hi. I want to change all the icons in windows, i know some of the locations where they are stored (i.e. Shell32, explorer ect.) Is there somewhere where i can get a list of all the icons and what .exe/.dll they are stored in and also the names of the icons? Many Thanks Worf. P.S. Sorry if something like this has been posted before, did search but couldn't fine what i was looking for.
  20. Hi. I seem to be getting an error in my WinNT.sif file while installing , i've check it and nothing has changed in the file. Anyone have any ideas? Error: The following value specified in the setup answer file is not defined in the .SIF file, section [Keyboard Layout]: United Kingdom Setup cannot continue. To quit Setup, Press F3. Copy of WinNT.sif file. [Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=Yes [unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS Repartition=NO FileSystem=* UnattendSwitch="Yes" WaitForReboot="NO" DriverSigningPolicy=Ignore KeyBoardLayout="United Kingdom" [GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=85 OemSkipWelcome=1 Many Thanks Worf
  21. Hi here is a copy of my cmdlines.txt and RunOnceEx.cmd files eyeball. Thankyou for you offer to help, and also to you all. CmdLines.txt. [COMMANDS] "useraccounts.cmd" "RunOnceEx.cmd" RunOnceEx.cmd cmdow @ /HID @echo off IF EXIST D:\CD.TXT SET CDROM=D: IF EXIST E:\CD.TXT SET CDROM=E: IF EXIST F:\CD.TXT SET CDROM=F: IF EXIST G:\CD.TXT SET CDROM=G: IF EXIST H:\CD.TXT SET CDROM=H: IF EXIST I:\CD.TXT SET CDROM=I: IF EXIST J:\CD.TXT SET CDROM=J: IF EXIST K:\CD.TXT SET CDROM=K: IF EXIST L:\CD.TXT SET CDROM=L: IF EXIST M:\CD.TXT SET CDROM=M: IF EXIST N:\CD.TXT SET CDROM=N: IF EXIST O:\CD.TXT SET CDROM=O: IF EXIST P:\CD.TXT SET CDROM=P: IF EXIST Q:\CD.TXT SET CDROM=Q: IF EXIST R:\CD.TXT SET CDROM=R: IF EXIST S:\CD.TXT SET CDROM=S: IF EXIST T:\CD.TXT SET CDROM=T: IF EXIST U:\CD.TXT SET CDROM=U: IF EXIST V:\CD.TXT SET CDROM=V: IF EXIST W:\CD.TXT SET CDROM=W: REG ADD %KEY% /V TITLE /D "Installing Applications And Other Files" /f ; User Information ; Installing Applications And Other Files. REG ADD %KEY%\001 /VE /D "Over the next few minutes you will see automated installations"/f REG ADD %KEY%\001 /VE /D "of various software applications, windows updates, and registry tweaks" /f REG ADD %KEY%\001 /VE /D "being implemented. The computer will restart automatically" /f REG ADD %KEY%\001 /VE /D "once the whole process has finished!" /f REG ADD %KEY%\001 /VE /D " " /f ; Applications To Install ; WinZip 10 REG ADD %KEY%\005 /VE /D "WinZip 10" /f REG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\WinZip\SETUP.exe /autoinstall /noqp" /f REG ADD %KEY%\005 /V 2 /D "REGEDIT /S %CDROM%\Software\WinZip\Reg.reg" /f ; WinRAR REG ADD %KEY%\006 /VE /D "WinRAR" /f REG ADD %KEY%\006 /V 1 /D "%CDROM%\Software\WinRAR\Wrar35.exe /s" /f ;Install Reg Tweaks REG ADD %KEY%\080 /VE /D "Importing Registry Tweaks" /f REG ADD %KEY%\080 /V 1 /D "REGEDIT /S %CDROM%\Regtweaks\Regtweaks.reg" /f ; Finding And Moveing My Documents REG ADD %KEY%\100 /VE /D "Finding And Moving My Documents Folder" For %%a in (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%a:\My Documents set MYDOC=%%a:\My Documents REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders /v Personal /t REG_SZ /d "%MYDOCS%" /f ; Cleaning Up And Rebooting REG ADD %KEY%\085 /VE /D "Cleaning Up And Rebooting" /f REG ADD %KEY%\085 /V 1 /D "cleanup.cmd" /f EXIT Again thank you all Regards Worf
  22. Thanks for the reply. I have done this but for some reason windows sticks when it gets to registering components. Can you have more than one line in the cmdlines.txt?
  23. Hi. I seem to be having problems with the RunOnceEX.cmd not runnning on the first login. When windows finnishes installing it will reboot and windows will load, but once loaded and logged in it does not start the RunOnceEx to start installing my applications. If i reboot windows and login again RunOnceEx will start and install my applications. I have the RunOnceEx.cmd in $OEM$/$1/install directory and it is called using WinNT.sif in the 386 directory using the following line. [GuiRunOnce] %systemdrive%\install\RunOnceEx.cmd Any one have any idea what the problem might be? Many Thanks Worf
  24. Hi all I've been looking at editing the hiv files by putting in reg tweaks so ect. The problem is i'm not sure which hiv file to put some reg tweaks into, I.E Context menu, Explore, Visual Setting ect. Is there a more indepth guid on editing the hiv files? I've tried searching without much look. Many Thanks Worf
×
×
  • Create New...