ylliX - Online Advertising Network
How to build GenAI mock server?

When adding a x86 exe to a x64 visual studio setup project, it executes the exe, causing the installer to hang


I have a project, which reads the memory of other programs. Since the memory structure of x64 and x86 programs is vastly different, i created 2 “slave programs”, one being 64 bit and the other is 32 bit.
The “master program” runs the 2 “slave programs” and instructs them what to do. So i have 3 executables which need to be installed.

I made a visual studio setup project, add the 3 exes and install them to some directory in the appdata folder. I prefer the appdata since you dont need admin permissions to self-update and can create config files at runtime in the same directory.

The setup project is configured as x64. (if i make it z86, then the x64 binaries dont get added, if i make it x64, then all binaries get included) The .msi file compiles successfully but when running it, something strange happens.

All files are installed in the desired directory correctly, but the installer GUI seems to hang on “please wait” after all the exe’s were installed.
If i open task manager, i see that the x86 exe has executed for some reason.
Nowhere in the setup proj have i configured that that exe should run. The fact that its only the x86 one is even more strange.

Why is this happening?

I have not been able to find a way to make my x64 program correctly read the memory of x86 programs without using a x86 sub program, so i need to have this sub x86 exe included and installed.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *