MSFN Forum: Windows 7 & vLite *DEPRECATED* - MSFN Forum

Jump to content



vLite Forum Rules

If you are having issues with Windows after removing components and have come to ask for help, please attach (not paste) your Last Session.ini file to your post to facilitate quicker assistance.
  • 33 Pages +
  • « First
  • 19
  • 20
  • 21
  • 22
  • 23
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Windows 7 & vLite *DEPRECATED* how-to shrink and keep functionality... Rate Topic: -----

#401 User is offline   liquid0624 

  • Member
  • PipPip
  • Group: Members
  • Posts: 156
  • Joined: 19-November 08

Posted 16 July 2009 - 07:31 PM

View PostSausageHack, on Jul 16 2009, 09:24 PM, said:

View Postdead0, on Jul 16 2009, 03:18 PM, said:

View Postharusp3x, on Jul 16 2009, 02:14 PM, said:

View Postdead0, on Jul 16 2009, 01:22 PM, said:

after some thoughts, i think windows 7 professional is the way to go since we're removing most of the ultimate stuff anyway?! :P

theres not much difference between the two aside from bitlocker & the use of 35 different languages? :whistle:


I have tried to edit and build only the Professional edition but "No images available" after the installation boots up.

i think i may have found a workaround? if you remove the other editions keeping only professional & then edit the ei.cfg file from ultimate to professional, it should install...testing now

...just finished & it installed correctly :D will try 2moro to see if vlite works properly on it?


I just:
A.) Mounted HOMEPREMIUM with GimageX
B.) install_wim_tweak and DISM etc etc
C.) Open up vLite, select to use HOMEPREMIUM
D.) Do like one tweak and then rebuild one (HOMEPREMIUM)
E.) Actually vLite it using a preset and apply
F.) Delete all files out of /sources EXCEPT boot.wim install.wim and setup.exe

Automatically installs Home Premium Edition! Theorhetically, this would work for Professional. Tell me if it works. :thumbup


It should work by theory but this step

F.) Delete all files out of /sources EXCEPT boot.wim install.wim and setup.exe

I can't get that one to work i always have to copy the sources original directory into the ISO i created or it gives me missing driver errors when i try to install it :wacko:


#402 User is offline   liquid0624 

  • Member
  • PipPip
  • Group: Members
  • Posts: 156
  • Joined: 19-November 08

Posted 16 July 2009 - 07:41 PM

Going to test this theory now preparing for first install of 16385 x64 wish me luck :)

#403 User is offline   liquid0624 

  • Member
  • PipPip
  • Group: Members
  • Posts: 156
  • Joined: 19-November 08

Posted 16 July 2009 - 07:47 PM

SausageHack you were right :) All i need is INSTALL.WIM and BOOT.WIM and SETUP.EXE from sources directory for Windows 7 Clean Boot Install :) :thumbup

#404 User is offline   Jeronimo 

  • vLite user
  • PipPipPip
  • Group: Members
  • Posts: 395
  • Joined: 26-October 03

Posted 17 July 2009 - 04:45 AM

install_wim_tweak works for me again with build 7600 x64. Now trying to see if I can slim it down a bit more. Should be able to get the image below 1GB. I have removed a lot more from the image, also from winsxs-folder. just need to check remaining disabled Windows-features and files in program folder, see if I can remove those from winsxs as well. Probably somewhere during the weekend, I will post my results and files.

I will remove Windows features IE8 (IE-Troubleshooting, InternetExplorer-Optioonal), Gadgets, DVD-Maker, Windows Gadgets, XPS-service, Internet Games and those redundant language files. Then I commit the image (*). Then run vLite removal-only, check with dism what components remain. Then I put the wim-file back (the 1 I had here: *), remove the components that were remaining, see if I can still select all components in vLite, perform removal once more, cleanup/delete files from image, run vLite dummy-removal to slim down image again.

Somewhere along the way I would like to integrate my language pack, but unfortuantely, this is not available yet as far as I know.

