Patches - how do I set them up
Posted: Tue Dec 05, 2006 6:55 am
I am struggling very much with the concept of patches. I have worked through the Help, but it is more the principle that I need help with.
I have a project for version 1 of my application. Since its launch I have altered the main application EXE, so I want to produce a new version 2 full installation (for new customers), as well as a patch from version 1 to version 2 for existing customers. I created a new directory, copied the version 1 project into it, renamed it version 2, altered the project and build settings to reflect the change in folder and the application version number (but did not touch the GUIDs).
My understanding is that I now change one of the GUIDs, and add the project 1 to the Patch reference window. However surely if I send this out to existing users it will overwrite all the tables in which the users had stored their precious data. Also the installation files would presumably be massive as it would contain the code for both a full install and a patch install.
I must have it wrong.
I then thought that perhaps I have got the whole concept wrong, maybe I need to create a brand new project separate from a full version 2 install in order to patch from version 1 to version 2. This new project would then only contain the files that I want patching - in this example just the main application EXE, leaving the tables alone. However if this is a completely new project I can't see how the product, upgrade and revision codes are automatically kept in synch as your Help indicates in the section 'Patch requirements' (and I can't see the 'Change Revision code automatically' option anyway) .
As you can see I am rather lost. Essentially where I am is:
1) I need to send out a patch installation to existing users containing a new EXE (only) that will install and overwrite their existing files EXE
2) I don't want the patch CD that I send out to existing users to overwrite their existing tables and data
3) I need a full installation CD of version 2 to send out to new customers
What do I do?
Thank you for your patience
Stephen
I have a project for version 1 of my application. Since its launch I have altered the main application EXE, so I want to produce a new version 2 full installation (for new customers), as well as a patch from version 1 to version 2 for existing customers. I created a new directory, copied the version 1 project into it, renamed it version 2, altered the project and build settings to reflect the change in folder and the application version number (but did not touch the GUIDs).
My understanding is that I now change one of the GUIDs, and add the project 1 to the Patch reference window. However surely if I send this out to existing users it will overwrite all the tables in which the users had stored their precious data. Also the installation files would presumably be massive as it would contain the code for both a full install and a patch install.
I must have it wrong.
I then thought that perhaps I have got the whole concept wrong, maybe I need to create a brand new project separate from a full version 2 install in order to patch from version 1 to version 2. This new project would then only contain the files that I want patching - in this example just the main application EXE, leaving the tables alone. However if this is a completely new project I can't see how the product, upgrade and revision codes are automatically kept in synch as your Help indicates in the section 'Patch requirements' (and I can't see the 'Change Revision code automatically' option anyway) .
As you can see I am rather lost. Essentially where I am is:
1) I need to send out a patch installation to existing users containing a new EXE (only) that will install and overwrite their existing files EXE
2) I don't want the patch CD that I send out to existing users to overwrite their existing tables and data
3) I need a full installation CD of version 2 to send out to new customers
What do I do?
Thank you for your patience
Stephen