Makes me wonder though Jaclaz:
If this works for the lba fix what else can we cram in to the HIV file this way?
This post has been edited by Kelsenellenelvian: 27 January 2010 - 08:06 PM
Posted 27 January 2010 - 02:54 PM
This post has been edited by Kelsenellenelvian: 27 January 2010 - 08:06 PM
Posted 28 January 2010 - 02:37 AM
Kelsenellenelvian, on Jan 27 2010, 09:54 PM, said:
Posted 29 January 2010 - 04:42 AM
Posted 27 September 2010 - 08:31 AM
Posted 27 September 2012 - 01:21 PM
[version] signature="$CHICAGO$" SetupClass=BASE [DefaultInstall] AddReg=48bitlba.Add.Reg [48bitlba.Add.Reg] HKLM,"System\CurrentControlSet\Services\Atapi\Parameters","EnableBigLba",0x10001,1
This post has been edited by Molecule: 27 September 2012 - 01:51 PM
Posted 27 September 2012 - 01:52 PM
This post has been edited by tomasz86: 27 September 2012 - 01:56 PM
Posted 28 September 2012 - 01:16 PM
This post has been edited by fdv: 29 September 2012 - 10:00 PM
Posted 28 September 2012 - 07:36 PM
This post has been edited by tomasz86: 28 September 2012 - 07:38 PM
Posted 29 September 2012 - 03:32 AM
Posted 29 September 2012 - 04:35 AM
This post has been edited by jaclaz: 29 September 2012 - 04:36 AM
Posted 29 September 2012 - 09:59 PM
Posted 06 November 2012 - 05:36 AM
setlocal set winsource=c:\win2kcd\i386 attrib -r -a -s -h %winsource%\setupreg.hiv reg load HKLM\Setup %winsource%\setupreg.hiv set regkey=ControlSet001\Services\atapi\Parameters reg add HKLM\Setup\%regkey% /v EnableBigLba /t reg_dword /d 00000001 /f reg unload HKLM\Setup set winsource= set regkey= endlocal
We add a number of rk files to the default install, wie WINXP et al. The Windows bitmaps live in webvw.dll, so we add the Win9x stuff there. Setup.bmp lives in the system32 directory, installs from setup_w.bm_ ------ dosnet.inf --------------------------------------------- d1,hivefix.inf d1,directx.cpl d1,diskpart.exe d1,fsutil.exe d1,kill.exe d1,linkd.exe d1,list.exe d1,msvcp60.dll d1,oeminfo.ini d1,oemlogo.bmp d1,reg.exe d1,runext.dll d1,sc.exe d1,schtasks.exe d1,setx.exe d1,shortcut.exe d1,takeown.exe d1,themes.cpl d1,tlist.exe d1,tweakui.cnt d1,tweakui.cpl d1,tweakui.hlp d1,where.exe ------ txtsetup.sif -------------------------------------------- [SourceDisksFiles] console.dll = 1,,,,,,,2,0,0,console.cpl hotplug.dll = 1,,,,,,,2,0,0,hotplug.cpl hivefix.inf = 1,,,,,,,20,3,3 directx.cpl = 2,,,,,,,2,0,0 diskpart.exe = 2,,,,,,,2,0,0 fsutil.exe = 2,,,,,,,2,0,0 kill.exe = 2,,,,,,,2,0,0 linkd.exe = 2,,,,,,,2,0,0 list.exe = 2,,,,,,,2,0,0 msvcp60.dll = 2,,,,,,,2,0,0 oeminfo.ini = 2,,,,,,,2,0,0 oemlogo.bmp = 2,,,,,,,2,0,0 reg.exe = 2,,,,,,,2,0,0 runext.dll = 2,,,,,,,2,0,0 schtasks.exe = 2,,,,,,,2,0,0 sc.exe = 2,,,,,,,2,0,0 setx.exe = 2,,,,,,,2,0,0 shortcut.exe = 2,,,,,,,2,0,0 takeown.exe = 2,,,,,,,2,0,0 themes.cpl = 2,,,,,,,2,0,0 tlist.exe = 2,,,,,,,2,0,0 tweakui.cnt = 2,,,,,,,21,0,0 tweakui.cpl = 2,,,,,,,2,0,0 tweakui.hlp = 2,,,,,,,21,0,0 where.exe = 2,,,,,,,2,0,0 ; setup_w.bmp = 2,,,,,,,1,0,0,setup50.bmp ; add these to the end to make hivefix.inf work. [HiveInfs.Fresh] DelReg = hivefix.inf,AddReg AddReg = hivefix.inf,AddReg [HiveInfs.Upgrade] DelReg = hivefix.inf,AddReg AddReg = hivefix.inf,AddReg ; These have not really changed, so... [SetupData] SetupSourcePath = "\" DefaultPath=\FENSTER --------------------------------------------------------------------- WEBVW.DLL Add bitmaps to resource table, using reshack.exe
[Version]
Signature = "$Windows NT$"
ClassGUID={00000000-0000-0000-0000-000000000000}
DriverVer=11/14/1999,5.00.2183.1
; vers 2195/1
[AddReg]
; homegrown
; flags: see 'windows registry guide', p276
HKCU,"Console","InsertMode",0x00010001,1
HKCU,"Console","QuickEdit", 0x00010001,0
HKLM,"Software\Microsoft\Command Processor","CompletionChar",0x00010001,9
HKLM,"Software\Microsoft\Command Processor","PathCompletionChar",0x00010001,9
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","ParseAutoexec",0x00000000,"0"
HKCU,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","ParseAutoexec",0x00000000,"0"
; HiveCLS.inf
HKCR,"batfile","",0x00000002,"%MS_DOS_BATCH_FILE%"
HKCR,"comfile","",0x00000002,"%MS_DOS_APPLICATION%"
; Hivesft.inf
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList","ProfilesDirectory",0x00020002,"%DEFAULT_PROFILES_DIR%"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList","AllUsersProfile",0x00000002,"%ALL_USERS%"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList","DefaultUserProfile",0x00000002,"%DEFAULT_USER%"
; fix for ejecting removable disks
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","allocatedasd",0x00000002,"2"
; HiveSys.inf
HKLM,"SYSTEM\CurrentControlSet\Control\Nls\Language","InstallLanguage",,"%INSTALL_LANGUAGE%"
HKLM,"SYSTEM\CurrentControlSet\Control\Nls\Locale","(Default)",,%INSTALL_LOCALE%
; UKINT keybd
HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layout\DosKeybCodes","0001089",0x00000002,"uk"
HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00010809","Layout File",0x00000002,"KBDUKINT.DLL"
HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00010809","Layout Id",0x00000002,"0087"
HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00010809","Layout Text",0x00000002,"%UK_INTERNATIONAL%"
; Hivedef.inf
; International Settings
HKLM,"SYSTEM\CurrentControlSet\Control\Nls\Locale","(Default)",0x00000002,"00000C09"
HKCU,"Control Panel\International","iCalendarType",0x00000000,"%INTL_ICALENDAR%"
HKCU,"Control Panel\International","iCountry",0x00000000,"%INTL_ICOUNTRY%"
HKCU,"Control Panel\International","iCurrDigits",0x00000000,"%INTL_ICURRDIGITS%"
HKCU,"Control Panel\International","iCurrency",0x00000000,"%INTL_ICURRENCY%"
HKCU,"Control Panel\International","iDate",0x00000000,"%INTL_IDATE%"
HKCU,"Control Panel\International","iDigits",0x00000000,"%INTL_IDIGITS%"
HKCU,"Control Panel\International","iFirstDayOfWeek",0x00000000,"%INTL_IFIRSTWEEKDAY%"
HKCU,"Control Panel\International","iLZero",0x00000000,"%INTL_ILZERO%"
HKCU,"Control Panel\International","iMeasure",0x00000000,"%INTL_IMEASURE%"
HKCU,"Control Panel\International","iNegCurr",0x00000000,"%INTL_INEGCURR%"
HKCU,"Control Panel\International","iTime",0x00000000,"%INTL_ITIME%"
HKCU,"Control Panel\International","iTLZero",0x00000000,"%INTL_ITLZERO%"
HKCU,"Control Panel\International","Locale",0x00000000,"%INTL_LOCALE%"
HKCU,"Control Panel\International","s1159",0x00000000,"%INTL_S1159%"
HKCU,"Control Panel\International","s2359",0x00000000,"%INTL_S2359%"
HKCU,"Control Panel\International","sCountry",0x00000000,"%INTL_SCOUNTRY%"
HKCU,"Control Panel\International","sCurrency",0x00000000,"%INTL_SCURRENCY%"
HKCU,"Control Panel\International","sDate",0x00000000,"%INTL_SDATE%"
HKCU,"Control Panel\International","sDecimal",0x00000000,"%INTL_SDECIMAL%"
HKCU,"Control Panel\International","sLanguage",0x00000000,"%INTL_SLANGUAGE%"
HKCU,"Control Panel\International","sList",0x00000000,"%INTL_SLIST%"
HKCU,"Control Panel\International","sLongDate",0x00000000,"%INTL_SLONGDATE%"
HKCU,"Control Panel\International","sShortDate",0x00000000,"%INTL_SSHORTDATE%"
HKCU,"Control Panel\International","sThousand",0x00000000,"%INTL_STHOUSAND%"
HKCU,"Control Panel\International","sTime",0x00000000,"%INTL_STIME%"
HKCU,"Control Panel\International","sTimeFormat",0x00000000,"%INTL_STFORMAT%"
; Marquee Settings
HKCU,"Control Panel\Screen Saver.Marquee","Font",0x00000000,"%SCREEN_SAVER_MARQUEE_FONT%"
HKCU,"Control Panel\Screen Saver.Marquee","Text",0x00000002,"%SCREEN_SAVER_MARQUEE_TEXT%"
; TempDir
HKCU,"Environment","TEMP",0x00020000,"%TEMP_DIR%"
HKCU,"Environment","TMP",0x00020000,"%TEMP_DIR%"
; Shell Folders
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","AppData",0x00020002,"%U_SHELL_FOLDERS_APPDATA%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Desktop",0x00020002,"%U_SHELL_FOLDERS_DESKTOP%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Favorites",0x00020002,"%U_SHELL_FOLDERS_FAVORITES%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","NetHood",0x00020002,"%U_SHELL_FOLDERS_NETHOOD%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Personal",0x00020000,"%U_SHELL_FOLDERS_PERSONAL%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","PrintHood",0x00020002,"%U_SHELL_FOLDERS_PRINTHOOD%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Programs",0x00020002,"%U_SHELL_FOLDERS_PROGRAMS%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Recent",0x00020002,"%U_SHELL_FOLDERS_RECENT%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","SendTo",0x00020002,"%U_SHELL_FOLDERS_SENDTO%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Start Menu",0x00020002,"%U_SHELL_FOLDERS_START_MENU%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Startup",0x00020002,"%U_SHELL_FOLDERS_STARTUP%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Templates",0x00020002,"%U_SHELL_FOLDERS_TEMPLATES%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Cookies",0x00020000,"%U_SHELL_FOLDERS_COOKIES%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","My Pictures",0x00020000,"%U_SHELL_FOLDERS_MYPICTURES%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Local Settings",0x00020000,"%U_SHELL_FOLDERS_LOCAL_SETTINGS%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Local AppData",0x00020000,"%U_SHELL_FOLDERS_LOCAL_APPDATA%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Cache",0x00020000,"%U_SHELL_FOLDERS_CACHE%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","History",0x00020000,"%U_SHELL_FOLDERS_HISTORY%"
; runext.dll
HKCR,CLSID\{%CSID00%},,,"%NAME%"
HKCR,CLSID\{%CSID00%}\InProcServer32,,,"runext.dll"
HKCR,CLSID\{%CSID00%}\InProcServer32,"ThreadingModel",,"Apartment"
HKCR,*\%SHEX%,,,"%RUNEXTKEY%"
HKCR,*\%SHEX%\%RUNEXTKEY%,,,"{%CSID00%}"
HKCR,Folder\%SHEX%,,,"%RUNEXTKEY%"
HKCR,Folder\%SHEX%\%RUNEXTKEY%,,,"{%CSID00%}"
; TweakUI
HKLM,"Software\Microsoft\Windows\CurrentVersion\Run",,,"RUNDLL32.EXE TWEAKUI.CPL,TweakMeUp"
[Strings]
; Hivecls.inf
MS_DOS_APPLICATION="PC-DOS Application"
MS_DOS_BATCH_FILE="PC-DOS Batch File"
; Hivesys.inf
INSTALL_LANGUAGE="0C09"
; International
INTL_ICALENDAR="1"
INTL_ICOUNTRY="61"
INTL_ICURRDIGITS="2"
INTL_ICURRENCY="0"
INTL_IDATE="2"
INTL_IDIGITS="2"
INTL_IFIRSTWEEKDAY="6"
INTL_ILZERO="1"
INTL_IMEASURE="1"
INTL_INEGCURR="1"
INTL_ITIME="1"
INTL_ITLZERO="1"
INTL_LOCALE="00000C09"
INTL_S1159="AM"
INTL_S2359="PM"
INTL_SCOUNTRY="Australia"
INTL_SCURRENCY="$"
INTL_SDATE="/"
INTL_SDECIMAL="."
INTL_SLANGUAGE="ENA"
INTL_SLIST=","
INTL_SLONGDATE="dddd, d MMMM, yyyy"
INTL_SSHORTDATE="yyyy/MM/dd"
INTL_STHOUSAND=","
INTL_STIME=":"
INTL_STFORMAT="HH:mm:ss"
; Marquee
SCREEN_SAVER_MARQUEE_FONT="Georgia"
SCREEN_SAVER_MARQUEE_TEXT="Windows 2000 Professional"
; Shell Folders
DEFAULT_PROFILES_DIR="%SystemDrive%\USERS"
DEFAULT_USER="Default"
ALL_USERS="Public"
TEMP_DIR="%USERPROFILE%\Temp"
U_SHELL_FOLDERS_APPDATA="%USERPROFILE%\AppData"
U_SHELL_FOLDERS_DESKTOP="%USERPROFILE%\W\Desktop"
U_SHELL_FOLDERS_FAVORITES="%USERPROFILE%\Favorites"
U_SHELL_FOLDERS_NETHOOD="%USERPROFILE%\NetHood"
U_SHELL_FOLDERS_PERSONAL="%USERPROFILE%\Personal"
U_SHELL_FOLDERS_PRINTHOOD="%USERPROFILE%\PrintHood"
U_SHELL_FOLDERS_PROGRAMS="%USERPROFILE%\Start Menu\Programs"
U_SHELL_FOLDERS_RECENT="%USERPROFILE%\Recent"
U_SHELL_FOLDERS_SENDTO="%USERPROFILE%\SendTo"
U_SHELL_FOLDERS_START_MENU="%USERPROFILE%\Start Menu"
U_SHELL_FOLDERS_STARTUP="%USERPROFILE%\Start Menu\Programs\Startup"
U_SHELL_FOLDERS_TEMPLATES="%USERPROFILE%\Templates"
U_SHELL_FOLDERS_COOKIES="%USERPROFILE%\Cookies"
U_SHELL_FOLDERS_MYPICTURES="%USERPROFILE%\Personal\Pictures"
U_SHELL_FOLDERS_LOCAL_SETTINGS="%USERPROFILE%\Local"
U_SHELL_FOLDERS_LOCAL_APPDATA="%USERPROFILE%\AppData"
U_SHELL_FOLDERS_CACHE="%USERPROFILE%\Temporary Internet Files"
U_SHELL_FOLDERS_HISTORY="%USERPROFILE%\History"
; runext.dll
NAME="Run shell extension"
RUNEXTKEY="RunExt"
SHEX="shellex\ContextMenuHandlers"
CSID00=2AD91900-A873-11cf-9A80-00AA00C16E65
This post has been edited by os2fan2: 06 November 2012 - 05:48 AM
Posted 24 March 2013 - 10:32 AM