#405 User is offline   gendouhydeist 

  • Junior
  • Pip
  • Group: Members
  • Posts: 96
  • Joined: 02-January 07

Posted 17 July 2009 - 05:11 AM

@Jeronimo
any updates to your batch??? i really would like using an updated one..

#406 User is offline   valeri 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 09-July 09

Posted 17 July 2009 - 03:44 PM

W-7, b7100
With guard these files
windows\system32\wer.dll
windows\system32\msdrm.dll
windows\system32\browcli.dll
windows\system32\msoert2.dll
windows\system32\winipsec.dll
windows\system32\werconcpl.dll
windows\system32\Magnification.dll
windows\system32\srvcli.dll

P. S.
Not delete Japanese, otherwise Word 2003, during the complete setting, at his opening, opened time-lagged to 7 seconds

This post has been edited by valeri: 17 July 2009 - 03:46 PM


#407 User is offline   valeri 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 09-July 09

Posted 17 July 2009 - 03:45 PM

View Postvaleri, on Jul 17 2009, 04:44 PM, said:

W-7, b7100
With guard these files
windows\system32\wer.dll
windows\system32\msdrm.dll
windows\system32\browcli.dll
windows\system32\msoert2.dll
windows\system32\winipsec.dll
windows\system32\werconcpl.dll
windows\system32\Magnification.dll
windows\system32\srvcli.dll

P. S.
Not delete Japanese, otherwise Word 2003, during the complete setting, at his opening, opened time-lagged to 7 seconds

Attached File(s)



#408 User is offline   Jeronimo 

  • vLite user
  • PipPipPip
  • Group: Members
  • Posts: 395
  • Joined: 26-October 03

Posted 17 July 2009 - 03:46 PM

I am nearly finished with the dism removal-part. Just need to test 1 or 2 installations (1 without IE removed and if all goes well 1 with IE removed). After that I am going to check the cleanup-part. Probably somewhere tomorrow I will know more. On a side note: still working on x64 7600.16384, but I saw 7600.16385 also is available.

This post has been edited by Jeronimo: 17 July 2009 - 03:50 PM


#409 User is offline   Skauneboy 

  • Group: Members
  • Posts: 5
  • Joined: 17-January 08

Posted 17 July 2009 - 04:39 PM

Thanks for the excellent batch-file Jeronimo! So much easier for me to service my WIM-files now compared to when I did it manually. One question regarding your approach to package and component removal: I've noticed that you choose not to remove some packages with DISM which component's you check for removal in Vlite. Am I correct in assuming that this is done so that Vlite can "see" these packages and remove the files associated with them? I.E. Depending on the package it's preferable to use only DISM, only Vlite and in some cases both DISM and Vlite?

#410 User is offline   Jeronimo 

  • vLite user
  • PipPipPip
  • Group: Members
  • Posts: 395
  • Joined: 26-October 03

Posted 17 July 2009 - 05:16 PM

View PostSkauneboy, on Jul 18 2009, 12:39 AM, said:

<br>Thanks for the excellent batch-file Jeronimo! So much easier for me to service my WIM-files now compared to when I did it manually. One question regarding your approach to package and component removal: I've noticed that you choose not to remove some packages with DISM which component's you check for removal in Vlite. Am I correct in assuming that this is done so that Vlite can "see" these packages and remove the files associated with them? I.E. Depending on the package it's preferable to use only DISM, only Vlite and in some cases both DISM and Vlite?<br>


I guess something like that, trying to find a best of both worlds. It seems dism does not remove everything (winsxs) )and therefore I prefer vLite. I checked after removing all components with vLite, which packages remain present and those are the ones I try to remove with dism. Sometimes removing a package also removes a component in vLite and then I do not remove the package. I know that drivers are not fully removed with vLite, but that is why I have my own clean-up afterwards. I need to check 2 driver-packages that failed in the past, after that the dism/vlite part is done and I can move on to testing the clean-up process.

#411 User is offline   dead0 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 488
  • Joined: 29-October 06
  • OS:none specified
  • Country: Country Flag

