none
a program run as part of the setup did not finish as expected

    Question

  • If I add a custom action to run a console application during setup, I get this error:

    There is a problem with this Windows Installer package: A program run as part of the setup did not finish as expected.

    How can I successfully get a console application to run during my product's setup?

     

    Monday, June 26, 2006 2:45 PM

Answers

  • Hi, BobishKindaGuy,

      "Managed" custom actions (that is, custom actions written using managed languages such as VB.Net or C#) are problematic.  Windows Installer prefers native DLLs, a native EXE, JScript, or VBScript.  For more details on this, use your favorite search engine on "managed customer actions" (there are some pointers online for how people have gotten this to work) and also check out Aaron Stebner's comments on this at http://blogs.msdn.com/astebner/archive/2005/03/10/392280.aspx

    Hope this helps,

      --Matt--*

    Monday, June 26, 2006 5:27 PM

All replies