Giter Club home page Giter Club logo

installerclean's Introduction

简介 Introduction

installerclean.exe 是一个自解压的exe 文件,实际上最终执行installerclean.ps1。该程序主要用于清理windows installer 目录。我公司的几个桌面计算机的Installer目录占了60-70GB,虽然我采用了很多办法,比如压缩,清理磁盘空间(该项目下的autocleanmgr.cmd),效果都不大,我后面参考了一些流行的工具,分析了的他们的底层原理,我觉得我可以写一个脚本来完成这个事情,而不要安装依赖包,比如.net 4.0 。考虑到大部分powershell 已经内置在2.0以上,所以我写了这个工具。你可以完全按照自己的意愿删除installer缓存,所有代码和逻辑都是可见的。

如果你想了解这个程序的产生的一些分析过程,欢迎访问我的博客文章

一些问题点

  1. 由于一些系统可能powershell 可用,但是out-gridview命令不可用(需要.net的一些支持,或者版本较低不支持passthrou 开关,该开关可以弹出一个图形窗口来过滤项目)这种情况下我会在桌面上生成一个包含可以清理的installer的文件的相关信息的CSV文件,你可以用这些信息选择去清理哪些Installer.

installerclean's People

Contributors

yoke88 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.