static internal void SetupPrimitivesValues(bool debug, bool donotprocess) { // uti.bDebug = op.Debug; ip.DebugReporting = op.Debug; PrimitiveObject.MachineArchitectureConfiguration = SystemSettings.Is64() ? ArchitectureConfiguration.x64 : ArchitectureConfiguration.x86; PrimitiveObject.MachineOSVersion = SystemSettings.Version(); PrimitiveObject.Filters.Clear(); PrimitiveObject.UninstallActions.Clear(); VisualStudioSpecific.VSFilters(PrimitiveObject); VisualStudioSpecific.VSUninstallActions(PrimitiveObject); PrimitiveObject.DataFilesPath = path; PrimitiveObject.DoNotExecuteProcess = donotprocess; PrimitiveObject.DebugReporting = debug; //Initialize PrimitiveObject.Initialize(); }
static internal void SetupPrimitivesValues(bool debug, bool donotprocess) { // uti.bDebug = op.Debug; ip.DebugReporting = op.Debug; PrimitiveObject.MachineArchitectureConfiguration = SystemSettings.Is64() ? ArchitectureConfiguration.x64 : ArchitectureConfiguration.x86; PrimitiveObject.MachineOSVersion = SystemSettings.Version(); PrimitiveObject.Filters.Clear(); PrimitiveObject.UninstallActions.Clear(); VisualStudioSpecific.VSFilters(PrimitiveObject); VisualStudioSpecific.VSUninstallActions(PrimitiveObject); PrimitiveObject.DataFilesPath = path; PrimitiveObject.DoNotExecuteProcess = donotprocess; PrimitiveObject.DebugReporting = debug; //Initialize Console.WriteLine(Logger.Log("Set filters in Primitives object", Logger.MessageLevel.Information, AppName)); Console.WriteLine(Logger.Log("Initializing configuration... Please wait.", Logger.MessageLevel.Information, AppName)); Console.WriteLine(Logger.Log("-----------------------------------------------------------------------", Logger.MessageLevel.Information, AppName)); PrimitiveObject.Initialize(); Console.WriteLine(Logger.Log("Calling GetUsage for dialog prompt.", Logger.MessageLevel.Information, AppName)); Console.Clear(); }