how to add entries to SourceDisksNames.x86

Questions about Update Pack making? Ask here.
Post Reply
scarface
Posts: 490
Joined: Sat Aug 02, 2008 7:25 am
Location: paris

how to add entries to SourceDisksNames.x86

Post by scarface » Tue Nov 04, 2008 7:59 am

Hi

Id like to know how to add entries to SourceDisksNames.x86. in txtsetup.sif in an update pack structure. (id want to integrate raid drivers in my pack). I tested under vmware to see the missing lines. I assume this should be added in entries.ini because other entries of txtsetup.sif are in entries.ini : SourceDisksFiles.x86 (txtsetup_files) and winntdirectories (txtsetup_dirs).

User avatar
5eraph
Site Admin
Posts: 4618
Joined: Tue Jul 05, 2005 9:38 pm
Location: Riverview, MI USA

Post by 5eraph » Tue Nov 04, 2008 8:24 am

One way would be to use [ExtraFileEdits] in entries*.ini. Despite popular belief, it works with both the RyanVM Integrator and nLite. Here's a code sample:

Code: Select all

[ExtraFileEdits]
[color=#FF3030]txtsetup.sif[/color]|[color=orange][SourceDisksNames.x86][/color]|[color=yellow][SourceDisksNames.x86]<NEXT>110 = "%cd3name%","%cd3tagfilei%",,\cmpnents\myfiles\i386[/color]|[color=#30FF30]1[/color]
Color code breakdown:
  • File to edit
  • Text to replace
  • Replacement text
  • Number of instances to replace: 0 = All
Use <NEXT> to insert a carriage return / line feed (CR/LF) into the text fields. You need not match entire lines.

User avatar
RogueSpear
Posts: 1155
Joined: Tue Nov 23, 2004 9:50 pm
Location: Buffalo, NY

Post by RogueSpear » Tue Nov 04, 2008 3:12 pm

I like the ExtraFileEdits directive myself. I use it in my mass storage addons because I couldn't seem to get things to work otherwise.

scarface
Posts: 490
Joined: Sat Aug 02, 2008 7:25 am
Location: paris

Post by scarface » Wed Nov 05, 2008 2:38 am

this doesn't work:
rvmtemp\txtsetup.sif|[SourceDisksNames.x86]|[SourceDisksNames.x86].x86<NEXT>1984 = %cdname%,%cdtagfilei%,,"\i386\NLDRV\001"|1
what's the problem?

User avatar
5eraph
Site Admin
Posts: 4618
Joined: Tue Jul 05, 2005 9:38 pm
Location: Riverview, MI USA

Post by 5eraph » Wed Nov 05, 2008 4:12 am

scarface wrote:this doesn't work:
rvmtemp\txtsetup.sif|[SourceDisksNames.x86]|[SourceDisksNames.x86].x86<NEXT>1984 = %cdname%,%cdtagfilei%,,"\i386\NLDRV\001"|1
what's the problem?
Remove all text in orange.

scarface
Posts: 490
Joined: Sat Aug 02, 2008 7:25 am
Location: paris

Post by scarface » Wed Nov 05, 2008 6:25 am

i put rvmtemp because i found that
"[ExtraFileEdits] looks in the i386 directory by default. If your file is in a sub-directory of i386 then you would specify the sub-directory and the file. You need to point in the rvmtemp directory if you wish to edit svcpack.inf, sysoc.inf, dosnet.inf, txtsetup.sif or any of the regularly edited files that the integrator normally edits because they are copied there during integration and will overwrite the ones that are located in the i386 directory" on rvm integrator website

scarface
Posts: 490
Joined: Sat Aug 02, 2008 7:25 am
Location: paris

Post by scarface » Thu Nov 06, 2008 12:39 am

it seems to be working with rvm integrator but not nlite.

User avatar
5eraph
Site Admin
Posts: 4618
Joined: Tue Jul 05, 2005 9:38 pm
Location: Riverview, MI USA

Post by 5eraph » Thu Nov 06, 2008 6:47 am

nLite does not use an rvmtemp directory, which is why I do not specify it.

scarface
Posts: 490
Joined: Sat Aug 02, 2008 7:25 am
Location: paris

Post by scarface » Thu Nov 06, 2008 9:18 am

with nlite i have an error with modified lines but thats not important.

Post Reply