Hi Siginet, really happy to see you still active with your projects
WinNT6.x True Integrator (uses a code a little old, never had the time to update it ehhhh, but it works very wel
l) is much more advanced about the entries.ini, it supports everything, every possible scenario, send me a PM with adddon for example, to understand more exactly what you want to do them, or what will the addon in Windows NT5.x 2000/XP/2003, and see do just the same in Windows NT6.x Vista\Seven\8\Next, as said the WinNT6.x True Integrator is very advanced in this respect, because it uses structures of Inf Setup, so there nothing there that you can not do
for example about the [DirMove] you can use the ProcessesToRunBeforeIntegration or ProcessesToRunAfterIntegration (like inf RunPreSetupCommand and RunPostSetupCommand)
;;AddOn ExtractDir = %SourceFiles%
;;%SystemDriver% or MountDir = %24%
;;because are working in OfflineMod, every dirid always refers to %SystemDriver% = MountDir, so the %11% is always = MountDir\Windows\System32
cmd.exe /c MOVE /Y """%SourceFiles%\OEM\*""" """%24%\OEM"""
however, it is best to use the [Global OffLine Changes.Install], since the WinNT6.x True Integrator supports the removal
Code: Select all
RunPostSetupCommands = AddAddOn.RunPostSetupCommands
RunPostSetupCommands = DelAddOn.RunPostSetupCommands
;; CopyFiles = OCName.CopyFiles
;; ReplaceFilesIfExist = OCName.ReplaceFilesIfExist
;; DelFiles = OCName.DelFiles
;; RenFiles = OCName.RenFiles
;; DelDirs = OCName.DelDirs
;; AddReg = OCName.AddReg
;; DelReg = OCName.DelReg
;; Ini2Reg = OCName.Ini2Reg
;; RunPreSetupCommands = OCName.RunPreSetupCommands
;; RunPostSetupCommands = OCName.RunPostSetupCommands
;; UpdateInis = OCName.UpdateInis
;; UpdateIniFields = OCName.UpdateIniFields
;; UpdateIniFiles = OCName.UpdateIniFiles
;; OCName.CopyFiles = 11
;; OCName.ReplaceFilesIfExist = 10, "System32"
;; OCName.DelFiles = 24
;; OCName.RenFiles = 16422
;; 1="OCName Files","WIN51",,""
;; NewFilename.txt, Filename.txt
;; HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%",,,"My Component"
;; HKLM,"SOFTWARE\Microsoft\Active Setup","SteppingMode","Y"
;; DelFile %10%\inf\inseng.dll
or if you want to customize the entire process (which is what I recommend in this case), then uses a structure of true addon, so from your inf after doing everything you want
Code: Select all
cmd.exe /c MOVE /Y """%SourceFiles%\OEM\*""" """%10%\OEM"""
RunPreSetupCommands = Nstall.RunPreSetupCommands
;;example %10%\OEM\Nstall.exe /Nstall ect ect ect
also creates a IniEdit.exe (or better to say Nstall.exe /IniEdit support) that will work on the command line, and then do whatever you want them, change all *.ini or do other in a personalized way ect ecct