I've been on this for a few hours now.  I'm trying to write an upgrade.  From 
what I understand, it should be as simple as adding a MajorUpgrade section with 
a DowngradeErrorMessage string, and having the same upgrade code.  However, it 
just isn't working out that way.  I can install the old product with the same 
name and same upgrade code, then install the new product, and it just ignores 
the old one.  I've dug through the WindowsInstaller log, and nothing jumps out 
at me.  It doesn't say anything about detecting the previous version.  It does 
run RemoveExistingProducts:MSI (s) (00:C4) [20:25:10:060]: Doing action: 
RemoveExistingProductsMSI (s) (00:C4) [20:25:10:060]: Note: 1: 2205 2:  3: 
ActionText Action 20:25:10: RemoveExistingProducts. Removing applicationsAction 
start 20:25:10: RemoveExistingProducts.MSI (s) (00:C4) [20:25:10:060]: Note: 1: 
2205 2:  3: Error MSI (s) (00:C4) [20:25:10:060]: Note: 1: 2228 2:  3: Error 4: 
SELECT `Message` FROM `Error` WHERE `Error` = 22 MSI (s) (0
 0:C4) [20:25:10:060]: Note: 1: 2205 2:  3: Error MSI (s) (00:C4) 
[20:25:10:060]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` 
WHERE `Error` = 23 MSI (s) (00:C4) [20:25:10:060]: Note: 1: 2205 2:  3: Error 
MSI (s) (00:C4) [20:25:10:060]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` 
FROM `Error` WHERE `Error` = 16 MSI (s) (00:C4) [20:25:10:060]: Note: 1: 2205 
2:  3: Error MSI (s) (00:C4) [20:25:10:060]: Note: 1: 2228 2:  3: Error 4: 
SELECT `Message` FROM `Error` WHERE `Error` = 21 Action ended 20:25:10: 
RemoveExistingProducts. Return value 1.
One hint is that the ProductVersion property of the old product is incorrectly 
formed.  The person that did it wanted to use a date for the build number, so 
here is the old version number:  "2.0005.043012".
Could this be why upgrade isn't working?  I'm using "2.49.1" for the new 
version.  Still, if it doesn't detect the old one as being older, it should 
give me an error, not just ignore the old one, right?
This is my first post here, so please let me know if I've violated any 
etiquette rules.  :-)
Jamie                                     
------------------------------------------------------------------------------
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/NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to