Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Windows Installer Clean Up Utility: Do you use it? If so, why?

Updated: 21 May 2010 | 5 comments
Kevin_CO's picture
0 0 Votes
Login to vote

Looking to cleanup the over all size of our corp image. 

Used TreeSize to locate and view large file directories.  

Anyone use this tool before sysprep to remove unneccessary installer files?  

If so, what switch(s) are you using?  

Comments

Kurbycar32's picture
25
Aug
2009
0 Votes 0
Login to vote

i use treesize

but i dont delete the "unnecessary" installer files.  reason being that those files are there in case something needs to have a repair install executed or in some cases files provided for software uninstall.  yes these files may take alot of space and yes you could probably get rid of most of them but if your image needs one of these files later due to an update, upgrade or hotfix your end user will be constantly prompted for source files making your life more difficult

Kevin_CO's picture
25
Aug
2009
0 Votes 0
Login to vote

Agreed...

Not looking to remove any "necessary" cache directories.  Just trying to identify what is "safe" for removal, if there is anything safe for removing.

In other postings, I see folks comenting their image is 1.5 - 2.5 GB.  I find that hard to believe unless it's just Windows and no other applications or updates included.  

EdT's picture
26
Aug
2009
0 Votes 0
Login to vote

There are no unnecessary installer files

By all means clean up the temp folders, clear the prefetch cache, get rid of the backup folders for windows updates (those starting with a $ under the windows folder), and empty the C:\Windows\SoftwareDistribution\Download folder where updates appear to be cached after download.

Leave any files in C:\windows\installer untouched.

Make sure your policy is set to delete the swap file on shutdown - otherwise this can take up a chunk of space in your image.
If you have System Restore enabled by default, disable it then re-enable it just before imaging - this gets rid of the existing system restore points which can also chew up a bunch of space on your hard disk.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

Kevin_CO's picture
26
Aug
2009
0 Votes 0
Login to vote

Edt - if I delete the $

Edt -

if I delete the $ folders under C:\windows - what does this do for support if and when we need to uninstall the item from add remove?  Wouldn't this break the uninstall because it lookes for these cached folders?

If I remove the contents of C:\Windows\SoftwareDistribution\Download - same question as above?

Pagefile is zero'd out before I seal with sysprep.

Kurbycar32's picture
26
Aug
2009
0 Votes 0
Login to vote

3gb is a good target for a flat image

if your using sysprep the swap file is removed by default.  my basic images containing windows XP, drivers and office 2007 using fast compression are just under 3gb.  like EdT said i remove temp files and the software distribution folder (used for downloaded windows updates) but i leave the installer cache.  if you have a bunch of software installed your images could get much much larger.