|
|
|
下面提到的是CUI得增强,本次我们只简要介绍一下基本内容。这个版本CUI的增强功能是实现可以方便的添加你应用程序的局部菜单The main CUI enhancement this year is a feature developed
to help deploy partial menus for addin applications.
|
|
|
|
您的安装程序会创建一个ApplicationInstallActions 键,当您的应用程序安装后,每个用户第一次运行AutoCAD时,AutoCAD会自动加载您的局部菜单。
|
|
|
|
当你的程序卸载时,移除该注册项,AutoCAd会自动的卸载您的局部菜单
|
|
|
|
|
|
|
|
Your installer will
create a key in the ApplicationInstallActions subkey of the AutoCAD HKLM
registry hive. When AutoCAD is run by each user for the first time after your
application installs, it will automatically load your partial menus.
|
|
|
|
Remove the registry
entry when you uninstall, and AutoCAD will automatically unload your partial
menus.
|
|
|
|
For Windows
compliance, you’ll want to register a second-stage installer to copy your
partial menus to the user’s roaming root director.
|
|
|