I have created a somewhat simple installer package for a piece of software, and it works great. We wanted to simplify our install process a bit however. The app is a .NET 2.0 app, and we need to update permissions on each of the client pc's in the company. To do this, I've exported our target .NET policy to an MSI (through the .NET configuration). Running this MSI by itself works correct and as intended. However, when I bundle the MSI into my installer as a custom action, the installer always fails on this custom step. Ignoring the return code allows the installation to finish, but the policy is predictably not updated.
How would I get something like this to work?