
Basically the Entrie*.ini file is the most important file inside of any UpdatePack or AddonsPack. It is the data file which tells the integrator how to integrate everything. New features will be added with time... but I will list what we have so far.
==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====
HEADER
The top portion is only for information. It is not used by the integrator at all.
Code: Select all
;############################################################################################
;# entries.ini
;# ---------------------
;# This file contains a list of all entries that need to be added to various Windows
;# setup files upon integration of the RyanVM Update Pack.
;############################################################################################
[general]
The general section is where you will put specific info about your Update/Addon Pack.
builddate=The date you created this pack
description=Info about this pack.
language=What language this pack is intended for.
title=The name of this pack. (This is shown on the Integrators main window while it integrates this pack.)
version=What version this pack is. (This is shown on the Integrators main window while it integrates this pack.)
website=The website where this pack originates from.
Code: Select all
;This section contains version info for nLite
[general]
builddate=2005/08/24
description=RyanVM's Post-SP2 Update Pack for Windows XP
language=English
title=RyanVM Update Pack
version=1.3.1
website=http://ryanvm.msfn.org/
[filenames]
The filenames section is used to set an environment variable of a filename that is used throughout the entries file. For instance... the main inf file of the pack. According to the example below the environment variable being set is maininf which will represent RVMUpPck.inf whenever
%maininf% is used in the entries file.
This information must be unique for every addon you create. Do NOT reuse the same information for different addons!
Code: Select all
;This section contains the variables used for the RyanVM filenames.
[filenames]
maininf=RVMUpPck.inf
[sysoc]
Sysoc.inf
The System Optional Components inf file controls which of the XP Components are installed during setup and which optional components are visible from the "Add / Remove Windows Components " section in the control panel.
This files main role in life is relatively unimportant as far as the pack is concerned as it’s just used as a pointer or a way into the windows installation to launch the processing of the RVMUpPck.inf file during installation.
The Entrie
Code:
RVMUpdatePack=ocgen.dll,OcEntry,%maininf%,HIDE,7
is added to the “[Components]” section of this file, where
RVMUpdatePack is the heading or section name you would see in Add / Remove if it were not hidden (see below)
ocgen.dll and OcEntry are the dll and instructions to process this line
%maininf% Translates to "RVMUpPck.inf" which is the inf file you are asking setup to execute (The Important Part)
HIDE is an instruction to hide this component from the Add / Remove Windows Components Menu in the Control Panel
And 7 is a number I no nothing about
Googleing sysoc.inf reveals lots of pages with info on the components side of this file.
This information must be unique for every addon you create. Do NOT reuse the same information for different addons!
Code: Select all
;This section contains entries that need to go into the [Components] section of sysoc.inf
[sysoc]
RVMUpdatePack=ocgen.dll,OcEntry,%maininf%,HIDE,7
[dosnet_files]
The dosnet_files section is used to add files to the [Files] section of the dosnet.inf file. It is usually in the form of d1,filename.ext d1 means for it to find it in the I386 directory (By default). You can find out what path d1 represents by looking in the [Directories] section of the dosnet.inf file.
Code: Select all
;This section contains entries that need to go into the [Files] section of dosnet.inf
[dosnet_files]
d1,%maininf%
d1,archvapp.inf
d1,cobramsg.dll
d1,guitrna.dll
d1,hdaprop.dll
d1,hdashcut.exe
d1,hdaudbus.inf
d1,hdaudbus.sys
d1,hdaudio.inf
d1,hdaudio.sys
d1,hdaudres.dll
d1,migisma.dll
d1,migwiza.exe
d1,MRT.exe
d1,msxml4.dll
d1,msxml4r.dll
d1,msxml5.dll
d1,msxml5r.dll
d1,muweb.dll
d1,qfecheck.exe
d1,scripta.dll
d1,spcustom.dll
d1,spmsg.dll
d1,spuninst.exe
d1,spupdsvc.exe
d1,sysmoda.dll
d1,update.exe
d1,updspapi.dll
d1,wups2.dll
d1,xpsp3res.dll
[txtsetup_dirs]
The [txtsetup_dirs] section is where you asign a number to a path inside of the windows directory where a file will be placed. The next section [txtsetup_files] is where the number would be used. Just look at the example here:
241 = system32\PreInstall\WinSE\wxp_x86_0409_v1
and in the txtsetup_files section you will see:
spcustom.dll = 100,,,,,,,241,0,0,spcustom.dll.ref
spmsg.dll = 100,,,,,,,241,0,0,spmsg.dll.ref
spuninst.exe = 100,,,,,,,241,0,0,spuninst.exe.ref
spupdsvc.exe = 100,,,,,,,241,0,0,spupdsvc.exe.ref
sysmoda.dll = 100,,,,,,,111,0,0
update.exe = 100,,,,,,,241,0,0,update.exe.ref
updspapi.dll = 100,,,,,,,241,0,0,updspapi.dll.ref
The 241 is telling it to place that file into the
system32\PreInstall\WinSE\wxp_x86_0409_v1
directory.
For a better understanding of [txtsetup_dirs] & [txtsetup_files] please read these threads:
http://gosh.msfnhosting.com/txtsetup.htm
and
http://www.msfn.org/board/index.php?showtopic=14852
Code: Select all
;This section contains entries that need to go into the [WinntDirectories] section of txtsetup.sif
[txtsetup_dirs]
241 = system32\PreInstall\WinSE\wxp_x86_0409_v1
[txtsetup_files]
For a better understanding of [txtsetup_dirs] & [txtsetup_files] please read these threads:
http://gosh.msfnhosting.com/txtsetup.htm
and
http://www.msfn.org/board/index.php?showtopic=14852
Code: Select all
;This section contains entries that need to go into the [SourceDisksFiles] section of txtsetup.sif
[txtsetup_files]
[svcpack_catalogs]
I think the description in the entries file itself describes this section just fine. There's not much more to it.
Basically the cat file that is created when you would use the /integrate parameter on a hotfix is what you would place here if you want to make sure that the hotfix gets digitally signed. If you don't put it here you may have problems with your installation unless you have SFP turned off.
Code: Select all
;The section contains the list of catalog files that must added to svcpack.inf
[svcpack_catalogs]
[drivercab_expand]
This Section contains the list of Pack replaced files that allready existed (in there older form) in the i386 directory and the driver.cab file or the sp2.cab file (the 2 cabs are merged into one).
The files listed here are expanded into the temp folder that holds the merged contents of the old driver.cab and sp2.cab prior to its recompressing.
Code: Select all
;This section contains the list of files which exist in both driver.cab and the i386 directory.
;They will be expanded into the expanded driver folder during driver cab updating.
[drivercab_expand]
1394bus.sy_
atapi.sy_
bthprint.sy_
hal.dl_
halaacpi.dl_
halacpi.dl_
halapic.dl_
halmacpi.dl_
halmps.dl_
halsp.dl_
hidir.sy_
http.sy_
imapi.sy_
intelppm.sy_
irbus.sy_
mrxsmb.sy_
ntkrnlmp.ex_
ntoskrnl.ex_
ohci1394.sy_
pcmcia.sy_
rndismpx.sy_
sbp2port.sy_
scsiport.sy_
sdbus.sy_
usb8023x.sy_
usbehci.sy_
usbhub.sy_
usbstor.sy_
[drivercab_move]
This Section contains the list of Pack replaced files that Only existed in one of the merged cab files (Driver & SP2)
The files listed are moved into the temp folder that holds the merged contents of the 2 cabs listed above prior to that folder being recompressed.
These files are not individually compressed in the pack, as when they are expanded out of the pack into the i386 folder they are moved and then compressed inside the combined cab file.
Code: Select all
;This section contains the list of updated files which exist only in driver.cab.
;They will be moved into the expanded driver folder during driver cab updating.
[drivercab_move]
plotter.dll
plotui.dll
portcls.sys
processr.sys
ps5ui.dll
pscript5.dll
pscript.ntf
psisdecd.dll
tty.dll
tty.ini
ttyres.dll
ttyui.dll
unidrv.dll
unidrvui.dll
unires.dll
wzcsapi.dll
wzcsvc.dll
[dupedrivers]
This section is for functionality not currently being used by the integrator. It will eventually be used for those who want to remove files from driver.cab which also exist in i386. This section should not be used in addons packs.
==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====
[obsolete]
The obsolete section is where you would type in a hotfix name (without the extension). This section tells the integrator to remove any entries in the svcpack.inf file that pertain to this hotfix and remove any files with this name from the svcpack directory.
Code: Select all
;This section contains a list of obsolete hotfixes which shouldn't be installed
[obsolete]
KB319740.cat
KB842520.cat
KB867795.cat
KB870981.cat
KB872966.cat
KB873339.cat
KB883483.cat
KB883507.cat
KB883523.cat
KB883667.cat
KB884018.cat
KB884038.cat
KB884538.cat
KB884558.cat
KB884562.cat
KB884568.cat
KB884575.cat
KB884868.cat
KB884883.cat
KB884897.cat
KB885222.cat
KB885295.cat
KB885626.cat
KB885863.cat
KB885894.cat
KB886199.cat
KB886659.cat
KB886677.cat
KB886716.cat
KB886809.cat
KB887170.cat
KB887173.cat
KB887186.cat
KB887472.cat
KB887569.cat
KB887606.cat
KB887710.cat
KB887742.cat
KB887797.cat
KB887820.cat
KB888083.cat
KB888113.cat
KB888240.cat
KB888254.cat
KB888302.cat
KB888321.cat
KB888402.cat
KB888432.cat
KB889016.cat
KB889073.cat
KB889315.cat
KB889320.cat
KB889527.cat
KB889960.cat
KB890046.cat
KB890048.cat
KB890210.cat
KB890546.cat
KB890558.cat
KB890644.cat
KB890733.cat
KB890831.cat
KB890841.cat
KB890859.cat
KB890864.cat
KB890927.cat
KB890937.cat
KB891019.cat
KB891566.cat
KB891593.cat
KB891781.cat
KB892099.cat
KB892227.cat
KB892233.cat
KB892235.cat
KB892296.cat
KB892489.cat
KB892496.cat
KB892559.cat
KB893008.cat
KB893225.cat
KB893317.cat
KB893357.cat
KB893376.cat
KB893605.cat
KB893609.cat
KB893756.cat
KB893803.cat
KB894072.cat
KB894083.cat
KB894088.cat
KB894463.cat
KB894480.cat
KB894686.cat
KB894794.cat
KB894871.cat
KB895173.cat
KB895246.cat
KB896089.cat
KB896166.cat
KB896178.cat
KB896256.cat
KB896269.cat
KB896344.cat
KB896354.cat
KB896358.cat
KB896360.cat
KB896422.cat
KB896423.cat
KB896428.cat
KB896430.cat
KB896613.cat
KB896626.cat
KB896684.cat
KB896725.cat
KB896727.cat
KB896896.cat
KB896984.cat
KB897327.cat
KB897574.cat
KB897662.cat
KB897696.cat
KB898456.cat
KB898781.cat
KB898900.cat
KB899527.cat
KB899587.cat
KB899588.cat
KB899591.cat
KB900387.cat
KB900624.cat
KB900930.cat
KB901026.cat
KB901214.cat
scripten.cat
[ExtraFileEdits]
The [ExtraFileEdits] section of the entries.ini file. It is supported by the integrator and NLite. So you can now use it in NLite as well. What it does is allow you to edit things that normally would not be possible to edit.
You would use a code simular to this to edit text in a file:
Code: Select all
Eula.txt|Reverse Engineering:|Fixing Microsofts Boo Boos: Because it's so much fun!<NEXT>anybody else care to join me?<NEXT>|1
Then place a pole "|" The pole represents a seperator.
Next you type the text you want to look for in the Eula.txt file. (Whenever you type <NEXT> anywhere in this section it means advance to the next line.)
Then another pole |
Next you type what you want to replace the text with. (Whenever you type <NEXT> anywhere in this section it means advance to the next line.) That is why I typed Fixing Microsofts Boo Boos: Because it's so much fun!<NEXT>anybody else care to join me?<NEXT> It will actually write:
Fixing Microsofts Boo Boos: Because it's so much fun!
anybody else care to join me?
Then add another pole |
And finally type how many instances you wish to change. If the portion of text is found multiple times inside of the file then it will change the text as many times as you state here. If you put 0 here it will change every instance.
Code: Select all
[ExtraFileEdits]
;Filename|ChangeFrom|ChangeTo|Count
;Filename is the path and the name of the file to edit.
;ChangeFrom is the text to change
;ChangeTo is the text to replace with.
;Count is the number of times the specific text will be changed if it is found more than once. Put 0 to change all instances.
;If you type <NEXT> anywhere in your text it will meen to advance to the next line.
;example COMPDATA\3com.txt|Microsoft|Siginet|2
rvmtemp\svcpack.inf|[setuphotfixestorun]|[setuphotfixestorun]<NEXT>filetoadd.exe<NEXT>|1
*NEW in v1.0 RC13*
[obsolete_files] Only in Siginet's: RyanVM Integrator.
obsolete_files section is useful if you release a new version of your pack and you want to delete your old version from their I386 directory. It will delete any file you list here and it will also delete the according entries from dosnet.inf and txtsetup.sif.
1. deletes the file from i386 dir.
2. It will delete the
d1,yourfile.ext
from dosnet.inf
3. It will delete the
wmp10.cab =
keys from the [SourceDisksFiles] section of the txtsetup.sif file.
Code: Select all
[obsolete_files]
HashTab_Addons.inf
HashTab.dll
*NEW in v1.0 RC13*
[old_sysoc] Only in Siginet's: RyanVM Integrator.
The old_sysoc seciton is useful for deleteing old entries in the [Components] section of the Sysoc.inf file.
If you wanted to delete:
WMP10Files=ocgen.dll,OcEntry,wmp10.inf,HIDE,7
From sysoc.inf you would use the code posted in the example below.
Code: Select all
[old_sysoc]
WMP10Files
*NEW in v1.0 RC13*
[removable_cats] Only in Siginet's: RyanVM Integrator.
The removable_cats section is where you would list all of the .cat files that are in your pack that are safe to be removed when selecting the "Remove .cat Files" checkbox in the integrator.
Code: Select all
[removable_cats]
KB873339.ca_
KB887472.ca_
KB887710.ca_
KB887742.ca_
[EditFile] Works in the Integrator and NLite.

