Hi guys, first of all you did great job so far

, following your posts I beleive you are on the right way and it is doable and I think we are one step closer.
Changing this line( actually only removing the
1 at the end of the row) it managed to keep most of the files during TXT portion of the setup. I tracked the changes comparing the folder contents of \$WIN_NT$.~LS\i386 before and after TXT setup using BeyondCompare 2 and found that most of the files were deleted if in [SourceDisksFiles] the file was listed as logonui.exe =
100,,,,,,,2,0,0 . I couldn't find clear explanation of all switches and decided to experiment. Removed the 1 and more than 200MB in files were not deleted, compared to the option with the 1 present.
Original txtsetup.sif:
Quote
[SourceDisksNames.x86]1 = %cdname%,%cdtagfilei%,,\i386
2 = "%cd2name%","%cd2tagfilei%",,\cmpnents\tabletpc\i386
3 = "%cd2name%","%cd2tagfilei%",,\cmpnents\mediactr\i386
4 = "%cd2name%","%cd2tagfilei%",,\cmpnents\netfx\i386
100 = %spcdname%,%spcdtagfilei%,,\i386,1
New txtsetup.sif:
Quote
[SourceDisksNames.x86]1 = %cdname%,%cdtagfilei%,,\i386
2 = "%cd2name%","%cd2tagfilei%",,\cmpnents\tabletpc\i386
3 = "%cd2name%","%cd2tagfilei%",,\cmpnents\mediactr\i386
4 = "%cd2name%","%cd2tagfilei%",,\cmpnents\netfx\i386
100 = %spcdname%,%spcdtagfilei%,,\i386
Now much fewer files are being deleted, some of them :
Quote
snmpapi.dll = 100,,,,,,,2,0,0,,1,2
sniffpol.dll = 100,,,,,,,21,0,0
snmpcon.chm = 1,,,,,,,21,0,0,snmpconcepts.chm
snmpsnap.hlp = 1,,,,,,,21,0,0
SOFTKBD.DLL = 100,,,,,,,127,0,0
softpub.dll = 1,,,,,,,2,0,0,,1,2
XPBalln.wav = 1,,,,,,,26,0,0,%XPBalln%
I will try to remove the second 0 for some files and will report the results.
A full list of the deleted files is attached, as well as txtsetup.sif.
I hope there is someone who could explain or give another clue what else needs to be changed in txtsetup.sif.
Meanwhile I will make a full list of all files deleted, with their options in txtsetup.sif.
Once we make it not to delete files during TXT mode we need to find a way to prevent the 2 folders $WIN_NT$.~XX not to be deleted from the USB stick at the end of the GUI mode, it completely deletes the 2 folders at the stage "removing any temorary files used..." and if one removes the stick after, say "registering components" stage, SETUP won't complain about missing files or media, tested it already. May be a script renaming the 2 folders? But how to launch this script right after "creating start menu...." or "registering components..." stages?
Some information about setup parameters can be found on this site, I will be digging in it next days:
http://www.osronline...format_0icy.htm
This post has been edited by ilko_t: 06 December 2006 - 06:08 PM