windows安装程序创建
Reinstalling Windows is a good way to fix serious problems with your computer, or just to get a fresh slate. But before you reinstall Windows, you should make a list of programs you currently have installed on your PC so you know what you want to reinstall on the new system.
重新安装Windows是解决计算机严重问题的一种好方法,或者只是为了获得新的开始。 但是,在重新安装Windows之前,应该列出您当前在PC上已安装的程序的列表,以便知道要在新系统上重新安装的程序。
Having a list of installed programs is also useful if you just bought a new computer and you want to install the same programs you had on your old computer. Here are a few different methods for doing so on Windows 10, 8/8.1, and 7.
如果您刚购买了一台新计算机并且想要安装旧计算机上的相同程序,则列出已安装程序也很有用。 在Windows 10、8 / 8.1和7上,这是几种不同的方法。
简单方法:使用PowerShell命令 (The Easy Way: Use a PowerShell Command)
PowerShell is one of the most powerful things built into Windows, so of course it can do something as simple as list your installed programs. In fact, all you need is one command, which you can copy and paste right from this page.
PowerShell是Windows内置的最强大的功能之一,因此,它当然可以完成列出已安装程序的操作。 实际上,您只需要一个命令,就可以从此页面直接复制和粘贴该命令。
First, open PowerShell by clicking on the Start menu and typing “powershell”. Select the first option that comes up and you’ll be greeted with an empty PowerShell prompt.
首先,通过单击“开始”菜单并键入“ powershell”打开PowerShell。 选择出现的第一个选项,您将看到一个空的PowerShell提示。
Copy and paste the following command, pressing Enter when you’re done:
复制并粘贴以下命令,完成后按Enter:
Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize
PowerShell will give you a list of all your programs, complete with the version, name of the developer, and even the date you installed it.
PowerShell将为您提供所有程序的列表,包括版本,开发人员名称,甚至安装日期。
You will probably want to export that to a file though, which is also easy enough. You can just send the output using the > symbol and adding the path to a new text file that you want to create. For example:
您可能会想要将其导出到文件中,这也很容易。 您可以只使用>符号发送输出,然后将路径添加到要创建的新文本文件中。 例如:
Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize > C:\Users\Lori\Documents\InstalledPrograms-PS.txt
Obviously, replace C:\Users\Lori\Documents\InstalledPrograms-PS.txt
with the path and name you want to use for your file.
显然,将C:\Users\Lori\Documents\InstalledPrograms-PS.txt
替换为要用于文件的路径和名称。
What makes using PowerShell really neat is that if you do this on two different machines, you can easily compare the software installed on them. Just take your two text files and add them to this command:
使用PowerShell的真正精妙之处在于,如果您在两台不同的计算机上执行此操作,则可以轻松比较它们上安装的软件。 只需将您的两个文本文件添加到此命令中:
Compare-Object -ReferenceObject (Get-Content C:\Users\Lori\Documents\PCapps.txt) -DifferenceObject (Get-Content C:\Users\Lori\Documents\LAPTOPapps.txt)
In this example, one text file has programs from my PC, and the other has programs from my laptop. Any entries with a side indicator pointing to the right (=>) mean that the software is installed on my laptop but not on my PC, and any entries with a side indicator pointing to the left (<=) mean that the software is installed on my PC but not on my laptop.
在此示例中,一个文本文件包含来自我的PC的程序,另一个文本文件包含来自我的笔记本电脑的程序。 带有指向右侧的侧面指示符(=>)的所有条目表示该软件已安装在我的笔记本电脑上,但未安装到我的PC上;带有指向左侧的侧面指示符的任何条目均表示该软件已安装。在我的PC上但不在笔记本电脑上。
无命令行方式:使用CCleaner创建已安装程序的列表 (The No-Command-Line Way: Create a List of Installed Programs Using CCleaner)
CCleaner is a Windows application designed to free up space on your PC by deleting temporary files and erasing private data, such as your browsing and download history and lists of recent documents in various programs. However, it can also give you a list of all the programs on your computer, which is particularly useful if you already have CCleaner installed (or are very uncomfortable using the command line).
CCleaner是Windows应用程序,旨在通过删除临时文件和擦除私有数据(例如,浏览和下载历史记录以及各种程序中的最新文档列表)来释放PC上的空间。 但是,它也可以为您提供计算机上所有程序的列表,如果您已经安装了CCleaner(或者使用命令行非常不舒服),这将特别有用。
To create a list of installed programs using CCleaner, either double-click on the CCleaner icon on your desktop or right-click on the Recycle Bin and select “Open CCleaner” from the popup menu.
要使用CCleaner创建已安装程序的列表,请双击桌面上的CCleaner图标,或右键单击回收站,然后从弹出菜单中选择“打开CCleaner”。
Click “Tools” on the toolbar in the left pane on the main CCleaner window.
单击CCleaner主窗口左窗格中工具栏上的“工具”。
Make sure the Uninstall screen is active. You’ll see a list of programs installed on your PC. You can use CCleaner to uninstall, repair, rename, and delete programs, but you can also save the list of installed programs to a text file by clicking the “Save to text file” button in the lower-right corner of the window.
确保“卸载”屏幕处于活动状态。 您会看到PC上安装的程序列表。 您可以使用CCleaner卸载,修复,重命名和删除程序,但也可以通过单击窗口右下角的“保存到文本文件”按钮将已安装程序的列表保存到文本文件中。
On the Save As dialog box, navigate to where you want to save the text file containing the list of installed programs, enter a name for the file in the “File name” edit box, and then click “Save”.
在“另存为”对话框中,导航到要保存包含已安装程序列表的文本文件的位置,在“文件名”编辑框中输入文件的名称,然后单击“保存”。
You now have a list of programs currently installed on your computer.
现在,您有了计算机上当前安装的程序列表。
The list of installed programs includes the company, date installed, size, and version number for each program. The text is tab-delimited, which means you can open the text file in Word and easily convert the text to a table to make it more readable. Note, however, if you convert the text file to a Word file, that you will have to install Word on your new or redone PC before you can access your list of installed programs.
已安装程序的列表包括每个程序的公司,安装日期,大小和版本号。 文本以制表符分隔,这意味着您可以在Word中打开文本文件,然后轻松地将文本转换为表格以使其更具可读性。 但是请注意,如果将文本文件转换为Word文件,则必须先在新的或重做的PC上安装Word,然后才能访问已安装程序的列表。
Save this text file (or the Word file) to an external hard drive or a cloud service, so you can access it on your new PC or after you reinstall Windows on your current PC.
将此文本文件(或Word文件)保存到外部硬盘驱动器或云服务中,以便您可以在新PC上或在当前PC上重新安装Windows之后访问它。
翻译自: https://www.howtogeek.com/165293/how-to-get-a-list-of-software-installed-on-your-pc-with-a-single-command/
windows安装程序创建