The [EditFile] Section is very simular to the [ExtraFileEdits] section. EditFile was made for NLite but is also available in the integrator. It allows a user to make a section in their entrie file that will allow them to edit a file that they normally would not be able to edit.
It allows you to create a custom section inside of the entrie file that would allow a user to add lines to a section in another ini-like file.
[EditFile]
file to edit,section to edit,custom section in entries file
[custom section in entries file]
line to add to section being edited
Code: Select all
[EditFile]
i386\SVCPACK.INF,SetupHotfixesToRun,AddLine
[AddLine]
jre.exe
*NEW in v1.2.2*
[WinntSif] Only in Siginet's: RyanVM Integrator.
The WinntSif section allows you to change anything within an existing winnt.sif file.
Section\Key=Value
;This section contains entries that need to go into the winnt.sif file
Code: Select all
[WINNTsif]
Shell\DefaultStartPanelOff=No
*NEW in v1.3*
[FileCopy] Only in Siginet's: RyanVM Integrator.
FileToCopyInI386.ext,ToCopyTo\FileToCopyInI386.ext
;This section allows you to copy a file to another place in your destination.
Code: Select all
[FileCopy]
Eula.txt,rvmtemp\Eula.txt
*NEW in v1.3*
[FileMove] Only in Siginet's: RyanVM Integrator.
FileToMoveFromI386.ext,ToMoveTo\FileToMoveFromI386.ext
;This section allows you to move a file to another place in your destination.
Code: Select all
[FileMove]
RUN_ME.cmd,..\RUN_ME.cmd
*NEW in v1.3*
[DirCopy] Only in Siginet's: RyanVM Integrator.
DirToCopyFromI386,ToMoveTo\DirToCopyFromI386
;This section allows you to copy a directory to another place in your destination.
Code: Select all
[DirCopy]
WINNTUPG,rvmtemp\WINNTUPG
*NEW in v1.3*
[DirMove] Only in Siginet's: RyanVM Integrator.
DirToMoveFromI386,ToMoveTo\DirToMoveFromI386
;This section allows you to move a directory to another place in your destination.
Code: Select all
[DirMove]
DPfiles,..\DPfiles
M2,..\M2
*NEW in v1.3*
[FileDelete] Only in Siginet's: RyanVM Integrator.
FileToDeleteInI386.ext
;This section allows you to delete a file in your destination.
Code: Select all
[FileDelete]
Eula.txt
*NEW in v1.3*
[DirDelete] Only in Siginet's: RyanVM Integrator.
DirToDeleteInI386
;This section allows you to delete a directory in your destination.
Code: Select all
[DirDelete]
WINNTUPG
*NEW in v1.3*
[RunFile] Only in Siginet's: RyanVM Integrator.
RunFile.ext
;This section allows you to Run a file before driver.cab is or is not repackaged.
;You can place ,HIDE at the end of the file to have a batch file run hidden.
Code: Select all
[RunFile]
RUN_ME.cmd
RUN_ME.cmd,HIDE
==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====
*NEW in v1.3*
[HexEdit] Only in Siginet's: RyanVM Integrator.
Code: Select all
[HexEdit]
I386\sfc_os.dll|5.1.2600.2180|320|C812|E2E0
The BeforeHexCode can be * which is wild. If you use * then it doesn't matter what the before code is. The integrator will edit that offset anyways.
==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====
==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====
==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====
==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====
If anyone would like to help explain (or revise) some of the sections to help me out... please reply to this thread and I will update the thread with your info.

There is a lot of potential in the integrator... but you members need to join us and help make the packs.

Hopefully this will help some of you create some custom addons.

If you create a custom addon... post it on the board and share it with us!
