JaedenRuiner
Well-known member
- Joined
- Aug 13, 2007
- Messages
- 340
- Programming Experience
- 10+
I was thinking of trying to design my own "update" function within my program because MSI doesn't interpret the 4th part of the version information as important. So even though my application is version 1.1.5.21, after a few re-builds and revision changes the msi won't install/upgrade (overwrite) the existing installation for version 1.1.5.26.
However, I can download the file from a location, but I can't overwrite the current EXE while the application is running. I know that I can spawn a separate process and then terminate the current running of the application, allowing the secondary process to download and overwrite the file, but is there a way to unhook the exe/dll file from the current memory loaded process in order to overwrite them and then forcibly close and autorestart my application?
Thanks
However, I can download the file from a location, but I can't overwrite the current EXE while the application is running. I know that I can spawn a separate process and then terminate the current running of the application, allowing the secondary process to download and overwrite the file, but is there a way to unhook the exe/dll file from the current memory loaded process in order to overwrite them and then forcibly close and autorestart my application?
Thanks