installation - Cannot get MajorUpgrade to work with setup produced with different installer -
i have problem getting wix installer major upgrade when previous versions installer made different toolkit. have product defined this:
<product version="!(bind.fileversion.baustatik.exe)" id="*" name="die anwendungen" language="0" codepage="1252" manufacturer="d.i.e. software gmbh" upgradecode="6dca3bad-77e9-41ae-8f72-b92de136c499"> <package installerversion="400" compressed="yes" installscope="permachine" installprivileges="elevated" /> <majorupgrade allowdowngrades="no" allowsameversionupgrades="no" downgradeerrormessage="es ist bereits eine neuere version von [productname] installiert." />
..... other stuff
the above produces msi. msi chained inside bundle. bundle defined this:
<bundle name="die anwendungen" version="!(bind.packageversion.the32bitmsi)" manufacturer="d.i.e. software gmbh" upgradecode="6dca3bad-77e9-41ae-8f72-b92de136c499" helpurl="https://www.die.de/impressum" copyright="copyright d.i.e. software gmbh" helptelephone="0800 343 2255" updateurl="https://www.die.de/downloads.aspx" iconsourcefile="$(var.solutiondir)applications\xfalt\xfalt.loader\baustatik.ico" abouturl="https://www.die.de"> <bootstrapperapplicationref id="wixstandardbootstrapperapplication.hyperlinklicense"> <bal:wixstandardbootstrapperapplication logofile="res/banner.png" themefile ="res/classictheme.xml" localizationfile="res/classictheme.wxl" suppressoptionsui="yes" licenseurl=""/> </bootstrapperapplicationref>
i have verified - i'm using same upgrade code - i'm building new product code (*) every update - i'm using same language-id (language_neutral: 0) - !(bind.fileversion.baustatik.exe) produces version info expect
when build setup this, install, increase version number, build , install (all using wix), major upgrade takes place.
when install setup previous version (one build using 'advanced installer') - upgrade code same - , next install newer version setup build using wix, major upgrade not work. i.e.: no files or startmenu entries previous version beeing removed , end 2 entries in control panel.
any suggestions might causing ?
(edit)
i did bogdan suggested. full log, however, did not have helpful information.
findrelatenproducts: msi (c) (8c:88) [17:34:20:741]: doing action: findrelatedproducts msi (c) (8c:88) [17:34:20:741]: note: 1: 2205 2: 3: actiontext aktion 17:34:20: findrelatedproducts. nach verwandten anwendungen wird gesucht aktion gestartet um 17:34:20: findrelatedproducts. aktion beendet um 17:34:20: findrelatedproducts. rückgabewert 1.
... , later:
msi (s) (2c:04) [17:34:24:762]: doing action: findrelatedproducts msi (s) (2c:04) [17:34:24:762]: note: 1: 2205 2: 3: actiontext aktion gestartet um 17:34:24: findrelatedproducts. msi (s) (2c:04) [17:34:24:762]: skipping findrelatedproducts action: done on client side
removeexistringproducts gives:
aktion gestartet um 17:34:24: removeexistingproducts. msi (s) (2c:04) [17:34:24:841]: note: 1: 2205 2: 3: error msi (s) (2c:04) [17:34:24:841]: note: 1: 2228 2: 3: error 4: select message
error
error
= 22 msi (s) (2c:04) [17:34:24:841]: note: 1: 2205 2: 3: error msi (s) (2c:04) [17:34:24:841]: note: 1: 2228 2: 3: error 4: select message
error
error
= 23 msi (s) (2c:04) [17:34:24:841]: note: 1: 2205 2: 3: error msi (s) (2c:04) [17:34:24:841]: note: 1: 2228 2: 3: error 4: select message
error
error
= 16 msi (s) (2c:04) [17:34:24:841]: note: 1: 2205 2: 3: error msi (s) (2c:04) [17:34:24:841]: note: 1: 2228 2: 3: error 4: select message
error
error
= 21 aktion beendet um 17:34:24: removeexistingproducts. rückgabewert 1.
concerning peruser/permachine:
in (wix)package (see code) have "installscope='permachine'" , in "advancedinstaller" have "installation type: per machine only" - assume same thing.
any other ideas?
(edit 2)
i have done phildw suggested , opened upgrade tables old , new msi using orca. did find following.
however, not know make of that. given information, know have put in wix code in order upgrade old msi ?
the major upgrade fail if upgradecode same, if install type of package different (per user or per machine - happens lot) or if install language different (which checked).
you can install new msi , create verbose log while this, search log removeexistingproducts , findrelatedproducts. next 1 of these standard actions find explicit message why upgrade skipped.
Comments
Post a Comment