How to build a patch application
-
Hi, does anyone know how to build a patch (the correction) for an application that we already deploy? Example: my project has one form which contain one button. When the user press the button it display the message box "Hello world". And now I need to change the meaning of the message box from "Hello world" to "Hello everybody". I don't want to change the code and recompile my application again to redeploy it. But what i want is just make a small execute file that after a quick set up it will change the meaning of the message as i mention above. The purpose is like the small patch file that Microsoft used to allow the user to download in order to improve the security of each computer.
-
Hi, does anyone know how to build a patch (the correction) for an application that we already deploy? Example: my project has one form which contain one button. When the user press the button it display the message box "Hello world". And now I need to change the meaning of the message box from "Hello world" to "Hello everybody". I don't want to change the code and recompile my application again to redeploy it. But what i want is just make a small execute file that after a quick set up it will change the meaning of the message as i mention above. The purpose is like the small patch file that Microsoft used to allow the user to download in order to improve the security of each computer.
-
Hi, does anyone know how to build a patch (the correction) for an application that we already deploy? Example: my project has one form which contain one button. When the user press the button it display the message box "Hello world". And now I need to change the meaning of the message box from "Hello world" to "Hello everybody". I don't want to change the code and recompile my application again to redeploy it. But what i want is just make a small execute file that after a quick set up it will change the meaning of the message as i mention above. The purpose is like the small patch file that Microsoft used to allow the user to download in order to improve the security of each computer.
-
Hi, does anyone know how to build a patch (the correction) for an application that we already deploy? Example: my project has one form which contain one button. When the user press the button it display the message box "Hello world". And now I need to change the meaning of the message box from "Hello world" to "Hello everybody". I don't want to change the code and recompile my application again to redeploy it. But what i want is just make a small execute file that after a quick set up it will change the meaning of the message as i mention above. The purpose is like the small patch file that Microsoft used to allow the user to download in order to improve the security of each computer.
Roath, I don't know if you've already found a solution? If not PatchWise Free is probably what you're looking for. As its name suggests, it's Freeware and really does a great job. HTH Jottum
-
If the strings are emedded into the EXE file then a redeploy will be required. If you have put them into an external resource file of some kind you could just re-deploy that, but I am guessing that this is not the case here.
-
I would suggest doing an md5 on all the files included, and just replace the ones that are different. I bet theres a solution out there that does this?
All your source are belong to us!
-
Roath, I don't know if you've already found a solution? If not PatchWise Free is probably what you're looking for. As its name suggests, it's Freeware and really does a great job. HTH Jottum
-
Thank you very much for your comment. But what i want is not redeploy an application. I just build a new small exe and set up then change the behavior of my application. Like Microsoft build a service pack or a small patch.
Microsoft patch Windows by replacing the neccesary components. Remembver that Windows is made up of hundreds or thousands of individual files. When they release a patch it simply replaces the files that need to be changed. If your application simply consists of one file you will need to replace it, if it consists of multiple files, and you only need to change some of them then simply re-deploy the ones you need to change.
MCSD(VB6/SQL7) MCAD(C#/SQL2000) MCSD(C#/SQL2000)
-
Thank you very much for your solution. Until know i did not know any better solution. Hope that this software could do as what I expected.
Roath, You're welcome. It will do what you want, it can update multiple files, make a backup of the originals, you can add a custom splash screen, add a license agreement the user has to agree to, to continue, add a readme file (both can be loaded from disk), two different UI's. (Install Shield like - which I use - and a simple) I use it a lot and am very pleased with it. Jottum