I was trying the second method you suggested, but major upgrade and
RemoveExistingProducts
is not coexisting. I am getting error.
<MajorUpgrade Schedule="afterInstallValidate" DowngradeErrorMessage="A
later version of [ProductName] is already installed. Setup will now exit."/>
<InstallExecuteSequence>
<RemoveExistingProducts After="InstallFinalize" />
</InstallExecuteSequence>
If I comment out Major version, the old version is not getting removed in
control panel. I am not sure where I am getting it wrong.
On Sun, Apr 19, 2015 at 3:07 PM, Nir Bar <[email protected]> wrote:
> Read File Versioning Rules
> <https://msdn.microsoft.com/en-us/library/aa368599%28v=vs.85%29.aspx> on
> how Windows Installer decides to overwrite files, and follow Minor Upgrades
> or Small Updates rules - read Patching and Upgrades
> <https://msdn.microsoft.com/en-us/library/aa370579(v=vs.85).aspx> to
> make
> sure that fits your update scenario.
>
> If it doesn't match then you can use major upgardes with late removal of
> the
> existing product - read RemoveExistingProducts
> <https://msdn.microsoft.com/en-us/library/aa371197%28v=vs.85%29.aspx> .
>
>
>
> -----
> Nir Bar
> Freelance Developer
> Mail: [email protected]
> Web: www.panel-sw.com
> - C++ On Windows, Linux and Embedded Platforms
> - WiX & InstallShield
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Exclude-some-files-and-folders-in-later-version-installation-and-patch-tp7600003p7600005.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live
> exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Thanks and Regards
Nithin Venugopal
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users