I found the problem: in order to get the "double-click the MSI to install"
metaphor working, we're always creating a new ProductID with each build -
the minor updates (leaving the ProductID intact and just updating the
Version attribute) don't work, since double-clicking on such a MSI will only
result in a dialog saying "there's already another version of this product
installed; please uninstall first". (or is there a trick how to get this to
work properly?? Even the Tramontana WiX tutorial says you have to use
unwieldy command-line parameters for MSIEXEC to get it to work
properly....unbelievable!).

Thus, since the install location is stored PER PRODUCT, the new MSI won't
find any pre-installed product and thus won't find the previous product's
installation location (at least that's what I'm guessing, from the logs).
Also, if you uninstall the old product version first, and then run the minor
upgrade MSI, obviously the old product and thus its install location with it
are gone - so that doesn't work either.....

Any more ideas?? Doesn't seem like all that much to ask, no? Product A v1.00
should store its install location, and a minor upgrade to v1.01 should work
by double-clicking on a MSI (no crazy command line) and should just nicely
upgrade in the folder chosen by the user when installing 1.00........ heck,
even my rudimentary script-based install can do that! And Windows Installer
can't???  Sheesh.......

Thanks!
Marc
-- 
View this message in context: 
http://www.nabble.com/Trying-to-preserve-installation-location-tf4675773.html#a13452248
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to