Posted 17 July 2009 - 06:03 PM

quick question, does anyone know how i can create a batch file that will delete files or folders listed in a txt file?

#412 User is offline   SausageHack 

  • Loses The Game
  • Pip
  • Group: Members
  • Posts: 72
  • Joined: 10-July 09
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 July 2009 - 09:42 PM

Guys, I have an idea for reducing ISO size, but only by ~80 Mb or less

Instead of mounting install.wim, mount boot.wim

You could probably get rid of a lot of extra files. The whole file is about 120-160 Mb depending on your architechture.

On a side note, here are all the files I have found that are safe to delete:

- C:\Windows\WinSxS\backup\*.*
- C:\Windows\Web\Wallpaper\*.* EXCEPT 'Windows' folder
- C:\Windows\System32\Recovery\*.*

I'll try and keep this updated.

#413 User is offline   Jeronimo 

  • vLite user
  • PipPipPip
  • Group: Members
  • Posts: 395
  • Joined: 26-October 03

Posted 18 July 2009 - 07:57 AM

Ok here is my information on creating a slimmed down version of Windows 7...

packages_xls.txt (rename to packages.xls)
Contains information about all Windows packages, vLite component, the relation between them, removal issues and specified removal (dism or vLite)

removal_bat.txt (rename to removal.bat)
Contains removal of packages, cleanup and language pack integration (not fully automated). Works by specifying a parameter (eg "removal.bat packages")
Please make sure you edit it to fit your needs (everything up to the choice between using imagex or dism for mounting, use imagex for proper functionality)

The updated removal.bat, "does" the following action for you:
Remember to set the image id to 1 after you have run vLite (in case you rebuild to 1 image).

parameter - action (see contents for possibilities)
<none> - initialise environment variables (a new prompt called "WIM-prompt" will be started)
packages - remove packages with dism (see packages.xls for details)
cleanup - remove files and folders
drivers - driver integration (recurses the specified folder)
post - actions cleanup + drivers
full - actions packages + cleanup + drivers (not recommended)
langpack - integrate language pack in Windows 7
langpack2 - integrate language pack in Setup

Pre-requirements/notes
In case of Windows 7 x64, make sure you are running a x64 version of Windows as well
Windows 7 iso-contents (or DVD) copied to a local drive
dism.exe present in the sources-folder (for those of you that remove all files from the sources-folder)
remove ei.cfg from sources-folder to be able to install all editions
removal of Game Explorer component (by vLite) requires removal of Snipping Tool package (by idsm)
after the cleanup phase with nullify of winsxs-Backup, do not select any components in vLite or it will not be able to complete.

The following files need to be placed in the same folder as removal.bat:
install_wim_tweak (direct link: win6x_registry_tweak_bin_v1.1.rar)
imagex.exe and intlcfg.exe from the WAIK for Vista SP1 (take the proper version of these files amd64 for x64 or x86)

Recomended use
Modify the removal.bat to fit your needs (just in case you forgot)
Integrate Language pack
Packages removal
vLite (normal run)
Cleanup of files and folders
vLite (dummy run: reduce image size after cleanup)
Test on a secondary partition or to a virtual environment (such as VMware)
Afterwards use the regsvr32-command to make safe-removal of external drives work (see removal.bat).


This post has been edited by Jeronimo: 26 July 2009 - 08:53 AM


#414 User is offline   dead0 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 488
  • Joined: 29-October 06
  • OS:none specified
  • Country: Country Flag

Posted 18 July 2009 - 11:11 AM

View PostJeronimo, on Jul 18 2009, 07:57 AM, said:

Ok here is my information on creating a slimmed down version of Windows 7...

packages_xls.txt (rename to packages.xls)
Contains information about all Windows packages, vLite component, the relation between them, removal issues and specified removal (dism or vLite)

