Jump to content

Gosh's Reducing Size of Source w/ SP2 & dotnetfx


Recommended Posts

Hello,

i create a new topic for my problem, which is that after having reduced my Windows XP Unattended CD using the great Reducing Size of Source method by Gosh, it's impossible to install Microsoft .Net FrameWork !

i think that those who have used this method to add more space on their CD should have this problem too, shouldn't they ?

here is my CD structure :

--root  (XPBOOT.BIN, WIN51, WIN51IP, win51ip.SP2, setupxp.htm)

---------$oem$  (cmdline.txt, useraccount.cmd, runonceex.cmd...)

------------------$1
-----------------------Drivers
----------------------------------001_intel_sata_raid  (ich5 sata & raid)
-----------------------Hotfixes  (all my softwares)
-----------------------Install  (regtweaks, cleanup...)

------------------$$
-----------------------System32

---------BOOT
------------------system32

---------i386
------------------asms  (contains others directories : 1, 2, 10, 52, 60, 70, 1000, 5100, 6000, and 7000)
------------------svcpack  (created by me for Themes.exe)
------------------system32  (ntdll.dll & smss.exe)

i searched on the forum to find methods, but the 2 methods doesn't work !

1st : create a 'dotnetfx' directory at the root of the CD and place 'dotnetfx.exe'

2nd : create a directory 'dotnetfx' at the root of the CD and extract 'dotnetfx.exe' in it, after this, rename 'install.exe' by 'setup.exe'

both methods don't work at all !

so i tested to install it using a RunOnceEx commande, with my others programs...

when it comes, i have an error with the System Restore. It tells me that i must activate System Restore to install FrameWork 1.1, but i activated it !

so i really don't kinow how it is possible to install DOTNET Framework after have used the Gosh's Reducing Size of Source method.

please help, thank you in advance.

Link to comment
Share on other sites


have you tried installing .NET when the computer is done installing?

When are you trying to install .NET?

2nd : create a directory 'dotnetfx' at the root of the CD and extract 'dotnetfx.exe' in it, after this, rename 'install.exe' by 'setup.exe'

That's only to get the link in the autorun to work.

Link to comment
Share on other sites

i tested to install the .Net Framework 1.1 using RunOnceEx, after Windows XP installation, with my others software.

this works perfectly well for my Windows SP1a, but for SP2.

here is what i use for SP1a :

REG ADD %KEY%\005 /VE /D "Microsoft .Net Framework 1.1" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Hotfixes\NetFramework\netfx.msi /qn" /f

this doesn't work anymore.

when comes the moment to install Net Framework 1.1 (runonceex.cmd) a message box appears and tells me that i have to enable the System Restore, so i click "OK" and it doesn't install itself...

please help if you know why it tells me that.

system restore was enabled :}

thank you

Link to comment
Share on other sites

up

edit :

i've just tested again, and after the Windows installation, i still cannot install framework.

so it seems there is an external problem too :wacko:

i verified again, System Restore is not checked, so it's enabled.

i verified again the status of all Windows Services, and System Retore is in "Auto" and "Started".

System Restore depends on RPC, which is started too.

i don't understand.

Link to comment
Share on other sites

I've nLited my CD and removed System Restore, I've integrated SP2 and I've used Gosh's method to reduce source even more.

I have NO problems installing the .NET Framework. Even on a non-nLited CD, it works flawlessly.

What else have you done to your CD?

Link to comment
Share on other sites

i think it's solved now.

in the error box that appears, there is a link to Microsoft support :

microsoft support link

it is described.

i modified the Rollback in my registry tweaks :blushing:

i don't tested again but it must work now.

@Raverod :

you have used Gosh's reducting size of source method ?

did you run nlite b4 reducing size of source, or after ?

is it different ? i mean i would want to test this too.

i would want to ask you, why have you removed system restore, some softwares need it, needn't they ?

and i have seen that nlite add a nlite.cmd in the i386 folder, for cleanup if i remember correctly, but to clean what (if you know) ?

Link to comment
Share on other sites

One thing about using Gosh's method, you can't integrate Windows hotfixes into your install.

good to know.

i used nlite and slim down my unattended CD to 393Mb, or 615Mb /w softwares.

i removed defragmenter (i use diskeeper 8.0) and system restore too, without any problem :)

but i still have only one problem left.

there are some directories in Program Files that cannot be removed :

- microsoft frontpage,

- msn gaming zone,

- windows nt,

- xerox.

Deletion is refused, because they're already "in use by another application".

But theses directories are empty, or contains sub-directories that are empty.

i would want to delete them in my cleanup.cmd at the end of RunOnceEx.

RD /S /Q "%systemdrive%\Program Files\Common Files"    ->deleted
RD /S /Q "%systemdrive%\Program Files\ComPlus Applications"    ->deleted
RD /S /Q "%systemdrive%\Program Files\microsoft frontpage"    -> not deleted
RD /S /Q "%systemdrive%\Program Files\msn gaming zone"    ->not deleted
RD /S /Q "%systemdrive%\Program Files\Services en ligne"    ->deleted
RD /S /Q "%systemdrive%\Program Files\windows nt"    ->not deleted
RD /S /Q "%systemdrive%\Program Files\xerox"    ->not deleted

thx in advance

Link to comment
Share on other sites

  • 2 weeks later...

These folders are in use by the Windows Logon App (winlogon.exe) thus making it next to impossible to delete them. However, if you remove sfcfiles.dll (you don't use Windows File Protection, do you :)?) or rename it to something else, such as _sfcfiles.dll, deleting the dirs will be no problem. Note that if you rename the file back to sfcfiles.dll, for example, if you want to check the integrity of your Windows files, and reboot your machine, Windows will automatically recreate the folders :angry:.

Oh, yes, and be sure to edit dosnet.inf, layout.inf and txtsetup.sif so that they point to the renamed file, otherwise Setup will generate an error message during its text-mode portion.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...