private void OnPackageInstalled(InstalledPackage insPack) { // getting an InstallationSummary for sending to the PackagingService.ImportedPackage event var fileService = Current.Services.FileService; var macroService = Current.Services.MacroService; var contentTypeService = Current.Services.ContentTypeService; var dataTypeService = Current.Services.DataTypeService; var localizationService = Current.Services.LocalizationService; var installationSummary = insPack.GetInstallationSummary(contentTypeService, dataTypeService, fileService, localizationService, macroService); installationSummary.PackageInstalled = true; var args = new ImportPackageEventArgs <InstallationSummary>(installationSummary, false); PackagingService.OnImportedPackage(args); }