Folks,

I'm trying to do this:
* Install MyApp v1.0 into a custom directory (e.g.  X:\wacky\weirdo\MyApp)
* Later, install an update (to v1.01 or v1.1) that picks up where my v1.0 is
installed and goes to the same directory by default

I figured since not a whole lot has changed between 1.0 and 1.1, I'd use the
same ProductID and do a minor update - trouble is, I can't seem to get this
to work so that I can just double-click on the Myapp_v1.1.msi and have it
run, uninstall the previous v1.0 version, and install itself into that
custom directory the user had picked.

So I chose to use a Major update, since in that case, I can get it to work
as expected (just double-click the MSI and off you go), but in that case, I
can't seem to "save" the installation directory for v1.0 long enough so that
v1.1 will pick up on it. v1.0 gets uninstalled okay, but the MSI insists on
putting v1.1 into the default directory (c:\program
files\[manufacturer]\MyApp11 or whatever it is).

So how do I
* either make MINOR updates WORK automagically without a plethora of
commandline switches - just double-click on the v1.1 MSI and off you go and
MyApp is updated
* get the MAJOR update to work so that when installing v1.1, I can somehow
find the installation directory for v1.0 before it gets uninstalled, and use
it as the default for my update-install for v1.1

I've read and re-read and re-re-read the MSI docs and all the web site and
tutorial and books I can get on MSI and its update magic - I don't get it.

Can one of you help? Have you done this, and how?

Cheers ! Marc
-------------------------------------------------------------------------
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