English 中文(简体)
如何使用WiX删除字体
原标题:How to use WiX to delete a font

我正在创建一个安装程序,还需要删除Arial字体(有人告诉我,如果删除Arial字体,它将从缓存中重新创建,这正是我想要的)。我是否可以在WiX中完成此操作,还是需要编写自定义操作?

更新:我安装程序的用户90%的时间将拥有一个被破解的Arial版本,这会与Web浏览器的字体回退机制发生冲突。最好确认一下,如果我删除Arial字体,它会重新创建,因为从技术上讲,我不能在未经授权的情况下重新分发更新的Arial字体。

更新2:我成功删除了它,但在字体文件夹内Arial字体仍然存在,但看起来孤立无援。也就是说,我可以看到它,但如果我双击它,它会说字体格式不正确。

最佳回答

我认为这可能会发挥作用,即使我在我的评论中没有推荐它。

   <Directory Id="FontsFolder">
      <RemoveFile Id="RemoveArial" On="install" Name="Arial.ttf"/>
   </Directory>
问题回答

暂无回答




相关问题
Correct place to install demostration projects?

With the new Windows 7 restrictions (well, new to Windows Vista anyways), we can no longer install demo projects to %ProgramFilesFolder%OurApplicationdemo since restricted users will not be able to ...

msi install program as startup

is it possible to install a program as a start up program using MSI installer?

Web Setup Project - Repair to overwrite files

I have a web setup project that creates an MSI. After first installation, my web site has some config files that can be modify manually. When triggering that MSI again, I am offered to repair the ...

Visual Studio Setup Projects: Cleartype

I use a Visual Studio Setup project to create an installer for some assemblies. However, the fonts the installer uses are always aliased, and don t appear to be the Windows standard. (source: ...

Implementing Update functionality

I want to implement the Update functionality for one of my .NET application. I saw that the Advanced Installer contains this functionality. Anybody recommends Advanced Installer for updating my ...

VS 2005 Setup - HKCU

I am trying to fix an existing application that uses a Visual Studio 2005 setup project. We are requiring it to work on limited user accounts for XP, our app is written in C# for .Net 2.0. It writes ...

热门标签