removal_bat.txt (rename to removal.bat)
Contains removal of packages, cleanup and language pack integration (not fully automated). Works by specifying a parameter (eg "removal.bat packages")
Please make sure you edit it to fit your needs (everything up to the choice between using imagex or dism for mounting, use imagex for proper functionality)
Remember to set the image id to 1 after you have run vLite (in case you rebuild to 1 image).

parameter - action
<none> - initialise environment variables (see contents for possibilities)
packages - remove packages with dism (see packages.xls for details)
cleanup - remove files and folders
full - actions packages + cleanup
langpack - integrate language pack in Windows 7
langpack2 - integrate language pack in Setup

Pre-requirements
In case of Windows 7 x64, make sure you are running a x64 version of Windows as well
Windows 7 iso-contents (or DVD) copied to a local drive
dism.exe present in the sources-folder (for those of you that remove all files from the sources-folder)
remove ei.cfg from sources-folder to be able to install all editions
The following files need to be placed in the same folder as removal.bat:
install_wim_tweak (direct link: win6x_registry_tweak_bin_v1.1.rar)
imagex.exe and intlcfg.exe from the WAIK for Vista SP1 (take the proper version of these files amd64 for x64 or x86)

Recomended use
Modify the removal.bat to fit your needs (just in case you forgot)
Integrate Language pack
Packages removal
vLite (normal run)
Cleanup of files and folders
vLite (dummy run: reduce image size after cleanup)
Test on a secondary partition or to a virtual environment (such as VMware)
Afterwards use the regsvr32-command to make safe-removal of external drives work (see removal.bat).

To do
Check further cleanup? I am not a fan of bluntly removing stuff from winsxs-folder (weither it is Backup or any other folder).

do you find vlite actually removes the iis webserver addons?

#415 User is offline   dead0 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 488
  • Joined: 29-October 06
  • OS:none specified
  • Country: Country Flag

Posted 18 July 2009 - 02:25 PM

i think i finally got it under 3gb, x64 win7 pro? :D

This post has been edited by dead0: 18 July 2009 - 02:31 PM


#416 User is offline   liquid0624 

  • Member
  • PipPip
  • Group: Members
  • Posts: 156
  • Joined: 19-November 08

Posted 18 July 2009 - 02:34 PM

I definately wanna be able to do that can't seem to get it under 3.35 gb compressed :wacko:

#417 User is offline   Jeronimo 

  • vLite user
  • PipPipPip
  • Group: Members
  • Posts: 395
  • Joined: 26-October 03

Posted 18 July 2009 - 03:32 PM

View Postdead0, on Jul 18 2009, 07:11 PM, said:

...
do you find vlite actually removes the iis webserver addons?

Well after running vLite it is no longer present as a package, what makes you think it is still present?

#418 User is offline   dead0 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 488
  • Joined: 29-October 06
  • OS:none specified
  • Country: Country Flag

Posted 18 July 2009 - 04:57 PM

View PostJeronimo, on Jul 18 2009, 03:32 PM, said:

View Postdead0, on Jul 18 2009, 07:11 PM, said:

...
do you find vlite actually removes the iis webserver addons?

Well after running vLite it is no longer present as a package, what makes you think it is still present?

just wondering really as i always used dism for removal of that :unsure:

#419 User is offline   dead0 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 488
  • Joined: 29-October 06
  • OS:none specified
  • Country: Country Flag

Posted 18 July 2009 - 06:10 PM

after another rebuild, install size now 2.93gb after compression :thumbup

#420 User is offline   liquid0624 

  • Member
  • PipPip
  • Group: Members
  • Posts: 156
  • Joined: 19-November 08

Posted 18 July 2009 - 09:37 PM

View Postdead0, on Jul 18 2009, 08:10 PM, said:

after another rebuild, install size now 2.93gb after compression :thumbup


how u doing it can't get this under 3gb let alone 2.93gb lol :thumbup

Share this topic:


  • 33 Pages +
  • « First
  • 19
  • 20
  • 21
  • 22
  • 23
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
1 members, 1 guests, 0 anonymous users

  1. 85755


All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy