Jump to content

Bilou_Gateux

Member
  • Posts

    766
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Norway

Everything posted by Bilou_Gateux

  1. OK, nethertheless thank for sharing your finds. I will send an E-mail to the author.
  2. Virtual Disk Driver Sanbarrow batchs look promising but never found the time to check it. May be it's now time to check. You can also try: virtual floppy disk driver for Windows NT platform. Copyright © 2005 Kenji Kato You can mount a floppy image file as a virtual floppy drive and directly access the contents -- view, edit, rename, delete or create files, format the virtual floppy, launch a program on the virtual floppy... whatever. Max Size: 2,949,120 bytes (2.88MB) Haven't tried VFD in unattended install, but it may work fine because it has support for command line. somewhere in this forum i have found a silent install pack named VFD_Setup.exe. can't find the post #
  3. Suggestions for the next version: Windows 2003 support (add new sections to settings.ini) Custom bitmap by adding the name of bitmap to display in settings.ini and saving our bitmap in the same dir. ability to launch the utility from the start >>> run >>> OK with parameters i.e. HFInstaller.exe --AutoReboot 0 --Minimize 1 --DeleteLogs 1 --LowPriority 1 I like the idea to use it for updating already installed OS without going to WindowsUpdate. Windows Server 2003 w/ Service Pack 1 (SP1) critical updates if you want to update your WebPage.
  4. I have switched to QSoft ramdisk. I have the RAMDisk "Extended ( Pro/Standard/Basic )" Version 5.2.10.2 package but you can use the RAMDisk "Free" Version 5.0.2.2 I have two methods to install it: Method 1 CMDLINES.TXT [Commands] ;// Windows unattended install ;// ;// QSoft RAMDisk Install ;// [url="http://www.ramdisk.tk/"]http://www.ramdisk.tk/[/url] 33554432 ".\nircmd.exe execmd ramdisk.cmd" ".\nircmd.exe regsetval dword HKLM\System\CurrentControlSet\Services\Ramdisk\Parameters AutoResize 1" ".\nircmd.exe regsetval dword HKLM\System\CurrentControlSet\Services\Ramdisk\Parameters DiskCompression 1" ".\nircmd.exe regsetval dword HKLM\System\CurrentControlSet\Services\Ramdisk\Parameters DiskSize 02000000" ".\nircmd.exe regsetval sz HKLM\System\CurrentControlSet\Services\Ramdisk\Parameters DriveLetter B:" ".\nircmd.exe regsetval sz HKLM\System\CurrentControlSet\Services\Ramdisk\Parameters Format NTFS" ramdisk.cmd devcon.exe INSTALL %SystemDrive%\Apps\RAMDisk\ramdiskpro.INF RAMDISK $OEM$ folder contains cmdlines.txt, devcon.exe, ramdisk.cmd, nircmd.exe if i recall correctly, i wasn't able to get the DiskSize 02000000 (32Mb) during install. Size is set to 1Mb by default. Enough to copy some small scripts on B: drive. to remove it @endofinstall use the command devcon remove RAMDISK in a script. I will post Method 2 later because i can't remember where the files are backuped (USB Stick, USB Drive, FTP Server, local box Hard Disk, Laptop Hard disk, may be lost)
  5. Thank for help. each time you post a new script, i learn something new. I always forget about the replace function in the SET command. How strange is this char ž Latin Small Letter Z with Caron from the MULTI_REG_SZ data value.
  6. regjump "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "CSDVersion" /t REG_SZ /d "Service Pack 2" /v Value Name /t Type /d Value Data you can change Value Data to another string. I haven't check if it works on Full bloated Windows XP but it works on Windows XP Embedded.
  7. fndsrc.tmp output before removing with gsar.exe unwanted chars x5C (Reverse Solidus) and x30 (Digit Zero) at end of fndsrc.tmp Only checked on running Windows, not @T13 (SVCPACK.INF) Echo. Echo ** Looking for Windows XP installation source ... FOR /F "TOKENS=3 DELIMS= " %%? IN ('REG QUERY "HKLM\Software\Microsoft\Windows\CurrentVersion\Setup" /v "Installation Sources" ^2^>NUL') DO (IF ERRORLEVEL 0 echo/%%?>%TEMP%\fndsrc.tmp)&(gsar -s:x5C:x30 -r:x0D:x0A -o %TEMP%\fndsrc.tmp >NUL) :process for /f "skip=1 tokens=3 delims= " %%? in ('type %temp%\fndsrc.tmp ^|find /C ":"') do (IF ERRORLEVEL 0 set loops=%%?) i re-use some code (with little modification) posted by Yzöwl MSFN batch expert. @Yzöwl, can give us a solution not to use gsar in the first for /F command to remove the unwanted chars.
  8. Thanks Alteo for your reply. http://narod.yandex.ru It is a personal webpage link? Downloading muitrans_uni.zip is very slow. @Vadikan some manufacturers (like Fujitsu Siemens) sell business PCs with XP Professional (1 CD) + MUI packs (5 CD). Its an OEM licence with a COA, not a VLK product. But you're right, it's not available as a retail box. EDIT: finally got it. Just have to be patient...
  9. from the readme.txt If we use RIS or WinPE to install Windows, source are not from a CD. It should be better to code the location from the root like a batch script. if preinst.exe path is %~dp0, use %~d0 for initial path in instloader.ini. i.e. c:\install\preinst.exe c:\install\instloader.ini c:\install\1stapps\1stsfx.exe /s c:\install\2ndapps\2ndsetup.exe /QN ... Using name that does not use 8.3 like instloader.ini is annoying. Just my own opinion. Why not using preinst.ini
  10. Thanks for the optimized code. I learn the best ways to code from your postings. About wmic, i can only use it one my full Windows install. On my Windows XP Embedded runtime image, WMI Command Line Utility isn't added.
  11. @ECHO OFF SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION :// Set the description of NIC to find ServiceName SET NIC="Intel(R) PRO/Wireless 2200BG Network Connection" for /F "tokens=7 delims=\" %%I in ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards" ') do call :NIC %%I GOTO :EOF :NIC :// 3 tokens are ValueName Type Value under selected Key :// delims is a tab delimiter for /F "tokens=3 delims= " %%I in ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\%1" /v "Description" ^| findstr "REG_SZ" ') do set Description="%%I" for /F "tokens=3 delims= " %%J in ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\%1" /v "ServiceName" ^| findstr "REG_SZ" ') do set ServiceName="%%J" IF %description%==%NIC% echo.%ServiceName% :EOF Yzöwl, your welcome to rewrite it better, you are MSFN batch expert.
  12. Switched to RTE: i was curious to see the result. i will check if i can take advantage of it in my signature.
  13. RISetup /add Adds a new installation image to the Remote Installation Services (RIS) server. During the base installation of RIS, you are prompted to add a default operating system installation image to the remote installation-enabled server. This image installation process copies the compact disc contents and directory structure to the RIS server. Without my custom layout.inf, it seems that new binary files won't be copied. I will re-check on the server if image contains my modified layout.inf.
  14. Could you explain how you build a package for your own language. Nobody except Russian will be interested by your MUI package: tools used (7zip, cabarc...) and scripts. I'm not very familiar with using packages built by others and prefer 'do it yourself method' if i find detailled infos (how to).
  15. Although i haven't found on Unattended RIS installation the answer, based on my latest check, to successfully add an image to RIS server, all new files added through HFSlip to sourcess are not copied on destination directory by rissetup /add. an example is the KB890046 HF for ws03. this hotfix add a new binary file w03s240c.dl_ to sourcess. a new line is added to DOSNET.INF a new line is added to txtsetup.sif in order to have the binary file copied to destination directory D:\RInstall\Setup\French\Images\WIN51IA.SP1, i have to add a new line to LAYOUT.INF
  16. Try this method: Create a new directory on your D: partition i.e. WIN51IP.SP2 Move your Winxp with SP1a integrated D:\I386 directory to this new D:\WIN51IP.SP2 The path to the source is now D:\WIN51IP.SP2 Copy all files from the root of your original Winxp CD with SP1a integrated to D:\WIN51IP.SP2 The slipstream process may looks for ident files before slipstreaming latest SP. now try to slipstream SP2 to your WinXP SP1a image with: D:\sp\i386\update\update.exe -s:D:\WIN51IP.SP2
  17. alternative to cmdow @ /HID I do not want to discourage you from writing useful tools, but: nircmd.exe is only 24 Kb and can do more. but i will try it for this feature:
  18. :: Comments:Regional and Languages Options :: Regional Options :: Standard and formats REG ADD "HKU\%mSid%\Control Panel\International" /v "Locale" /t REG_SZ /d "0000040C" /f REG ADD "HKU\%mSid%\Control Panel\International" /v "sList" /t REG_SZ /d ";" /f REG ADD "HKU\%mSid%\Control Panel\International" /v "iMeasure" /t REG_SZ /d "0" /f REG ADD "HKU\%mSid%\Control Panel\International" /v "sDecimal" /t REG_SZ /d "," /f REG ADD "HKU\%mSid%\Control Panel\International" /v "sThousand" /t REG_SZ /d " " /f REG ADD "HKU\%mSid%\Control Panel\International" /v "sCurrency" /t REG_SZ /d "€" /f REG ADD "HKU\%mSid%\Control Panel\International" /v "iCurrency" /t REG_SZ /d "3" /f REG ADD "HKU\%mSid%\Control Panel\International" /v "iNegCurr" /t REG_SZ /d "8" /f REG ADD "HKU\%mSid%\Control Panel\International" /v "iTime" /t REG_SZ /d "1" /f REG ADD "HKU\%mSid%\Control Panel\International" /v "iTLZero" /t REG_SZ /d "1" /f REG ADD "HKU\%mSid%\Control Panel\International" /v "s1159" /t REG_SZ /d "" /f REG ADD "HKU\%mSid%\Control Panel\International" /v "s2359" /t REG_SZ /d "" /f REG ADD "HKU\%mSid%\Control Panel\International" /v "sShortDate" /t REG_SZ /d "dd/MM/yyyy" /f REG ADD "HKU\%mSid%\Control Panel\International" /v "iDate" /t REG_SZ /d "1" /f REG ADD "HKU\%mSid%\Control Panel\International" /v "sLongDate" /t REG_SZ /d "dddd d MMMM yyyy" /f REG ADD "HKU\%mSid%\Control Panel\International" /v "iFirstDayOfWeek" /t REG_SZ /d "0" /f REG ADD "HKU\%mSid%\Control Panel\International" /v "iTimePrefix" /t REG_SZ /d "1" /f REG ADD "HKU\%mSid%\Control Panel\International" /v "sMonDecimalSep" /t REG_SZ /d "," /f REG ADD "HKU\%mSid%\Control Panel\International" /v "sMonThousandSep" /t REG_SZ /d " " /f REG ADD "HKU\%mSid%\Control Panel\International" /v "sTimeFormat" /t REG_SZ /d "HH:mm:ss" /f :: Location REG ADD "HKU\%mSid%\Control Panel\International\Geo" /v "Nation" /t REG_SZ /d "84" /f :: Languages :: Text services and input languages :: Default input language REG ADD "HKU\%mSid%\Keyboard Layout\Preload" /v "1" /t REG_SZ /d "0000040c" /f REG ADD "HKU\%mSid%\Keyboard Layout\Preload" /v "2" /t REG_SZ /d "00000409" /f :: System configuration :: Turn off advanced text services REG ADD "HKU\%mSid%\Software\Microsoft\CTF" /v "Disable Thread Input Manager" /t REG_DWORD /d "00000001" /f REG ADD "HKU\%mSid%\Software\Microsoft\CTF\MSUTB" /v "ShowDeskBand" /t REG_DWORD /d "00000000" /f REG DELETE "HKU\%mSid%\Software\Microsoft\Windows\CurrentVersion\Run" /v "ctfmon.exe" /f REG ADD "HKLM\SOFTWARE\Microsoft\CTF\SystemShared" /v "CUAS" /t REG_DWORD /d "00000000" /f REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IMM" /v "LoadIMM" /t REG_DWORD /d "00000000" /f :: Language used in menus and dialogs :: REG ADD "HKU\%mSid%\Control Panel\Desktop] /v "MUILanguagePending" /t REG_DWORD /d "0000040C" /f :: Advanced :: Language for non-Unicode programs REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Nls\Language" /v "Default" /t REG_SZ /d "040c" /f Notes: "040c"=French "0C0C"=French (Canadian) " 1009 "=English (Canada) "€"=Euro currency ; replace with your's Nation change to "39" I haven't tried this batch at T-12 stage (cmdlines.txt) but it may be the best stage to apply changes to default user. replace HKU\%mSid% with HKCU %mSid% can be obtained using Yzöwl script Reading SID from registry Keyboard layout, How to set "Francais,Canada"
  19. This folder is created when you integrate hotfixes to your source with the command: START "HF integrate" /WAIT /MIN "%BASEPATH%\%DIRNAME%\%FILENAME%.EXE" /integrate:%source% /Q and deleted when integration successfully finished. If nothing goes wrong during integration, you shouldn't have this folder. You can delete it and his content.
  20. I would like to delete some log files (*.log) which are empty in a folder ie %SystemRoot% and keep others which contains valuable data. Can it be done witch a cmd?
  21. Done my 1st install of HFSlip Windows XP SP1 image stored on RIS Server. WU check missing critical HFs: * those HFs are not included in my HFSLIP\HF folder. I will add the missing one in HFSLIP\HF and rebuild. Not sure HFSlip can slipstream this one: 816093: Security Update Microsoft Virtual Machine (Microsoft VM) but i need it because i use Windows XP SP1 (not XP SP1a) or i should remove MSJAVAVM with nLite 1st.
  22. @tommyp I have build a new HFSlip Windows XP SP1 and add the image to my RIS server. I haven't nLited it to isolate issues. It seems that driver merging isn't an issue. In my 1st attempt (2K3 Web SP1 nLited + HFSlipped), something was going wrong. Answer: you shouldn't change any line of code in the script. The second issue is still here: rissetup /add, the command used to create a flat image on the server from the sourcess folder skip the copy of all new files added in sourcess: latest [Files] section in DOSNET.INF including HFSLIP??.inf files created by HFSlip and new binaries from HFs. Even after removing comments from both TXTSETUP.SIF and DOSNET.INF What is the file used by rissetup.exe to copy the files to the correct location? I can manually copy these files to destination folder. Then editing TXTSETUP.SIF and DOSNET.INF and removing comments at end of each line seems to solve the problem (file not found) during textmode stage of the setup.
  23. TXTSETUP.SIF DOSNET.INF WINNT.SIF CD DIRECTORY TREE oemscs01.inf is just ulsata.inf renamed to cab ulsata.sys, use this command: MAKECAB /D CompressionMemory=21 /D CompressionType=LZX /L CDROOT\I386 CDROOT\$OEM$\$$\OEMDIR\ULSATA.SYS This method works for me installing an old Promise FastTrak controller with a RAID1 array. the only potential problem is that your controller use a DLL during install.
×
×
  • Create New...