We are packaging Custom Nintex activities in a Visual Studio Deployment Project. We would like to execute NWAdmin from a Custom Action either using managed code or by executing a batch file. This will allow us to automatically install/uninstall custom actions without user intervention.
We would like guidance into the best approach to finding NWAdmin executable - without knowing the exact location of the client's Nintex installation.
We would like to avoid distributing the binary itself as part of our installation.
If this requires a registry lookup, a code example would be helpful.