locked
Problems while trying to Install an application RRS feed

  • Question

  • 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
    • Edited by krishna_cbe Friday, March 13, 2009 10:14 AM
    Monday, March 9, 2009 1:01 PM

All replies

  • Hi,

    Can you try disabling UAC and test your installation? To disable UAC, you can use the script shown here:

    http://badzmanaois.blogspot.com/2008/10/how-to-disable-user-account-control-in.html

    Please note that if UAC is controlled via GPOs, you may have to disable it from the GPO snap-in. Alternatively, you can manually modify the registry to change UAC's behavior.

    Regards,

    Salvador Manaois III
    MCITP | Enterprise & Server Admin
    MCSE MCSA MCTS CIWA C|EH
    Bytes & Badz: http://badzmanaois.blogspot.com
    Tuesday, March 10, 2009 5:52 AM
  • Hi,

    The UAC should not be disabled. That is a creiteria here. Also why does the Same OS version act differently in 2 different machines. What specific things should l look into to make sure it works in all environments ? Or is there anything that i need to advice the users before doing the installation ?

    Any help would be really great as we are spending lots of time in this.
    krishna
    Monday, March 16, 2009 11:39 AM
  • Did you try running the application in  a different compatibility mode....
    i mean try running the app in windows xp sp2 mode and may be we can get some more clue...
    please do post the results in here....

    Regards, KOWSHAL H.M. a.k.a W@R10CK
    • Proposed as answer by CODEVANDAL Friday, May 22, 2009 6:43 PM
    Wednesday, May 20, 2009 12:30 AM