Contents tagged with Wix

  • Writing managed custom actions in an easy way

    In my last post, I talked about hosting the CRL within a native custom action.
    This week I found an easier way to execute a managed custom action, it is based on a hack and not extra C++ code is required.
    Actually, you can't write a C# custom action because the compiler doesn't allow you to create a __stdcall function to be 
    called from the outside.
    Well, take a look to this article, it shows how to overcome that problem.

  • Installing a SQL database with WIX

    I like to share a sample about how to install a Sql database using a custom action shipped within WIX, it is an easy task and it can be useful in many scenarios.
    Let's take a look to this source file "sql.wxs":