Anton Filippov wrote: > Example 1: > If I want to upgrade version to ver1.1 and change my.exe > (Component1) I do minor (small) update.
Yes, that's fine. You can do any type of upgrade/patch if you're just rev'ing a component's resources. > Example 2: > Now, I want to upgrade to ver1.2 and change my.exe and add new file > ccc.html to Component2. > How I can do that? > Can I change inner structure of components (adding or removing files)? No. The easiest way to think about it is that a component is immutable (at least once it's shipped). Adding resources violates component rules. You'd have to do a major upgrade that completely removes the old product before installing the new product. > Example 3: > I have some components and I want to add new component - Component3 { > qwe.txt }. > In previous conversations I have following answer: "no". Only if I > uninstall previous version throught Add|Remove Programms and install > new version with new component structure. You can add components and features in a minor update as long as you don't move components to different features or change the layout of the feature hierarchy. > Question: Can I uninstall previuos version in my installation package > automatically? Yes, the Upgrade and UpgradeVersion elements control the Upgrade table which MSI uses to support major upgrades automatically. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users