我创建了一个安装应用程序的设置,并且仍然如此,但它最后开始突然发出奇怪的警告。因此,当安装过程完成时,会出现以下内容:
安装程序在安装此软件包时遇到意外错误。这可能表明此包有问题。错误代码是2810。
于是我查了2810,上面写着:
在对话框 [2] 上,下一个控制指针不形成循环。 [3]和[5]都有一个指向[4]的指针。
我没有更改“用户界面”或“自定义操作”中的任何内容,因此这是意外的。另外,如果您只需单击“确定”并且一切正常,安装就会完成,只是从用户角度来看,它看起来不太好。有任何帮助或遇到类似问题吗?
控制_下一个:这可能只是对话框上控件的 Tab 键顺序。请参阅Control_Next
的栏目控制表 https://learn.microsoft.com/en-us/windows/win32/msi/control-table#Control_Next。您需要找到一种方法来按顺序访问对话框的每个控件并进行排序,以便不存在循环或双链接。
TAB Order: In the dialog in question (launch the setup and get yourself to the FinishedForm
dialog), try hitting TAB repeatedly to see what happens. It might work, but you might see the control order being messed up so TAB unexpectedly moves around the dialog haphazardly going in "reverse" selecting a control already visited or similar.
Fix:修复此问题取决于您使用的工具。您可以使用以下命令直接在最终 MSI 中“测试修复”ORCA 或类似工具 https://stackoverflow.com/questions/48482545/how-can-i-compare-the-content-of-two-or-more-msi-files/48482546#48482546编辑控制表 https://learn.microsoft.com/en-us/windows/win32/msi/control-table#Control_Next直接(只需打开 MSI 并执行即可)。真正的、持久的修复将在用于编译设置的源中。 WiX、Installshield、Advanced Installer、Visual Studio Installer 或您正在使用的任何工具。确切的修复取决于工具。A screen shot of the Control Table content could give us the clue we need
.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)