P
phobos7
I am trying to create a single .EXE that will upgrade a product by the
doing the following:
1) Detect the location of the current installation (DONE)
2) Upgrade the existing config file (DONE)
3) Overwrite a DLL in the program files folder with a new DLL.
For 3) I was trying to embed a DLL as a resource and then write it out
as a file over the existing DLL. I just can't work out how to do this.
How can I embed a DLL as a simple file resource that is built into the
..EXE at runtime?
How do I then extract the DLL and output it as a file at runtime?
I would also like the DLL to be the most recent version so I would like
to reference it and then it just be built in when I build the patch.
Thanks for your time.
doing the following:
1) Detect the location of the current installation (DONE)
2) Upgrade the existing config file (DONE)
3) Overwrite a DLL in the program files folder with a new DLL.
For 3) I was trying to embed a DLL as a resource and then write it out
as a file over the existing DLL. I just can't work out how to do this.
How can I embed a DLL as a simple file resource that is built into the
..EXE at runtime?
How do I then extract the DLL and output it as a file at runtime?
I would also like the DLL to be the most recent version so I would like
to reference it and then it just be built in when I build the patch.
Thanks for your time.