Hi all, as Stefan sad me in private mail: ghosts from the past is back! I had same problem with maintenance mode, but with Stefan help I localize and then found a reason of problem. It concealed in IsolateComponents Action.
Quotation from http://msdn2.microsoft.com/en-us/library/Aa369561.aspx MSDN : This action must come after the CostInitialize action and before the CostFinalize action. Resolution (received from Stefan by mail) : Stefan Battmer wrote: > > What solved the problem that time was reordering the install sequence. > The error occurred with this sequence: > > <InstallUISequence> > <Show Dialog="FatalErrorForm" OnExit="error"><![CDATA[NOT > HideFatalErrorForm]]></Show> > <Show Dialog="UserExitForm" OnExit="cancel"/> > <Show Dialog="FinishedForm" OnExit="success"/> > <Custom Action="ERRCA_UIANDADVERTISED" > Before="AppSearch"><![CDATA[ProductState=1]]></Custom> > <Custom Action="DIRCA_TARGETDIR" > After="ValidateProductID"><![CDATA[TARGETDIR=""]]></Custom> > <Show Dialog="ResumeForm" > After="IsolateComponents"><![CDATA[Installed="" AND RESUME]]></Show> > <Show Dialog="MaintenanceForm" > After="ResumeForm"><![CDATA[Installed<>""]]></Show> > <Show Dialog="WelcomeForm" > After="CostFinalize"><![CDATA[Installed="" AND NOT RESUME]]></Show> > <Show Dialog="ProgressForm" After="WelcomeForm"/> > </InstallUISequence> > > After changing it like this everything was working fine: > > <InstallUISequence> > <Show Dialog="FatalErrorForm" OnExit="error"><![CDATA[NOT > HideFatalErrorForm]]></Show> > <Show Dialog="UserExitForm" OnExit="cancel"/> > <Show Dialog="FinishedForm" OnExit="success"/> > <Custom Action="ERRCA_UIANDADVERTISED" > Before="AppSearch"><![CDATA[ProductState=1]]></Custom> > <Custom Action="DIRCA_TARGETDIR" > After="ValidateProductID"><![CDATA[TARGETDIR=""]]></Custom> > <Show Dialog="ResumeForm" > After="MaintenanceForm"><![CDATA[Installed="" AND RESUME]]></Show> > <Show Dialog="MaintenanceForm" > After="WelcomeForm"><![CDATA[Installed<>""]]></Show> > <Show Dialog="WelcomeForm" > After="CostFinalize"><![CDATA[Installed="" AND NOT RESUME]]></Show> > <Show Dialog="ProgressForm" After="WelcomeForm"/> > </InstallUISequence> > Resolution of problem in my case: <InstallUISequence> <Show Dialog="FatalErrorDlg" OnExit="error" /> <Show Dialog="UserExitDlg" OnExit="cancel" /> <Show Dialog="ExitDlg" OnExit="success" /> <Show Dialog="WelcomeDlg" After="MigrateFeatureStates"><![CDATA[Installed=""]]></Show> <Show Dialog="WelcomeMaintenanceDlg" After="IsolateComponents"><![CDATA[Installed<>""]]></Show> <Show Dialog="ProgressDlg" After="WelcomeDlg" /> <Show Dialog="PrepareDlg" After="LaunchConditions" /> </InstallUISequence> Changed to <InstallUISequence> <Show Dialog="FatalErrorDlg" OnExit="error" /> <Show Dialog="UserExitDlg" OnExit="cancel" /> <Show Dialog="ExitDlg" OnExit="success" /> <Show Dialog="WelcomeDlg" After="MigrateFeatureStates"><![CDATA[Installed=""]]></Show> <Show Dialog="WelcomeMaintenanceDlg" After="WelcomeDlg"><![CDATA[Installed<>""]]></Show> <Show Dialog="ProgressDlg" After="WelcomeDlg" /> <Show Dialog="PrepareDlg" After="LaunchConditions" /> </InstallUISequence> Stefan Battmer wrote: > > Hi everyone, > > I have checked this with Wix 2.0.2520 and .4013 so it's most likely a bug > in my installer source file. My setup in general runs fine. It > incorporates a feature tree in a customize dialog where the user is > allowed to select what he wants to install. Now when I display this very > same dialog as a reaction on the user pressing 'Modify' in the maintenance > form the feature tree in the customize Dlg. stays empty. I am unsure what > information you might need. This is some part of the GUI source. I hope > this is just something silly I oversee. Please let me know if you need > more information. Any help or suggestion would be very nice. > > Thanks, > > Stefan > > <Dialog Id="MaintenanceForm" Width="373" Height="287" > Title="[ProductName]"> > <Control Id="FinishButton" Type="PushButton" X="300" > Y="261" Width="66" Height="18" Default="yes"> > <Text>{\VSI_MS_Sans_Serif13.0_0_0}&Next</Text> > <Publish Property="MODIFY" > Value="ALL"><![CDATA[MaintenanceForm_Action="Modify"]]></Publish> > <Publish Property="CustomizeForm_PrevArgs" > Value="MaintenanceForm"><![CDATA[1]]></Publish> > <Publish Property="REINSTALL" > Value="ALL"><![CDATA[MaintenanceForm_Action="Repair"]]></Publish> > <Publish Event="Reinstall" > Value="ALL"><![CDATA[MaintenanceForm_Action="Repair"]]></Publish> > <Publish Property="REMOVE" > Value="ALL"><![CDATA[MaintenanceForm_Action="Remove"]]></Publish> > <Publish Event="Remove" > Value="ALL"><![CDATA[MaintenanceForm_Action="Remove"]]></Publish> > <Publish Event="EndDialog" > Value="Return"><![CDATA[(MaintenanceForm_Action="Repair") OR > (MaintenanceForm_Action="Remove")]]></Publish> > <!-- For some reason the customize tree stays > empty when created via > maintenance --> > <Publish Event="SpawnDialog" > Value="DiskCost"><![CDATA[OutOfDiskSpace=1]]></Publish> > <Publish Property="ALLUSERS" > Value="2"><![CDATA[FOLDERFORM_ALLUSERS="ALL"]]></Publish> > <Publish Event="NewDialog" > Value="CustomizeForm"><![CDATA[(MaintenanceForm_Action="Modify")]]></Publish> > </Control> > <Control Id="RepairRadioGroup" Type="RadioButtonGroup" > X="18" Y="108" Width="348" Height="100" Property="MaintenanceForm_Action"> > > <Text>{\VSI_MS_Sans_Serif13.0_0_0}MsiRadioButtonGroup</Text> > </Control> > <Control Id="CancelButton" Type="PushButton" X="156" > Y="261" Width="66" Height="18" Cancel="yes"> > <Text>{\VSI_MS_Sans_Serif13.0_0_0}Cancel</Text> > <Publish Event="SpawnDialog" > Value="Cancel"><![CDATA[]]></Publish> > </Control> > <Control Id="PreviousButton" Type="PushButton" X="228" > Y="261" Width="66" Height="18" Disabled="yes"> > <Text>{\VSI_MS_Sans_Serif13.0_0_0}< > &Back</Text> > </Control> > <Control Id="BannerBmp" Type="Bitmap" X="0" Y="0" > Width="372" Height="52" TabSkip="no" Text="BannerBitmap"/> > <Control Id="BannerText" Type="Text" X="9" Y="9" > Width="306" Height="33" Transparent="yes"> > <Text>{\VSI_MS_Sans_Serif16.0_1_0}Welcome to > $(var.SetupTitle) Setup</Text> > </Control> > <Control Id="Line1" Type="Line" X="0" Y="52" Width="372" > Height="6"> > > <Text>{\VSI_MS_Sans_Serif13.0_0_0}MsiHorizontalLine</Text> > </Control> > <Control Id="Line2" Type="Line" X="0" Y="252" Width="372" > Height="6"> > > <Text>{\VSI_MS_Sans_Serif13.0_0_0}MsiHorizontalLine</Text> > </Control> > <Control Id="BodyText" Type="Text" X="9" Y="63" > Width="354" Height="42"> > <Text>{\VSI_MS_Sans_Serif13.0_0_0}Select whether > you want to repair or remove > [ProductName].</Text> > </Control> > </Dialog> > > > > <Dialog Id="CustomizeForm" Width="373" Height="287" Title="[ProductName] > [Setup]" TrackDiskSpace="yes"> > <Control Id="Tree" Type="SelectionTree" X="20" Y="85" > Width="175" Height="122" Property="_BrowseProperty" > Sunken="yes" TabSkip="no" Text="Tree of > selections" /> > <Control Id="Reset" Type="PushButton" X="42" Y="261" > Width="66" Height="18"> > > <Text>{\VSI_MS_Sans_Serif13.0_0_0}&Reset</Text> > <Publish Event="Reset" Value="0">1</Publish> > <Subscribe Event="SelectionNoItems" > Attribute="Enabled" /> > </Control> > <Control Id="PreviousButton" Type="PushButton" X="228" > Y="261" Width="66" Height="18"> > <Text>{\VSI_MS_Sans_Serif13.0_0_0}< > &Back</Text> > <Publish Event="NewDialog" > Value="[CustomizeForm_PrevArgs]"><![CDATA[CustomizeForm_PrevArgs<>""]]></Publish> > <Condition > Action="disable"><![CDATA[CustomizeForm_PrevArgs=""]]></Condition> > <Condition > Action="enable"><![CDATA[CustomizeForm_PrevArgs<>""]]></Condition> > </Control> > <Control Id="NextButton" Type="PushButton" X="300" Y="261" > Width="66" Height="18" Default="yes"> > <Text>{\VSI_MS_Sans_Serif13.0_0_0}&Next > ></Text> > <Publish Event="EndDialog" > Value="Return"><![CDATA[CustomizeForm_NextArgs=""]]></Publish> > <Publish Event="NewDialog" > Value="[CustomizeForm_NextArgs]"><![CDATA[CustomizeForm_NextArgs<>""]]></Publish> > </Control> > <Control Id="Cancel" Type="PushButton" X="156" Y="261" > Width="66" Height="18" Cancel="yes"> > <Text>{\VSI_MS_Sans_Serif13.0_0_0}Cancel</Text> > <Publish Event="SpawnDialog" > Value="Cancel">1</Publish> > </Control> > <Control Id="BannerBmp" Type="Bitmap" X="0" Y="0" > Width="372" Height="52" TabSkip="no" Text="BannerBitmap"/> > <Control Id="BannerText" Type="Text" X="9" Y="9" > Width="306" Height="33" Transparent="yes"> > <Text>{\VSI_MS_Sans_Serif16.0_1_0}Select the > features to be installed.</Text> > </Control> > <Control Id="Body" Type="Text" X="9" Y="63" Width="354" > Height="20"> > <Text>{\VSI_MS_Sans_Serif13.0_0_0}Click on the > icons in the tree below to change > the way features will be installed.</Text> > </Control> > <Control Id="Line1" Type="Line" X="0" Y="52" Width="372" > Height="6"> > > <Text>{\VSI_MS_Sans_Serif13.0_0_0}MsiHorizontalLine</Text> > </Control> > <Control Id="Line2" Type="Line" X="0" Y="252" Width="372" > Height="6"> > > <Text>{\VSI_MS_Sans_Serif13.0_0_0}MsiHorizontalLine</Text> > </Control> > <Control Id="Box" Type="GroupBox" X="205" Y="81" > Width="150" Height="125" /> > <Control Id="ItemDescription" Type="Text" X="215" Y="90" > Width="131" Height="75"> > <Text>Multiline description of the currently > selected item.</Text> > <Subscribe Event="SelectionDescription" > Attribute="Text" /> > </Control> > <Control Id="ItemSize" Type="Text" X="215" Y="155" > Width="131" Height="40"> > <Text>The size of the currently selected > item.</Text> > <Subscribe Event="SelectionSize" Attribute="Text" > /> > </Control> > <Control Id="Location" Type="Text" X="75" Y="225" > Width="215" Height="20"> > <Text><The selection's path></Text> > <Subscribe Event="SelectionPath" Attribute="Text" > /> > <Subscribe Event="SelectionPathOn" > Attribute="Visible" /> > </Control> > <Control Id="LocationLabel" Type="Text" X="25" Y="225" > Width="50" Height="10" Text="Location:"> > <Subscribe Event="SelectionPathOn" > Attribute="Visible" /> > </Control> > </Dialog> > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://www.nabble.com/empty-feature-tree-in-maintenance-mode-tf1650272.html#a13743269 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users