Sunday, 15 May 2011

c# - Showing package installation progress with WiX custom bootstrapper -



c# - Showing package installation progress with WiX custom bootstrapper -

i'm developing custom bootstrapper application wix installer.

i include single bundle in bundle installed , showing progress following:

private void bootstrapper_progress(object sender, progresseventargs e) { applyingpercentage = e.progresspercentage; overallpercentage = e.overallpercentage; if (bootstrapper.enginemodel.usercancellationrequested) { e.result = result.cancel; } }

now, knows "regular" installation progress windows installer gives user.

what want give user same amount of progress in custom bootstrapper application, unfortunately shows tiny amount (0% - 50% - 100%).

i assume shows progress of installed packages within bundle , not progress of actual bundle (which windows installer shows on default, because 1 bundle going installed).

how can that?

oncacheacquireprogress's overallpercentage provides more granular cache progress , onexecuteprogress's overallpercentage provides more granular execution progress.

c# wpf wix bootstrapper

No comments:

Post a Comment