Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Major Upgrade deinstalliert weiteres Setuppacket


1 reply to this topic

jschmidt

jschmidt
  • Full Members
  • 8 posts

Posted 13 December 2006 - 09:53

Ich installiere mehrere Setuppakete.
Bei einem Majorupgrade von einem Paket wird ein anderes mit deinstalliert.

Zuerst wird das Paket für das das Majorupgrade läuft deinstalliert, doch bevor es installiert wird, läuft eine Deinstallation für Produkt2.

CODE

MSI (s) (14:74) [07:08:02:422]: End dialog not enabled
MSI (s) (14:74) [07:08:02:422]: Original package ==> C:\WINDOWS\Installer\1add925.msi
MSI (s) (14:74) [07:08:02:422]: Package we're running from ==> C:\WINDOWS\Installer\1add925.msi
MSI (s) (14:74) [07:08:02:437]: APPCOMPAT: looking for appcompat database entry with ProductCode '{68E5832F-9FE6-4C1E-B5B0-D8ABDA17D414}'.
MSI (s) (14:74) [07:08:02:437]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (14:74) [07:08:02:437]: MSCOREE not loaded loading copy from system32
MSI (s) (14:74) [07:08:02:453]: Machine policy value 'DisablePatch' is 0
MSI (s) (14:74) [07:08:02:453]: Machine policy value 'AllowLockdownPatch' is 0
MSI (s) (14:74) [07:08:02:453]: Machine policy value 'DisableLUAPatching' is 0
MSI (s) (14:74) [07:08:02:453]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (s) (14:74) [07:08:02:453]: APPCOMPAT: looking for appcompat database entry with ProductCode '{68E5832F-9FE6-4C1E-B5B0-D8ABDA17D414}'.
MSI (s) (14:74) [07:08:02:453]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (14:74) [07:08:02:453]: Transforms are not secure.
MSI (s) (14:74) [07:08:02:453]: Command Line: UPGRADINGPRODUCTCODE={E1801B5F-6336-45F0-80E6-D5518D9BF277} REMOVE=ALL
MSI (s) (14:74) [07:08:02:453]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{6FD4A7E7-0058-44A1-81C3-6ECF1CC8060C}'.
MSI (s) (14:74) [07:08:02:453]: Product Code passed to Engine.Initialize:           '{68E5832F-9FE6-4C1E-B5B0-D8ABDA17D414}'
MSI (s) (14:74) [07:08:02:453]: Product Code from property table before transforms: '{68E5832F-9FE6-4C1E-B5B0-D8ABDA17D414}'
MSI (s) (14:74) [07:08:02:453]: Product Code from property table after transforms:  '{68E5832F-9FE6-4C1E-B5B0-D8ABDA17D414}'
MSI (s) (14:74) [07:08:02:453]: Product registered: entering maintenance mode
MSI (s) (14:74) [07:08:02:453]: PROPERTY CHANGE: Adding ProductState property. Its value is '5'.
MSI (s) (14:74) [07:08:02:453]: PROPERTY CHANGE: Adding ProductToBeRegistered property. Its value is '1'.

Hier bestimmt MSI irgendwoher das das Produkt2 deinstalliert werden soll:
CODE

MSI (s) (14:74) [07:08:02:453]: Package name retrieved from configuration data: 'Produkt2.msi'

CODE

MSI (s) (14:74) [07:08:02:453]: Determined that existing product (either this product or the product being upgraded with a patch) is installed per-machine.
MSI (s) (14:74) [07:08:02:453]: Note: 1: 2729
MSI (s) (14:74) [07:08:02:453]: Note: 1: 2729
MSI (s) (14:74) [07:08:02:453]: Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (s) (14:74) [07:08:02:453]: Machine policy value 'DisableMsi' is 1
MSI (s) (14:74) [07:08:02:453]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (s) (14:74) [07:08:02:453]: User policy value 'AlwaysInstallElevated' is 0
MSI (s) (14:74) [07:08:02:453]: Product {68E5832F-9FE6-4C1E-B5B0-D8ABDA17D414} is admin assigned: LocalSystem owns the publish key.
MSI (s) (14:74) [07:08:02:453]: Product {68E5832F-9FE6-4C1E-B5B0-D8ABDA17D414} is managed.
MSI (s) (14:74) [07:08:02:453]: Running product '{68E5832F-9FE6-4C1E-B5B0-D8ABDA17D414}' with elevated privileges: Product is assigned.
MSI (s) (14:74) [07:08:02:453]: PROPERTY CHANGE: Adding UPGRADINGPRODUCTCODE property. Its value is '{E1801B5F-6336-45F0-80E6-D5518D9BF277}'.
MSI (s) (14:74) [07:08:02:453]: PROPERTY CHANGE: Adding REMOVE property. Its value is 'ALL'.
MSI (s) (14:74) [07:08:02:453]: TRANSFORMS property is now:
MSI (s) (14:74) [07:08:02:453]: PROPERTY CHANGE: Adding PRODUCTLANGUAGE property. Its value is '1033'.
MSI (s) (14:74) [07:08:02:453]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '200'.


Woher bezieht MSI die Information? Upgrade-, Package- und Productcode sind unterschiedlich.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 14 December 2006 - 17:55

QUOTE
MSI (s) (14:74) [07:08:02:453]: Command Line: UPGRADINGPRODUCTCODE={E1801B5F-6336-45F0-80E6-D5518D9BF277} REMOVE=ALL

Hier wird ein Setup deinstalliert. Offenbar steht dessen UpgradeCode in der Upgrade tabelle deines msi. Ich nehme an dazu gibt es auch einen passenden Eintrag bei der Aktion RemoveExistingProducts im Log.

QUOTE
MSI (s) (14:74) [07:08:02:453]: Product registered: entering maintenance mode

Dein Setup ist kein Major Upgrade, denn ein Produkt mit deinem ProductCode ist bereits installiert, deshalb der Maintenance Mode.

Deinstalliert wird das Produkt mit ProductCode {68E5832F-9FE6-4C1E-B5B0-D8ABDA17D414}. Schau mal dessen UpgradeCode nach (in der .msi Datei, nicht im Projekt) und vergleiche es mit den einträgen in deiner Upgrade tabelle (ebenfalls in der .msi Datei, nicht im InstallShield-Projekt)