DISABLEADVTSHORTCUTS=1 禁用所有快捷方式 [英] DISABLEADVTSHORTCUTS=1 disables all shortcuts
问题描述
我们有一个在启动时运行的应用程序,它允许在安装后更改许多已安装的文件.我们正在尝试通过在 Orca 中设置 DISABLEADVTSHORTCUTS=1
属性来关闭自我修复模式.但是,设置此属性时不会创建快捷方式.我所看到的所有信息都表明我们应该能够创建带有 DISABLEADVTSHORTCUTS=1
设置的非广告"快捷方式.有什么想法吗?
We have an application to be run on startup that allows many installed files to be changed after installation. We are trying to turn off the self-healing mode by setting the DISABLEADVTSHORTCUTS=1
property in Orca. However, no shortcuts are being created when this property is set. All the information I've seen indicates that we should be able to create "non-advertised" shortcuts with DISABLEADVTSHORTCUTS=1
set. Any ideas?
如果 DISABLEADVTSHORTCUTS
保持不变,我已验证快捷方式已正确创建.
I have verified that the shortcuts are created correctly if DISABLEADVTSHORTCUTS
is left unchanged.
推荐答案
如果您在 Visual Studio 2008 中创建安装和部署项目,有一个非常巧妙的技巧可以让您的快捷方式不被公开:
If you're creating a Setup and Deployment project in Visual Studio 2008, there's a very slick trick to make your shortcuts NON-advertised:
在 UI 编辑器中添加文本框面板.使所有文本框不可见.使属性 'DISABLEADVTSHORTCUTS' 之一而不是 EDITAx.将值设为1".您的快捷方式不会被公开.
Add a textboxes panel in the UI editor. Make all the textboxes invisible. Make one of the properties 'DISABLEADVTSHORTCUTS' instead of EDITAx. Make the value '1'. Your shortcuts will be non-advertised.
我想将此归功于我从谁那里偷来的,但我似乎找不到原始链接.
I'd like to give credit for this to whomever I stole it from, but I can't seem to find the original link.
这篇关于DISABLEADVTSHORTCUTS=1 禁用所有快捷方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!