explanation of CabApplication Run() method

Topics: CAB & Smart Client Software Factory
Nov 7, 2006 at 11:09 PM
originally posted by: suryan

the run method contains folllowing functions.
since i am new to CAB and like to know in detail.can anyone explain me in detail what each functions do..
thanks for doing this

1.RegisterUnhandledExceptionHandler();
2. Builder builder = CreateBuilder();
3. AddBuilderStrategies(builder);
4. CreateRootWorkItem(builder);
5. IVisualizer visualizer = CreateVisualizer();
if (visualizer != null)
6. visualizer.Initialize(rootWorkItem, builder);
7. AddRequiredServices();
8. AddConfiguredServices();
9. AddServices();
10. AuthenticateUser();
11. ProcessShellAssembly();
12. rootWorkItem.BuildUp();
13. LoadModules();
14. rootWorkItem.FinishInitialization();
15. rootWorkItem.Run();
16. Start();
17. rootWorkItem.Dispose();
if (visualizer != null)
18. visualizer.Dispose();
Nov 8, 2006 at 7:44 AM
originally posted by: JKraft4PIT

Look here, there is a good explination. then if it hasn't answered your question repost.

http://www.cabpedia.com/index.php?title=Application_Startup_Sequence