Jump to content

[BM]Crusher

Member
  • Posts

    569
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

Everything posted by [BM]Crusher

  1. heres my generate.js function CreateFile() { var WshShell = new ActiveXObject("wscript.shell"); var WshEnv = WshShell.Environment("PROCESS") var fso, tf; fso = new ActiveXObject("Scripting.FileSystemObject"); //Next 6 lines were written by Fiend, and fix a crash. var strPath = WshEnv("SYSTEMDRIVE")+"\\install\\"; var strFile = "install.cmd"; if (fso.FolderExists(strPath) == false) { fso.CreateFolder(strPath); } tf = fso.CreateTextFile((WshEnv("SYSTEMDRIVE"))+"\\install\\install.cmd", true); //Header area. tf.WriteLine("cmdow @ /HID"); tf.WriteLine("@Echo off"); tf.WriteLine("SET KEY=HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx"); tf.WriteLine("REG ADD %KEY% /V TITLE /D \"Installing Applications and Tweaks\" /f"); tf.WriteBlankLines(1); // Office 2003 Professional (Word, Excel, Publisher) if (document.inner.WPI.chkbox022.checked){ tf.WriteLine("REG ADD %KEY%\\001 /VE /D \"Office 2003 Enterprise\" /f"); tf.WriteLine("REG ADD %KEY%\\001 /V 1 /D \"%systemdrive%\\install\\office.cmd"); tf.WriteBlankLines(1); } // POWER DVD 5 if (document.inner.WPI.chkbox001.checked){ tf.WriteLine("REG ADD %KEY%\\005 /VE /D \"Power DVD 5 Trial\" /f"); tf.WriteLine("REG ADD %KEY%\\005 /V 1 /D \"%systemdrive%\\install\\Applications\\DVD\\Setup.exe -s\" /f"); tf.WriteBlankLines(1); } // NERO BURNING ROM if (document.inner.WPI.chkbox002.checked){ tf.WriteLine("REG ADD %KEY%\\010 /VE /D \"Nero Ultra v6.3.1.6\" /f"); tf.WriteLine("REG ADD %KEY%\\010 /V 1 /D \"%systemdrive%\\install\\Applications\\Nero\\Nero6316.exe /SILENT /NOREBOOT /SN=1A23-0055-8030-1715-3516-4751 /WRITE_SN\" /f"); tf.WriteBlankLines(1); } // ADOBE READER 6 if (document.inner.WPI.chkbox003.checked){ tf.WriteLine("REG ADD %KEY%\\015 /VE /D \"Acrobat Reader 6.0.1\" /f"); tf.WriteLine("REG ADD %KEY%\\015 /V 1 /D \"%systemdrive%\\install\\Applications\\AdobeReader6\\AR6.msi /QB\" /f"); tf.WriteBlankLines(1); } // DAEMON TOOLS if (document.inner.WPI.chkbox004.checked){ tf.WriteLine("REG ADD %KEY%\\020 /VE /D \"Daemon Tools 3.44\" /f"); tf.WriteLine("REG ADD %KEY%\\020 /V 1 /D \"%systemdrive%\\install\\Applications\\daemon\\daemon.msi /qb REBOOT=Suppress\" /f"); tf.WriteBlankLines(1); } // CLONE CD if (document.inner.WPI.chkbox005.checked){ tf.WriteLine("REG ADD %KEY%\\025 /VE /D \"Clone CD 4.3.2.2\" /f"); tf.WriteLine("REG ADD %KEY%\\025 /V 1 /D \"%systemdrive%\\install\\Applications\\Clone\\CCDSilent.exe SetupCloneCD4322.exe\" /f"); tf.WriteBlankLines(1); } // AD-AWARE if (document.inner.WPI.chkbox006.checked){ tf.WriteLine("REG ADD %KEY%\\026 /VE /D \"Lavasoft Ad-Aware 6.181 Personal\" /f"); tf.WriteLine("REG ADD %KEY%\\026 /V 1 /D \"%systemdrive%\\install\\Applications\\AdAware\\aaw6181.exe /s\" /f"); tf.WriteBlankLines(1); } // WINRAR if (document.inner.WPI.chkbox007.checked){ tf.WriteLine("REG ADD %KEY%\\027 /VE /D \"WinRAR 3.30\" /f"); tf.WriteLine("REG ADD %KEY%\\027 /V 1 /D \"%systemdrive%\\install\\Applications\\WinRAR\\wrar330.exe -s\" /f"); tf.WriteBlankLines(1); } // K-LITE if (document.inner.WPI.chkbox008.checked){ tf.WriteLine("REG ADD %KEY%\\028 /VE /D \"K-Lite Codec Pack 2.25 Full\" /f"); tf.WriteLine("REG ADD %KEY%\\028 /V 1 /D \"%systemdrive%\\install\\Applications\\K-Lite\\K-Lite.exe /VERYSILENT /SP-\" /f"); tf.WriteBlankLines(1); } // WINAMP if (document.inner.WPI.chkbox009.checked){ tf.WriteLine("REG ADD %KEY%\\029 /VE /D \"WinAMP 5.03a\" /f"); tf.WriteLine("REG ADD %KEY%\\029 /V 1 /D \"%systemdrive%\\install\\Applications\\WinAMP\\WinAMP.msi xwav=1 xjump=1 xregopt=1 xcddb=0 cdout=1 xagent=0 xlibrary=0 xmodernskin=1 xaudio=1 xvideo=0 xvisual=1 xextra=1 xintex=1 xwma=0 xmid=0 xmod=1 xogg=1 xacc=1 xmp3enc=1 xmp4=1 xcdplay=1 xsonic=0 xtinyfull=1 xavs=1 xmilkdrop=1 xsignal=1 xwritewav=1 xdircont=1 xtypecont=1 xnetscape=0 xaudiocd=1 /qb\" /f"); tf.WriteBlankLines(1); } // CD-EX if (document.inner.WPI.chkbox010.checked){ tf.WriteLine("REG ADD %KEY%\\030 /VE /D \"CDex 1.50\" /f"); tf.WriteLine("REG ADD %KEY%\\030 /V 1 /D \"%systemdrive%\\install\\Applications\\CDEX\\cdex_151.exe /S\" /f"); tf.WriteBlankLines(1); } // ISO-BUSTER if (document.inner.WPI.chkbox011.checked){ tf.WriteLine("REG ADD %KEY%\\031 /VE /D \"ISOBuster 1.5\" /f"); tf.WriteLine("REG ADD %KEY%\\031 /V 1 /D \"%systemdrive%\\install\\Applications\\ISOBuster\\IsoBuster15.exe /VERYSILENT /SP-\" /f"); tf.WriteLine("REG ADD %KEY%\\031 /V 2 /D \"taskkill.exe /F /IM isobuster.exe\" /f"); tf.WriteBlankLines(1); } // TWEAK-UI if (document.inner.WPI.chkbox012.checked){ tf.WriteLine("REG ADD %KEY%\\032 /VE /D \"Powertoy 2.10.0\" /f"); tf.WriteLine("REG ADD %KEY%\\032 /V 1 /D \"%systemdrive%\\install\\Applications\\Powertoys\\TweakUI.msi /qb\" /f"); tf.WriteBlankLines(1); } // FOLDING if (document.inner.WPI.chkbox017.checked){ tf.WriteLine("REG ADD %KEY%\\033 /VE /D \"Folding@Home\" /f"); tf.WriteLine("REG ADD %KEY%\\033 /V 1 /D \"%systemdrive%\\install\\fah.cmd\" /f"); tf.WriteBlankLines(1); } // LAN Search if (document.inner.WPI.chkbox020.checked){ tf.WriteLine("REG ADD %KEY%\\034 /VE /D \"LAN Search Pro 5.01\" /f"); tf.WriteLine("REG ADD %KEY%\\034 /V 1 /D \"%systemdrive%\\install\\Applications\\LANSearch\\lspro5.exe /S\" /f"); tf.WriteBlankLines(1); } //Remove backgrounds if (document.inner.WPI.chkbox013.checked){ tf.WriteLine("REG ADD %KEY%\\035 /VE /D \"Removing Ununsed Wallpaper\" /f"); tf.WriteLine("REG ADD %KEY%\\035 /V 1 /D \"%systemdrive%\\install\\paper.cmd\" /f"); tf.WriteBlankLines(1); } //Remove Screen Savers if (document.inner.WPI.chkbox014.checked){ tf.WriteLine("REG ADD %KEY%\\036 /VE /D \"Removing Screensavers\" /f"); tf.WriteLine("REG ADD %KEY%\\036 /V 1 /D \"%systemdrive%\\install\\saver.cmd\" /f"); tf.WriteBlankLines(1); } //Remove Shortcuts if (document.inner.WPI.chkbox015.checked){ tf.WriteLine("REG ADD %KEY%\\037 /VE /D \"Removing Shortcuts\" /f"); tf.WriteLine("REG ADD %KEY%\\037 /V 1 /D \"%systemdrive%\\install\\shorts.cmd\" /f"); tf.WriteBlankLines(1); } // REGISTRY if (document.inner.WPI.chkbox016.checked){ tf.WriteLine("REG ADD %KEY%\\038 /VE /D \"Adding Registry Tweaks\" /f"); tf.WriteLine("REG ADD %KEY%\\038 /V 1 /D \"%systemdrive%\\install\\tweaks.cmd\" /f"); tf.WriteBlankLines(1); } // BOOTSCREEN //if (document.inner.WPI.chkbox018.checked){ // tf.WriteLine("REG ADD %KEY%\\039 /VE /D \"Setting Custom Boot Screen\" /f"); // tf.WriteLine("REG ADD %KEY%\\039 /V 1 /D \"%systemdrive%\\install\\boot.cmd\" /f"); // tf.WriteBlankLines(1); // } // SYSPREP if (document.inner.WPI.chkbox021.checked){ tf.WriteLine("REG ADD %KEY%\\041 /VE /D \"System Preperation\" /f"); tf.WriteLine("REG ADD %KEY%\\041 /V 1 /D \"%systemdrive%\\sysprep\\sysprep.cmd\" /f"); tf.WriteBlankLines(1); } // CLEAN UP if (document.inner.WPI.chkbox019.checked){ tf.WriteLine("REG ADD %KEY%\\045 /VE /D \"Cleaning Up\" /f"); tf.WriteLine("REG ADD %KEY%\\045 /V 1 /D \"%systemdrive%\\cleanup.cmd\" /f"); tf.WriteBlankLines(1); } tf.WriteLine("EXIT"); tf.Close(); // window.alert(""); self.close(); }
  2. WPI Thread It uses HTA and Javascript... all you have to do is edit the files in WPISCRIPTS directory... it's pretty self explanatory (I'd never used java and worked it out)... I run it from cmdlines.txt: wpi.cmd wpi.cmd: @start /wait %systemdrive%\install\wpi\WPI.hta @start %systemdrive%\install\install.cmd Put the WPI folder into $OEM$\$1\install Put the wpi.cmd in your $OEM$ folder where cmdlines.txt is Note: the install.cmd is actually created by WPI.. .you do not need to put an install.cmd in your $1\install directory
  3. make a copy of the default Luna.theme file, call it Silver.theme and make sure that you change: [Theme] DisplayName=Silver Luna [VisualStyles] Path=%ResourceDir%\Themes\luna\luna.msstyles ColorStyle=Silver Size=NormalSize then through winnt.sif you can apply the Silver.theme
  4. if it is an nvidia video card (like mine) run this registry tweak from RunOnce (I have my drivers installed well before this through PnP hardware detection) refresh.reg Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\NVIDIA Corporation\Global\NVTweak\RefreshOverrides] "EnableRefreshOverrides"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\NVIDIA Corporation\Global\NVTweak\RefreshOverrides\1024x768] "RefreshRate"=dword:0000004b "Flags"=dword:00000007 [HKEY_LOCAL_MACHINE\SOFTWARE\NVIDIA Corporation\Global\NVTweak\RefreshOverrides\640x480] "RefreshRate"=dword:0000004b "Flags"=dword:00000007 [HKEY_LOCAL_MACHINE\SOFTWARE\NVIDIA Corporation\Global\NVTweak\RefreshOverrides\800x600] "RefreshRate"=dword:0000004b "Flags"=dword:00000007 Note: 0000004b = 75Hz 00000055 = 85Hz 00000064 = 100Hz
  5. $docs\Administrator could stuff it up if it creates this account before windows setup creates it.... when windows setup creates user accounts, if there is already a folder with the same name it creates a Username.Computername folder @rustycaps - why don't you just create two self-extracting archives? it will save a bunch of space i'm guessing and the command is a bit easier set them to extract to "%programfiles%" and "%systemdrive%\Documents and Settings" then you batch file could be: for %%i in (D: E: F: G: H:) do if exist %%i\win51ip.SP1 set CDROM=%%i start /wait %cdrom%\others\xpprogs.exe start /wait %cdrom%\others\xpdocs.exe exit
  6. Firstly, delete the boot.ini off your hard drive... then In your BIOS it will have a Hard Drive Boot Priority settings... make sure that "External Device" or "Onboard/Onchip SATA" is the first choice before your IDE drive... then boot from the windows CD and install windows... if all went well the boot.ini will end up on the same drive as windows is installed on... then you can remove your IDE drive at a later date and it will still boot off the SATA drive... after you change this windows might not boot anymore though as the hard drive id's could be different (if the boot.ini references hard drive 1 as containing windows, then you go and change your boot order, the hard drive that contains windows might become drive 0 this happened to me - to fix it just boot to a recovery console and do a fixboot)
  7. invalid cd key good point... if he is using an "XP Corporate" pirated windows CD and has slipstreamed the SP1 update into it, it will not accept the original pirated CD Key anymore (need an updated SP1 VLK cd key)
  8. it can't really be done from a bootable cd installation... you would have to create a dos boot disk installation... or, do some research as to how the winbom.ini works I have no idea but I know you can use that to partition and format any drive you like... I think you can only use it through WinPE or Windows Welcome though which is a real bummer... as a workaround, do what I do: Repartition=No AutoPartition=No FileSystem=ConvertNTFS it stops as the "choose installation partition" screen... if I want to format a partition I can just delete it and recreate it (doing this it asks you what filesystem you want and formats it)... or if I don't want to format it I can just press ENTER to install without it deleting all my extra files I know it's not really "unattended" if you have to tell it which partition to use, but that screen pops up only about one minute after you press enter to boot from cd... so you just wait one minute to choose partition and then walk away for half an hour
  9. KillerBee's method is definitely the best... and it will save space on your CD too i can think of another way, but it's pretty stupid (you could put stuff in $docs\Administrator then during RunOnce `rename "C:\Documents and Settings\Administrator" %username% && mkdir "C:\Documents and Settings\Administrator"`)
  10. there is no such setting as ProductID= maybe it is detecting the error and not using your file?
  11. it shouldn't matter , but try deleting the unattend.txt from the I386 directory
  12. benchmarking tools are stupid and pointless.... if your machine can play the games you play without any stupid slowdown then your machine is *fast enough*... if you get slowdown, get a new video card! my point is: why bother testing with synthetic benchmarks? play a real GAME and see if it runs properly to determine if your computer is fast enough.... oh and do i even have to mention how pathetic 3dmark2003 is as a synthetic benchmark tool? i used to be a benchmark freak... but then i realised i was being stupid and haven't benchmarked since... my benchmarks are the latest and greatest games now!
  13. if you do a silent install of the K-Lite codec pack, it comes with BSPlayer if i remember correctly (maybe in the mega pack only?)
  14. I've been using the same switches since v3.43 and it's always working for me: REG ADD %KEY%\020 /VE /D "Daemon Tools 3.46" /f REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\Applications\daemon\daemon.msi /qb REBOOT=Suppress" /f
  15. @buckeye - i bet you're wishing you never released this super handy tool now? i mean, you probably spending more time trouble shooting it than it took you to code it when i made my Unattend.MST file, as part of the wizard I told it that I wanted it to remove completely any previous versions of office that were on the pc... maybe this is why mine worked even though i already had office xp installed? anyway i'm very happy that you decided to release this tool buckeye... now everything I ever wanted fits onto a single 700mb cdr disc
  16. did you try regsnap or regshot? you can take a snapshot of the default setting, then change it to how you want and take a second snapshot... it will show you what was changed in the registry so you can easily make your own reg tweaks
  17. if you know what tweakui is changing, just do half of it (don't do the one that changes the color depth)
  18. hopefully Spheris was on the "find as many existing bugs" team so that they knew what to update in SP2 mind you though, I think the way we are doing the sata/raid drivers now is quite easy and straight forward... i do all mine by hand
  19. yeah im leeching it now... they must have slipped it past me i only downloaded RC1 last week i think... so... no updates at all yet for RC2? that's good if there were updates, how would svcpack.inf have to change?
  20. @Alanoll - do you know if they fixed the $OEM$ MassStorageDrivers usage for SP2? I remember that previously it has never worked (I think you told me this)
  21. RC2? i only have RC1 it found 3 criticals... umm... lemme go search for this RC2 now then
  22. for %%i in (C: D: E: F: G: H: I: J: K: L:) do if exist %%i\CD.txt set CDROM=%%i xcopy "%cdrom%\shortcut\*.lnk" "%allusersprofile%\start menu\programs\startup" /V that will copy shortcuts from a folder named "shortcut" from the cd into the all users startup folder... however, if you are using this method to install programs you are doing it the wrong way... the correct way to run program installs is from runonce or other such methods (not the startup folder) if you are doing it to install a program such as "Folding@Home" you can do what I do: @echo off mkdir "%systemdrive%\Program Files\FAH" move "%systemdrive%\Folding\FAH.lnk" "%AllUsersProfile%\Start Menu\Programs\Startup" copy "%systemdrive%\Folding\*.*" "%systemdrive%\Program Files\FAH"
  23. kenedy that link is dead i thought if you did a mini setup it wouldn't rerun the runonce entries? sysprep -mini -reseal -reboot -nosidgen
×
×
  • Create New...