是否可以定义 Windows Installer-uninstaller 文件名? [英] Is it possible to define a Windows Installer-uninstaller filename?

查看:22
本文介绍了是否可以定义 Windows Installer-uninstaller 文件名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

有人可以回答我的问题吗?我需要一个用户友好的 WIX 卸载程序文件名,如何实现?看起来windows设置了一个看起来像密码的人为名称:)

Would somebody answer my question, please? I need an user-friendly WIX uninstaller filename, how to achive it? It looks like windows set an artificial name which looks like a password :)

非常感谢.

推荐答案

更新:似乎使用 signtool.exe/d 开关对 MSI 进行签名将改变此行为,如这些答案中所述(感谢 Phil 找到这个):

UPDATE: It appears signing the MSI with signtool.exe and the /d switch will change this behavior as explained in these answers (thanks to Phil for finding this):

相关链接中的滑流:Installshield 自定义对话安装程序

您看到的名称可能是分配给原始安装数据库副本的随机十六进制名称,该副本缓存在系统上 %SystemRoot%\Installer(通常为 C:\WINDOWS\Installer).这是一个超级隐藏"的操作系统文件夹,绝对不应该以任何方式触及它.

The name you are seeing is probably the random hex name assigned to a copy of the original installation database that is cached on the system in %SystemRoot%\Installer (normally C:\WINDOWS\Installer). This is a "super hidden" OS folder, and it should never be touched in any way at all.

此类数据库的示例路径可以是:C:\WINDOWS\Installer\7da655.msi.我很确定这就是您在 UAC 提示中看到的内容.请验证或最好将它的图片添加到您的问题中以供其他人参考.

A sample path to such a database could be: C:\WINDOWS\Installer\7da655.msi. I am pretty sure this is what you are seeing in your UAC prompt. Please verify or better yet add a picture of it to your question for other people's reference.

这个缓存的数据库名称很奇怪,用于对相关软件进行修改、修复和卸载操作.WiX 向您展示的在各方面都是正确的信息——这是系统管理员在某些时候甚至可能需要看到的.但是,其他设置创建工具的处理方式有所不同,通常会显示供应商和产品 GUID,而不是缓存数据库的完整路径.

This cached database, with the weird name, is used during modify, repair and uninstall operations for the software in question. What WiX is showing you is in every way the correct information - it is what a system administrator might even need to see at some point. However, other setup creation tools do things differently, often showing the vendor and the product GUID instead of the full path to the cached database.

这就是解释 - 现在我们必须等待 WiX 人员之一实际回答是否可以更改此显示类型.因此,这更像是评论而不是答案,但它应该与了解正在发生的事情相关.我现在还要看看是否有任何选项可以在 WiX 中更改此设置.

So that was the explanation - now we have to wait for one of the WiX guys to actually answer whether it is possible to change this display type. As such this is more of a comment than an answer, but it should be relevant to understand what is going on. I am also going to have a look now to see if I see any options to change this in WiX.

在我个人看来,WiX 显示优于为其他 MSI 文件显示的其他一些 UAC 对话框,但我意识到您发现此信息对您的用户来说太详细了.我想他们可以在更多信息"部分隐藏这条路径.

In my personal opinon the WiX display is superior to some of the other UAC dialogs shown for other MSI files, but I realize you find this information too detailed for your users. I suppose they could hide this path in the "more information" section.

这篇关于是否可以定义 Windows Installer-uninstaller 文件名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