Managed Custom Action (Wix) Error

I had to write a few custom actions for a wix installer. I didn’t have any experience with using managed custom actions in wix so I started with a good article about this.

I implemented all the steps described in the article and ensured that everything is ok but I was still getting the error: “InstallUtilLib.dll: Unknown error.”

CAError

After some investigation (tests and internet search) I understood that you have to specify the supported .net framework in the configuration file in case you have installed more than one framework:

<?xml version=”1.0″ encoding=”utf-8″ ?>
<configuration>
 <startup>
  <supportedRuntime version=”v2.0.50727″/>
 </startup>
</configuration>

10 comments to Managed Custom Action (Wix) Error

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Comment Spam Protection by WP-SpamFree