Jump to content

Sonic

Patron
  • Posts

    1,709
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    France

Everything posted by Sonic

  1. nothing to do with a bat file with normal way ... because bat will be executed after login ... perhaps it exist another way but I don't know ...
  2. when you use msconfig you can select safe boot .. I think there is a command line or reg tweak to do that unattended ... but when you are in safemode you can't RunOnceEx key is ingored if I rememeber (and all "auto" program at boot are disabled too ...)
  3. first test, driver & cc 29mb with only cc in fr ... btw, the .msi file must be edited with AdminStudio for example to remove other languages ... not good for the maintenance ...
  4. hi all I install display driver and controlcenter independant because I would like the correct lang of ControlCenter but it's about 20-30mb just the cab file and the content isn't really clear to delete non desired lang. Anyone has worked on that ? Thanks for any suggestion ! note: I can't run a admin install too ... I must run from setup with /V"/qb" ... but with /a .. doesn't work ... edit1: finally it's because I han't installed .net 1.1 in vmware ^^ I will post my solution if it works ... admin install -> "msiexec /a themsi.msi" edit2: actually my file with driver and international cc sfxed is about 42mb ...
  5. Use combination of xacls and takeown ... Personally, I use takeown first to take all hard drive present ... and after I use xacls ...
  6. Have you modified generate.js ?
  7. in fact I have made a typo ... replace "if not" by if ... so : for /f "skip=4 tokens=3" %%? in ('reg query HKLM\SYSTEM\Setup\Pid /v Pid') do set Pid=%%? set Pid=%Pid:~-3% if '%Pid%'=='270' echo WinXP VL version detected && WhatCommandYouWant if '%Pid%'=='OEM' echo WinXP OEM version detected && WhatOtherCommandYouWant exit I will complete the if condition to detect other version ...
  8. okay I rename corporate to vl ... @atomizer: It's genuine media or mixed media ? because the batch read directly in registry if your version is oem or not ... it's strange if oem string is present and you have a volume license ...
  9. you can modify the configuration of "emulate" ctrl+alt+del ... look in options ... (in VmWare)
  10. @Yurek3: Why hard batch to set timeout ?? With bootcfg you can use bootcfg /timeout 4 /!\ bootcfg isn't available in Home Edition ...
  11. yes, keyboards layout are in other folder if I remember (but try it on vmware/virtualpc for sure)
  12. @todd: You can use NetChk to check if non critical patchs are available, it's @ http://www.shavlik.com
  13. Copy/Pasted code in new .vbs file and works great here, but doesn't allow to detect if your version is corporate ...
  14. It's not possible. (or I have forget a BIG new !)
  15. For all vista informations, you must be a beta tester member or msdn member, if not you can't test vista, it's illegal. btw, beta 2 of vista coming soon ... For windows xp live cd, you can use use BartPE which it creates a bootable cd of your current system (if I remember), for WinPE you must have the license to use it, like manufacturers because it's needed to "pre-install" other windows xp and it's in command line (if I remember too ^^) edit: for x64 version of windows xp, multi boot isn't easy as windows xp 32bit ... look in forum to get some infos.
  16. If I remember in sp2 just plug your bluetooth device and it directly detected (not drivers needed) ... try to uninstall the third program ...
  17. In UltraISO it's same as Optimize function ... mine cd is 2,5gb to 630mb (winxp).
  18. wow 16bits applications are still exist ? ^^ I don't think it's possible to display a toolbar like win98 is windows 2k/xp ...
  19. Improved batch to detect Corporate version of Windows for /f "skip=4 tokens=3" %%? in ('reg query HKLM\SYSTEM\Setup\Pid /v Pid') do set Pid=%%? set Pid=%Pid:~-3% if '%Pid%'=='270' echo Corporate version detected && WhatCommandYouWant if not '%Pid%'=='OEM' echo OEM version detected && WhatOtherCommandYouWant exit Credits to Yzöwl for his batch's knowledge !
  20. Good to know Bezalel ! It's more legal than setupp.ini way ...
  21. In windows xp, same options is in right click ...
  22. My final solution ! Set i386 source to original value in repair mode, because I use multi windows cd, i386 source value look like that d:\aocd\i386 and final client will have problem when he will insert his original disc ..) 1) Create two batchs files FixI386.cmd @echo off mode con cols=60 lines=20 color 70 title Fix I386 source ... for %%i in (C 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 %%i:\WIN51 set source=%%i:\ reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "SourcePath" /d "%source%i386" /f >NUL reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup" /v "Installation Sources" /t REG_MULTI_SZ /d "%source%\" /f >NUL reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup" /v "SourcePath" /d "%source%\" /f >NUL reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup" /v "ServicePackSourcePath" /d "%source%\" /f >NUL reg add "HKLM\SOFTWARE\Microsoft\Transaction Server\Setup(OCM)" /v "Source Path" /d "%source%\" /f >NUL reg add "HKLM\SOFTWARE\Microsoft\MSDTC\Setup" /v "Source Path" /d "%source%\" /f >NUL reg add "HKLM\SOFTWARE\Microsoft\COM3\Setup" /v "Source Path" /d "%source%\" /f >NUL del /q /f %0 exit SetFixI386.cmd move /y %SystemRoot%\FixI386.cmd "%AllUsersProfile%\Menu D‚marrer\Programmes\D‚marrage\" del /q /f %0 exit 2) Modify TxtSetup.sif Just after [sourceDisksFiles] section add these two line to copy file in %SystemRooot% (e.g. C:\WINDOWS) SetFixI386.cmd = 1,,,,,,,1,0,0 FixI386.cmd = 1,,,,,,,1,0,0 3) Modify HiveSft.inf Before [AddReg.Upgrade] section add this line to specify setup to execute SetFixI386.cmd during GUI part (at T-33 ) HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","FixI386",0x00020000,"%SystemRoot%\SetFixI386.cmd" and that's all. Summary : Dunring text mode, two batch are copied to C:\WINDOWS\ At the end of text part Windows read HiveSft.inf and set RunOnce key Reboot & GUI part start ... At T-33, SetFixI386.cmd is executed and it moves FixI386.cmd to Start folder of All Users ... Atfer all completed and first login of any users, FixI386.cmd is executed and value of i386 source path is restored to original ... edit: Credits to nuhi with his nlite.inf way ...
  23. To apply for all users you can run your command in cmdlines.txt .. but it's not machine dependant ... @all: Is it possible to disable the Sleep button (in french "Mise en veille") .. same effect as non-installed graphic drivers ?
  24. You can run the batch (as CopyCD.cmd for example ...) anywhere and execute it when you want ... in cmdlines.txt / RunOnceEx ... (and I'm testing in T-13 in repair mode with RunOnce / RunOnceEx ) The batch will read the location of original i386 folder ... and copy the folder in c:\ (you can change the path ...) and set all regkey about the path. I have found these keys with this test : I have installed windows with D:\AOCD\i386 folder ... with Registry Crawler I have search all D:\AOCD\i386 and 7 keys are found so I modify these 7 keys to avoid any problem of location. Goodbye.
  25. I think just same as server 2003 sp1 .... normal method but you must have setupdlr.bin modified to allowing edit i386 value without error of crc ... http://www.msfn.org/board/index.php?showtopic=58410 If doesn't work perhpas another h*ack it's needed ... Goodbye.
×
×
  • Create New...