I am in the process of writing an installer for a company product (we were 
previously using Installshield). Once, released we will need the produce 
patches for bug fixes and enhancements. The expectation that these patches will 
consist of simply updating some of the released files and/or adding new files 
not part of the initial distribution.   I think we will generally do a minor 
upgrade. In some cases the patches are dependent on a previous patch and in 
other cases not.
 
Therefore I've been reading material about how we should structure our initial 
release of the product to best enable but still have some questions about 
things that aren't clear. Can someone help me here:
 
1.       How can we generate the diff against the installed version for the 
patches that can be installed in any order. We are not sure what the users 
machine will have because they may have already applied one of the other 
patches. Surely we don't need to generate a patch for each possible order of 
installation of all the patches. 
2.       We can update the 3rd or 4th  component of product version when doing 
an upgrade/patch for some. Can someone explain the consequences of each option. 
When we generate a diff for the patch, does the generated patch use the product 
version and only patch against it or does it only patch products with matching 
Product GUID and file versions.
3.       When creating a patch, I want to explicitly specify the collection of 
files (DLLs etc.) to be upgraded. I don't want any other existing files to be 
touched. I have read that when you specify a patch components (i.e. via 
ComponentRef) inside a PatchFamily element, any components in the same fragment 
will also be updated.   Can I avoid this without having to create different 
fragments for every component in my product which is a bit of a pain.
4.       As far as I can tell, you can always apply a patch (msp) multiple 
times even if the product is already patched. Is there a way to flag that the 
patch is already installed without updating the product version. 
 
If there are any good sources of material which answer some of these questions, 
please point them out to me.
 
Thanks in advance
sanjay
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to