I rigged one of my MSIs to fail immediately after IntallInitialize (a deferred CA that with impersonate="Yes" is rigged to return an error).
I've discovered that the product is unregistered even though no files/folders/reg are removed. Does anyone know why? The last few lines of my log file are below: MSI (s) (C8:DC) [18:05:19:135]: User policy value 'DisableRollback' is 0 MSI (s) (C8:DC) [18:05:19:135]: Machine policy value 'DisableRollback' is 0 MSI (s) (C8:DC) [18:05:19:135]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 Action ended 18:05:19: InstallFinalize. Return value 3. MSI (s) (C8:DC) [18:05:19:135]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 MSI (s) (C8:DC) [18:05:19:135]: Calling SRSetRestorePoint API. dwRestorePtType: 13, dwEventType: 103, llSequenceNumber: 37, szDescription: "". MSI (s) (C8:DC) [18:05:19:166]: The call to SRSetRestorePoint API succeeded. Returned status: 0. MSI (s) (C8:DC) [18:05:19:166]: Unlocking Server MSI (s) (C8:DC) [18:05:19:166]: PROPERTY CHANGE: Deleting UpdateStarted property. Its current value is '1'. Action ended 18:05:19: INSTALL. Return value 3. ... ... all the properties are here ... Property(S): RollbackDisabled = 1 MSI (s) (C8:DC) [18:05:19:244]: Note: 1: 1725 MSI (s) (C8:DC) [18:05:19:244]: Product: Sample -- Removal failed. MSI (s) (C8:DC) [18:05:19:260]: Cleaning up uninstalled install packages, if any exist MSI (s) (C8:DC) [18:05:19:260]: Post-install cleanup: removing installer file 'C:\WINDOWS\Installer\15a307.msi' MSI (s) (C8:DC) [18:05:19:260]: Post-install cleanup: removing installer file 'C:\WINDOWS\Installer\{938BAF3B-6B94-4C4E-AB74-0B199110AEE2}\Icon_Logo' MSI (s) (C8:DC) [18:05:19:260]: Post-install cleanup: removing installer folder 'C:\WINDOWS\Installer\{938BAF3B-6B94-4C4E-AB74-0B199110AEE2}\' (if empty) MSI (s) (C8:DC) [18:05:19:260]: Post-install cleanup: removing installer file 'C:\WINDOWS\Installer\{938BAF3B-6B94-4C4E-AB74-0B199110AEE2}\Icon_Another' MSI (s) (C8:DC) [18:05:19:260]: Post-install cleanup: removing installer folder 'C:\WINDOWS\Installer\{938BAF3B-6B94-4C4E-AB74-0B199110AEE2}\' (if empty) MSI (s) (C8:DC) [18:05:19:260]: MainEngineThread is returning 1603 MSI (s) (C8:48) [18:05:19:275]: Destroying RemoteAPI object. MSI (s) (C8:C8) [18:05:19:275]: Custom Action Manager thread ending. === Logging stopped: 26/06/2009 18:05:19 === MSI (c) (74:D0) [18:05:19:307]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1 MSI (c) (74:D0) [18:05:19:307]: MainEngineThread is returning 1603 === Verbose logging stopped: 26/06/2009 18:05:19 === -- View this message in context: http://n2.nabble.com/Product-is-unregistered-even-though-uninstall-failed--tp3164837p3164837.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users