Bugs item #1954320, was opened at 2008-04-29 10:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1954320&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: extensions
Group: v3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Eric StJohn (ericstj)
Assigned to: Nobody/Anonymous (nobody)
Summary: ConfigureEventManifestUnregister is not run on REINSTALL

Initial Comment:
ConfigureEventManifestRegister schedules all of the RegisterEventManifest and 
RollbackRegisterEventManifest actions on a maintenance isntallation (REINSTALL 
set), however ConfigureEventManifestUnregister does not schedule any actions.  

If the maintenance (IE: repair) installation fails (the user presses cancel for 
example) the sytem should be left in the same state it was before the 
maintenance installation: product installed.  Instead all of the event 
manifests have been uninstalled from the system.

The proper fix for this would be to schedule all of the 
ConfigureEventManifestUnregister actions on a maintainance installation.  This 
fixes the problem and ensures that on a patch event manifests will be 
re-registered:
ConfigureEventManifestUnregister:
        if (!WcaIsUninstalling(isInstalled, isAction))
        {
            continue;
        }
Can be changed to 
        if (!WcaIsUninstalling(isInstalled, isAction) && 
!WcaIsReInstalling(isInstalled, isAction))
        {
            continue;
        }

An alternative solution is to not run any of the RegisterEventManifest actions 
on a maintainence install, but this will prevent the event manifests from being 
updated via patch or repair.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1954320&group_id=105970

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to