It doesn't work that way, so you may need to provide more info. It's
never required, so you probably have some assumptions about the way
things work that I'm not aware of.

If you rebuild the MSI and up with the same ProductCode you cannot
install it twice - it will go into maintenance/modify/repair mode
depending on your setup. If you change the ProductCode and reinstall
it, what is your intent?  It's not a patch, not an update, it's a
side-by-side (or over the top) install which is probably not what you
intended. If you want to upgrade your installed product and replace it
with a new one, look at major upgrades.
---------------
Phil Wilson


On Mon, Mar 24, 2014 at 11:17 AM, Joel Palmer <jpalmer1...@comcast.net> wrote:
>
>
> Can you give me the code to check for a previously installed version of my
> app?  Then, prevent install if it is there?
>
> Currently, I am allowed to install the same app twice and I want to prevent
> that.
>
>
>
> Also, do you have example code on how to check for an "old" version
> installed?  Then, uninstall when old and replace with new version?
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to