This is the first time I've tried to use Install Shield LE in Visual Studio.
这是我第一次尝试在Visual Studio中使用Install Shield LE。
I went through the Project Assistant and basically just turned off almost all of the bells and whistles. No Installation Requirements, no Application Registry entries, and no to everything on the Installation Interview page. I did add a few additional files besides my Primary Output on the Application Files page, as well as desktop and start menu shortcuts on the Application Shortcuts page. All of that worked just fine.
我检查了项目助理,基本上关掉了所有的铃声和口哨声。没有安装要求,没有应用程序注册项,没有安装面试页上的所有内容。除了在应用程序文件页面上的主要输出之外,我还添加了一些额外的文件,以及在应用程序快捷键页面上的桌面和开始菜单快捷键。所有这些都很好。
Then I built the setup project and tried to install it.
然后我构建了安装项目并尝试安装它。
Here is the error message I received: http://i.imgur.com/JTBBWOf.png
下面是我收到的错误消息:http://i.imgur.com/JTBBWOf.png
The title of the message box says: ##IDS_ERROR_7##
消息框的标题是:##IDS_ERROR_7#
The body of the error box says: ##IDS_ERROR_1####IDS_ERROR_2803##
错误框的主体是:##IDS_ERROR_1### IDS_ERROR_2803#
I've not been able to find any useful information about this error message online.
我在网上找不到关于这条错误信息的任何有用信息。
I thought I was keeping this simple, where did I go wrong?
我以为我这么简单,我哪里出错了?
4 个解决方案
#1
0
Assuming that the error is Windows Installer error 2803, it's:
假设错误为Windows安装程序错误2803,则为:
Dialog View did not find a record for the dialog [2].
对话框视图没有找到对话框[2]的记录。
So it looks like your dialog sequence is broken, in the start or in the linking in the forwards and backwards directions.
所以看起来你的对话序列被破坏了,无论是在开始还是在链接的前后方向。
You could install your MSI with an msiexec command that includes /l*v and see exactly what's failing.
您可以使用包含/l*v的msiexec命令安装MSI,并查看失败的具体内容。
#2
0
In case anyone else ever encounters my original problem, I did finally figure out how to fix it. I scrapped the entire setup project first and added a new one from scratch, but that might not have been necessary.
万一有人遇到我最初的问题,我终于想出了解决办法。我首先取消了整个安装项目,从头开始添加一个新的,但这可能不是必要的。
Turns out what I really needed to do was compile the setup project just once with the default options selected on the Installation Interview section of the Project Assistant. After that, I noticed that the finished setup file was an exe now, instead of an msi file. I didn't mention that before because I didn't realize it was unusual, since I've never used install shield before.
实际上,我真正需要做的是只编译一次安装项目,并在项目助理的安装面试部分选择默认选项。之后,我注意到完成的安装文件现在是exe,而不是msi文件。我之前没有提到这一点,因为我没有意识到这很不寻常,因为我以前从未使用过安装屏蔽。
Then I changed all the options on the Installation Interview page back off again and recompiled successfully with the settings I actually wanted. Still don't know why it doesn't work the first time, but that's how to fix this.
然后,我再次更改了安装面试页面上的所有选项,并使用实际需要的设置成功地重新编译。仍然不知道为什么它第一次不工作,但这就是解决这个问题的方法。
#3
0
If you haven't made any manual changes to your dialogs:
如果您没有对您的对话框进行任何手动更改:
Just right click on the install project in Solution Explorer -> Clean
只需右键单击解决方案资源管理器中的install项目—> Clean
Then rebuild.
然后重建。
#4
0
I ran into this issue today. Clean then rebuild the setup project resolved it for me.
我今天遇到了这个问题。然后重新构建安装项目,为我解决了这个问题。
#1
0
Assuming that the error is Windows Installer error 2803, it's:
假设错误为Windows安装程序错误2803,则为:
Dialog View did not find a record for the dialog [2].
对话框视图没有找到对话框[2]的记录。
So it looks like your dialog sequence is broken, in the start or in the linking in the forwards and backwards directions.
所以看起来你的对话序列被破坏了,无论是在开始还是在链接的前后方向。
You could install your MSI with an msiexec command that includes /l*v and see exactly what's failing.
您可以使用包含/l*v的msiexec命令安装MSI,并查看失败的具体内容。
#2
0
In case anyone else ever encounters my original problem, I did finally figure out how to fix it. I scrapped the entire setup project first and added a new one from scratch, but that might not have been necessary.
万一有人遇到我最初的问题,我终于想出了解决办法。我首先取消了整个安装项目,从头开始添加一个新的,但这可能不是必要的。
Turns out what I really needed to do was compile the setup project just once with the default options selected on the Installation Interview section of the Project Assistant. After that, I noticed that the finished setup file was an exe now, instead of an msi file. I didn't mention that before because I didn't realize it was unusual, since I've never used install shield before.
实际上,我真正需要做的是只编译一次安装项目,并在项目助理的安装面试部分选择默认选项。之后,我注意到完成的安装文件现在是exe,而不是msi文件。我之前没有提到这一点,因为我没有意识到这很不寻常,因为我以前从未使用过安装屏蔽。
Then I changed all the options on the Installation Interview page back off again and recompiled successfully with the settings I actually wanted. Still don't know why it doesn't work the first time, but that's how to fix this.
然后,我再次更改了安装面试页面上的所有选项,并使用实际需要的设置成功地重新编译。仍然不知道为什么它第一次不工作,但这就是解决这个问题的方法。
#3
0
If you haven't made any manual changes to your dialogs:
如果您没有对您的对话框进行任何手动更改:
Just right click on the install project in Solution Explorer -> Clean
只需右键单击解决方案资源管理器中的install项目—> Clean
Then rebuild.
然后重建。
#4
0
I ran into this issue today. Clean then rebuild the setup project resolved it for me.
我今天遇到了这个问题。然后重新构建安装项目,为我解决了这个问题。