justibus

Windows 7 component remover

20 posts in this topic

I just wanted to let you know that I released a new version of remove (v0.9; see first post). It has mainly a few bug fixes, some new xmls, dependency checking is implemented and seems to be working (skip with -n) and there a few new command line options (-n and -b for benchmarking).

I know it's been a while and in the meantime Windows 8 is out, but I'm still working on it, though not so frequently any more.

Let me know how it works for you.

@smilodon: If you're still around, can you test this release and report back?

0

Share this post


Link to post
Share on other sites

I've been using previous versions without problem but I'm having an issue with v0.9. I'm getting an error and the image size is not shrinking.

I am calling this from a batch file, using the command:

Remove.exe -d "..\..\..\Config\RemoveFiles" -m "%MountDir%"

The XMLs have been updated with the new ones in the zip.

The output says:

Checking dependencies..
Read xml files and gather information..
..reading xml files..
100% [========================================================================]
..resolving folder wildcards..
..resolving file wildcards..
..resolving registry wildcards..
..resolving package dependencies..
100% [========================================================================]
..done!
Write batch file..
..directories..
..files..
..deleteLine entries..
..done!
Write .reg file..
..done!
Removing components..
..backing up permissions..
..setting permissions and removing files..
100% [========================================================================]
..removing registry entries..
..editing files..
0% [= ]O
dd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
Odd number of elements in anonymous hash at script/remove.pl line 1070.
100% [========================================================================]
..restoring permissions and removing temporary files..
..done!

0

Share this post


Link to post
Share on other sites

hmm, I missed that warning before releasing it. It's fixed, but since it's a purely cosmetic issue, it will have to wait until the next release. But, it's nothing to worry about. I just tested it and it works all right. Your image size does not shrink if you do not export the modified image from the ortiginal wim file to a new one. I use imagex for that (imagex /export), but there are other tools out there (windows 7 toolkit springs to mind). Have you tested the installation in a virtual machine? Did it remove the components you selected?

Thanks for reporting the bug!

0

Share this post


Link to post
Share on other sites

I do export the image. I have a scripting system in place that automates the entire customization process. The only thing I'm changing is replacing remove.exe. I'm using XMLs from the v0.9 zip.

When looking at your git hub, version 73b2d4 on date 2013-01-23 and all previous versions work as expected.

http://sourceforge.net/p/w7cr/git/ci/820b07d62b7ea3cbac16a2d1611f33031bafe939/log/?path=/remove/bin/remove.exe

Without running remove.exe, the ISO size is 5,153,614 KB.

Using remove.exe from the v0.9 zip, the size is 5,148,822 KB

Using remove.exe from tree 73b2d4, the size is 4,299,794 KB.

I didn't thoroughly test it in VirtualBox; but at a glance, wordpad and some other things were still there.

Edited by NateExMachina
0

Share this post


Link to post
Share on other sites

I checked again more thoroughly, and you're right. Thanks for pointing it out. I'm uploading a fixed version.

0

Share this post


Link to post
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.