本文介绍了可以从InstallAware setup.exe安装Delphi IDE,而无需复制文件到c:\programdata?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Delphi IDE在最近几个版本(2010,XE,XE2,XE3,XE4)中使用InstallAware作为安装程序。如果安装了所有的IDE版本,使用普通的setup.exe安装将会将几GB的文件复制到c:\programdata。



安装程序特别快速消耗磁盘空间对于使用SSD硬盘的用户来说,这是昂贵的。



是否可以在不将文件复制到c:\ProgramData的情况下设置Delphi IDE?安装后手动删除这些文件是否可取?卸载先前版本的IDE会删除这些文件,但是作为组件制造商,我需要这些IDE进行测试。

解决方案

部分答案

当然,官方回答是NO。但是您实际上可以以丢失安装程序修复功能为代价删除这些文件。 (修复是标准的功能,而InstallAway仅仅是MSI的另一个前端)。此外,它将使任何手动恢复特定文件不可能,因为文件存储在分发介质上的加密7-zip存档(另一个不友好的功能)。



不幸的是,我不知道如何禁止创建这样的本地分发媒体副本。


Delphi IDE uses InstallAware as installer in last few releases (2010, XE, XE2, XE3, XE4). Using the normal setup.exe installation will copy a few GB of files into c:\programdata if you install all the IDE releases.

The installer consumes disk spaces quickly especially for users who use an SSD hard disk that is expensive.

Is it possible to setup the Delphi IDEs without copying files to c:\ProgramData? Is it advisable to delete those files manually after installation too? Uninstalling a previous version of the IDE does delete these files but as component maker, I need those IDEs for testing.

解决方案

Partial answer here.

Of course, official answer is NO. But you actually can delete these files at the cost of losing installer's "Repair" capability. (Repair is standard MSI feature, and InstallAway is merely yet another front-end for MSI). Also, it will render any manual restoration of particular file impossible, since files are stored in encrypted 7-zip archives on distribution medium (yet another unfriendly feature).

Unfortunately, I do not know any way to disable creation of such local copy of distribution medium.

这篇关于可以从InstallAware setup.exe安装Delphi IDE,而无需复制文件到c:\programdata?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 06:10