尝试安装应用程序时出现问题 [英] Problems while trying to Install an application

查看:606
本文介绍了尝试安装应用程序时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在.NET中开发Windows应用程序,并使用Installshield为我的应用程序建立安装程序.在Vista环境中安装安装程序时,我遇到一个小问题.该设置已构建,并且可以在我的测试环境(Vista)中正常运行,并且已安装在我的客户端的其中一台计算机上.但是,在我的其他客户端的计算机上进行安装时,我们遇到了一个特殊的错误.安装工作正常,安装程序顺利完成,但是当他尝试执行该应用程序时,他无法启动和运行该应用程序.我想用他自己的话说.以下是他不得不说的话.

我下载并运行了安装程序,它的安装过程与以前相同.当我运行该应用程序时,有磁盘和Internet活动,但是屏幕上没有任何显示,也没有任何进一步发生.当我在任务管理器中查看时,运行该应用程序时会启动一个进程,但是该进程没有执行任何操作.该应用程序未显示在服务"或应用程序"中.我是管理员组的成员,并且权限中没有什么特别的我需要注意的.这是Vista商业版.我在TA_2_2.exe上尝试了以管理员身份运行",结果是相同的.它作为一个过程运行了几秒钟,在屏幕上看不到任何内容,然后退出.

我想知道程序是否正在寻找一个名为"Administrator"的用户帐户来运行.出于安全原因,通常在我的计算机上禁用了该帐户.我尝试启用它,但没有造成任何区别.

我查看了系统事件日志,每次尝试运行时,都会添加五个事件.这些如下...

针对服务"BITS"的开放过程在DLL
"C:\ Windows \ system32 \ bitsperf.dll"中失败的.此服务的性能数据将不可用.
数据部分的前四个字节(DWORD)包含错误代码.在DLL
"C:\ Windows \ system32 \ esentprf.dll"中失败的.此服务的性能数据将不可用.
数据部分的前四个字节(DWORD)包含错误代码.在DLL
"C:\ Windows \ system32 \ Secur32.dll"中失败的.此服务的性能数据将不可用.
数据部分的前四个字节(DWORD)包含错误代码.在DLL
"C:\ Windows \ system32 \ msdtcuiu.DLL"中失败的.此服务的性能数据将不可用.
数据部分的前四个字节(DWORD)包含错误代码.在DLL
"C:\ Windows \ system32 \ wbem \ wmiaprpl.dll"中失败的.无法提供此服务的性能数据.
Data部分的前四个字节(DWORD)包含错误代码.

另外,为了您的信息,我们正在使用应用程序中的process.GetProcess(),以确保没有其他实例的应用程序正在执行.如果实例在运行中很重要,我们只需要关闭应用程序即可.

任何帮助都会有很大帮助.对于XP的此设置,我没有任何问题.问题仅在于Vista.我希望我对这个问题给出了正确的定义.

感谢&问候

克里希纳


克里希纳

Hi All,

I am developing a Windows application in .NET and using Installshield to build the setup for my application. I have a small issue while installing the setup in Vista environment. The setup has been build and it works fine in my testing environment (Vista) and also it gets installed in one of my client's machine. But while installing in my other client's machine, we come across a peculiar error. The Installation works fine and the setup gets completed without issues but when he tries to execute the application, he is not able to get the application up and running. I would like to put the scenario in his own words. Below is what he had to say.

I download the installer and ran it, and it went through the procedure the same as before. When I run
the application there is disk and internet activity but nothing comes up on the screen and nothing further happens. When I look in Task Manager there is a process started when I run the application, but it goes
away without doing anything. The application does not show up in Services or Applications.I am part of the administrator group, and there is nothing special I'm aware of in permissions. It's Vista Business. I tried 'run as administrator' on the TA_2_2.exe and the effect was the same. It runs for a few seconds as a process, with nothing visible on the screen, and then quits.

I wondered if the program is looking for a user account named 'Administrator' to run under. That account is normally disabled on my machine, for security reasons. I tried enabling it, but it made no
difference.

I looked in the system event log, and five events are added each time
it tries to run. These are as follows...

The Open Procedure for service "BITS" in DLL
"C:\Windows\system32\bitsperf.dll" failed. Performance data for this
service will not be available. The first four bytes (DWORD) of the
Data section contains the error code.

The Open Procedure for service "ESENT" in DLL
"C:\Windows\system32\esentprf.dll" failed. Performance data for this
service will not be available. The first four bytes (DWORD) of the
Data section contains the error code.

The Open Procedure for service "Lsa" in DLL
"C:\Windows\system32\Secur32.dll" failed. Performance data for this
service will not be available. The first four bytes (DWORD) of the
Data section contains the error code.

The Open Procedure for service "MSDTC" in DLL
"C:\Windows\system32\msdtcuiu.DLL" failed. Performance data for this
service will not be available. The first four bytes (DWORD) of the
Data section contains the error code.

The Open Procedure for service "WmiApRpl" in DLL
"C:\Windows\system32\wbem\wmiaprpl.dll" failed. Performance data for
this service will not be available. The first four bytes (DWORD) of
the Data section contains the error code.

Also, for your information, we are using to process.GetProcess() in our application, to make sure no other instance of the application is being executed. If an instance is alreacy in action, we just close the application.

Any help would be of great help. I have no issues with this setup for XP. The problem is only with Vista. I hope i have given a proper definition to the problem.

Thanks & Regards

krishna


krishna

推荐答案

您能够解决此问题吗?

我的一个客户端上的Windows Server 2008中出现相同的错误.

谢谢

Othni J. Morales
Were you able to solve this problem?

I am having the same errors in Windows Server 2008 on one of my clients.

Thank you

Othni J. Morales


这篇关于尝试安装应用程序时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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