Hi Wim,
You have, in fact, stumbled across a very benign bug that in your particular case happened to cause your executable to be launched! In case you're curious, I'll explain what is happening. Twice during the installation (at exactly the times your application is run), the installer tries to run a simple utility (\supportfiles\nipie.exe), but the path is not enclosed in quotes, so the path that is actually run is something like "...\Dummy" instead of "...\Dummy Distribution Kit\Volume1\supportfiles\nipie". In your case, this actually pointed to an existing file -- your application -- so it got run instead. In most cases, this will not point to an existing file, so nothing will be run.
In most cases, not running the utility is okay, and it will actually be run successfully if the path to your setup.exe does not contain spaces (ie if it is something like d:\setup.exe). The application being launched was not actually the one installed; rather, it was, the
source executable, so you shouldn't have seen you app launch during install on a non-development machine.
Good work on pinning down the issue. The problem is quite easy to avoid, but very hard to explain when you actually run into it!
🙂Mert A.
National Instruments