I have made my own UI like it is in WPFSetup sample.
But one small difference:
I do not use setup Datacontext for the page but this function
Setup.PropertyChanged += (s, e) =>
Action start 13:17:09: INSTALL.
Action start 13:17:09: ValidateProductID.
Action ended 13:17:09: ValidateProductID. Return value 1.
Action start 13:17:09: CostInitialize.
Action ended 13:17:09: CostInitialize. Return value 1.
Action start 13:17:09: FileCost.
Action ended 13:17:09: FileCost. Return value 1.
Action start 13:17:09: CostFinalize.
Action ended 13:17:09: CostFinalize. Return value 1.
Action start 13:17:09: InstallValidate.
Action ended 13:17:09: InstallValidate. Return value 1.
Action start 13:17:09: InstallInitialize.
Action ended 13:17:09: InstallInitialize. Return value 1.
Action start 13:17:09: ProcessComponents.
What I do wrong?
But one small difference:
I do not use setup Datacontext for the page but this function
Setup.PropertyChanged += (s, e) =>
{
if (e.PropertyName == @"CurrentActionName")
{
this.OnPropertyChanged(@"CurrentActionName");
}
return;
};
Some problems occur:- I do not see the current action names (even when I set setup.ProgressStepDelay = 50;)
-
Install, uninstall actions completed successfully but I receive a message
"Failed. See log files for details" and log file like this
Action start 13:17:09: INSTALL.
Action start 13:17:09: ValidateProductID.
Action ended 13:17:09: ValidateProductID. Return value 1.
Action start 13:17:09: CostInitialize.
Action ended 13:17:09: CostInitialize. Return value 1.
Action start 13:17:09: FileCost.
Action ended 13:17:09: FileCost. Return value 1.
Action start 13:17:09: CostFinalize.
Action ended 13:17:09: CostFinalize. Return value 1.
Action start 13:17:09: InstallValidate.
Action ended 13:17:09: InstallValidate. Return value 1.
Action start 13:17:09: InstallInitialize.
Action ended 13:17:09: InstallInitialize. Return value 1.
Action start 13:17:09: ProcessComponents.
What I do wrong?