Setup project Custom Action fails under Vista

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • incrediblesuperdude@gmail.com

    Setup project Custom Action fails under Vista

    Hi!

    I have a deployment project made with Visual Studio 2003. The setup
    fails when I run it in Vista. I have figured out that it only fails
    when I have an Install Custom Action.
    I have read in newsgroups that i should set the noImpersonate bit in
    the MSI file and that I need Orca for that. So I did.
    I have found the custom action and added 3584 to the Type field of
    1025, like I read in http://msdn.microsoft.com/en-us/library/aa368069.aspx
    I have also tried 3072 and 3328, but i now get msi error 2869. I have
    opened a CMD box with administrator rights, and tried install again,
    but i get the same msi error 2869.
    I have no idea what to try now. Does anybody know how to solve this?

    Kind regards,
    Gerben H.
  • =?Utf-8?B?RmFtaWx5IFRyZWUgTWlrZQ==?=

    #2
    RE: Setup project Custom Action fails under Vista

    I would try looking at what your custom action is attempting to do relative
    to Vista's security systems before diving into editing properties in the MSI
    database. Does your installation work as expected under XP?

    "incrediblesupe rdude@gmail.com " wrote:
    Hi!
    >
    I have a deployment project made with Visual Studio 2003. The setup
    fails when I run it in Vista. I have figured out that it only fails
    when I have an Install Custom Action.
    I have read in newsgroups that i should set the noImpersonate bit in
    the MSI file and that I need Orca for that. So I did.
    I have found the custom action and added 3584 to the Type field of
    1025, like I read in http://msdn.microsoft.com/en-us/library/aa368069.aspx
    I have also tried 3072 and 3328, but i now get msi error 2869. I have
    opened a CMD box with administrator rights, and tried install again,
    but i get the same msi error 2869.
    I have no idea what to try now. Does anybody know how to solve this?
    >
    Kind regards,
    Gerben H.
    >

    Comment

    • incrediblesuperdude@gmail.com

      #3
      Re: Setup project Custom Action fails under Vista

      It's working ok under XP, but just adding a custom action, where I
      override the Installer class, but don't implement any of my own code,
      already gives an error in Vista. Any idea?

      Comment

      Working...