bertikul Posted October 30, 2007 Posted October 30, 2007 (edited) Hollo everyone,I decided to unsintall (using Waik) some Packages which i previously integrated in Install.wim in my Vista .Iso image. Now when I type: peimg /list c:\winpe_x86\mount\windows, the packages are still in the list (with a (-) sign of course). Can anyone PLEASE explain how to make the references of these Packages disappear from the LIST forever? After mounting the Image, I deleted manually the Packages entries from: Mount\windows\servicing\packages - but then, when I do: peimg /list c:\winpe_x86\mount\windows, it makes an error. The list won't show the other packages I never uninstalled.Please HelpThank you in advance Edited October 31, 2007 by bertikul
IcemanND Posted October 31, 2007 Posted October 31, 2007 Make the PE image smaller:After installing packages and drivers the Windows PE image is likely bloated with unused items. Toremove the unused items run the following where <source wim> is the bloated image and <dest wim>will be the cleaned up image. <dest wim> must not already exist.Imagex /boot /export <source wim> 1 <dest wim>From Imagex Help:IMAGEX [FLAGS] /EXPORT src_file src_number | src_name dest_file dest_nameExports a copy of the specified image to another WIM file. src_file - The path of the WIM file that contains the image to be copied. src_number - The number that identifies the image within the source WIM. src_name - The name that identifies the image within the source WIM. dest_file - The path of the WIM file that will receive the image copy. dest_name - The unique name for the image in the destination WIM.Accepted FLAGS: /BOOT Marks a volume image as bootable. Available for Windows PE images only. /CHECK Enables WIM integrity checking. If not provided, existing checks are removed. /COMPRESS [maximum | fast | none] Specifies the type of compression used when exporting to a new WIM file. /REF splitwim2.swm Enables the reference of split WIM (SWM) files. splitwim2.swm - Path to additional split file(s). Wild cards are accepted.Comments: If src_name is "*" then all images are exported to dest_file.Example: imagex /export d:\imaging\data.wim 1 d:\imaging\newfile.wim "Exported Image"
bertikul Posted October 31, 2007 Author Posted October 31, 2007 Make the PE image smaller:After installing packages and drivers the Windows PE image is likely bloated with unused items. Toremove the unused items run the following where <source wim> is the bloated image and <dest wim>will be the cleaned up image. <dest wim> must not already exist.Imagex /boot /export <source wim> 1 <dest wim>From Imagex Help:IMAGEX [FLAGS] /EXPORT src_file src_number | src_name dest_file dest_nameExports a copy of the specified image to another WIM file. src_file - The path of the WIM file that contains the image to be copied. src_number - The number that identifies the image within the source WIM. src_name - The name that identifies the image within the source WIM. dest_file - The path of the WIM file that will receive the image copy. dest_name - The unique name for the image in the destination WIM.Accepted FLAGS: /BOOT Marks a volume image as bootable. Available for Windows PE images only. /CHECK Enables WIM integrity checking. If not provided, existing checks are removed. /COMPRESS [maximum | fast | none] Specifies the type of compression used when exporting to a new WIM file. /REF splitwim2.swm Enables the reference of split WIM (SWM) files. splitwim2.swm - Path to additional split file(s). Wild cards are accepted.Comments: If src_name is "*" then all images are exported to dest_file.Example: imagex /export d:\imaging\data.wim 1 d:\imaging\newfile.wim "Exported Image"
bertikul Posted October 31, 2007 Author Posted October 31, 2007 Hollo everyone,I decided to unsintall (using Waik) some Packages which i previously integrated in Install.wim in my Vista .Iso image. Now when I type: peimg /list c:\winpe_x86\mount\windows, the packages are still in the list (with a (-) sign of course). Can anyone PLEASE explain how to make the references of these Packages disappear from the LIST forever? After mounting the Image, I deleted manually the Packages entries from: Mount\windows\servicing\packages - but then, when I do: peimg /list c:\winpe_x86\mount\windows, it makes an error. The list won't show the other packages I never uninstalled.Please HelpThank you in advanceThank you very much IcemanND for your reply. I'll try your sugestions and I'll let you know
bertikul Posted October 31, 2007 Author Posted October 31, 2007 I'am just trying to THANK you for your reply (I didn't mean to double the post). I found it difficult to find how to reply to you. Thanks again
bertikul Posted October 31, 2007 Author Posted October 31, 2007 I tryed to apply the command lines you sugested , but I have the same problem. Peimg /list shows the same error. It won't show the intire list if I delete manually the entries in \windows\servicing\packages (entries of packages I uninstalled). If I leave this file untouched, it works perfectly, but I don't want them to be in peimg /list since the packages are uninstalled. Any other sugestion? Thanks
bertikul Posted October 31, 2007 Author Posted October 31, 2007 If I try imagex /prep command, the /install, /uninstall, /import, and /list options will not function. I don't want that to hapen. Just delete uninstalled packages entries in windows\servicing\packages and that peimg /list works as it should.THANKS
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