You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same implementation as above, except with and without extern "C"
3. C++ Custom Action template with WiX 4
The project does not even compile because it's complaining that it can't find wcautil.h even though it is present from the nuget packages. I tried restoring NuGet but it says there's no issues.
4. C# Custom Action template with WiX 4
Managed to get this to work, but would preferably use c/c++ or at least have the option of them moving forward.
Both 1 and 2 returns some invalid DLL call error (1157) in the logs. All cases uses the same implementation within the wxs script. Given that the C# dll managed to work without any issues, I don't think it has anything to do with the wxs syntax.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I've been trying to add a DLL call to WiX4 and I've tried several implementations with no luck.
1. C DLL using another compiler
Implementation is basically
2. C/C++ DLL using Visual Studio
Same implementation as above, except with and without extern "C"
3. C++ Custom Action template with WiX 4
The project does not even compile because it's complaining that it can't find wcautil.h even though it is present from the nuget packages. I tried restoring NuGet but it says there's no issues.
4. C# Custom Action template with WiX 4
Managed to get this to work, but would preferably use c/c++ or at least have the option of them moving forward.
Both 1 and 2 returns some invalid DLL call error (1157) in the logs. All cases uses the same implementation within the wxs script. Given that the C# dll managed to work without any issues, I don't think it has anything to do with the wxs syntax.
Beta Was this translation helpful? Give feedback.
All reactions