justibus Posted February 3, 2013 Author Posted February 3, 2013 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?
NateExMachina Posted February 5, 2013 Posted February 5, 2013 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% [= ]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.Odd number of elements in anonymous hash at script/remove.pl line 1070.100% [========================================================================] ..restoring permissions and removing temporary files....done!
justibus Posted February 5, 2013 Author Posted February 5, 2013 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!
NateExMachina Posted February 7, 2013 Posted February 7, 2013 (edited) 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.exeWithout 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 KBUsing 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 February 7, 2013 by NateExMachina
justibus Posted February 8, 2013 Author Posted February 8, 2013 I checked again more thoroughly, and you're right. Thanks for pointing it out. I'm uploading a fixed version.
SIW2 Posted May 8, 2021 Posted May 8, 2021 (edited) If anybody is still working on this: Error C:\remove>remove remove: extraction of C:\Users\SIW2\AppData\Local\Temp\par-53495732\cache-765dd4 40b03a8366b2b9ad7839b678612be6013d/remove.exe (custom Perl interpreter) failed ( errno=17) C:\remove> These are the files in the temp folder it refers to Edited May 8, 2021 by SIW2
justibus Posted October 11, 2021 Author Posted October 11, 2021 Huh! I'm surprised people still use this. As to your error, I assume you are using the latest version on sf.net. Unfortunately, I don't know what caused this error. It seems to be a problem with Perl. What you can try is to delete the whole "par-53495732" folder, reboot the computer and try to run it again. By the way, if you run it without mounting or extracting a windows installation image into mount, you will get the following error: It seems, the Windows installation wim file is not mounted in mount!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now