Exemplo n.º 1
0
 public AdvancedOptions(SerializationInfo info, StreamingContext context)
 {
     Certs = (Certificates)info.GetValue("certificates", typeof(Certificates));
     users = (Users)info.GetValue("users", typeof(Users));
     EnvironmentVariables = (EnvironmentVars)info.GetValue("environmentvars", typeof(EnvironmentVars));
     WElements            = (Elements)info.GetValue("welements", typeof(Elements));
     feature                = (Features)info.GetValue("features", typeof(Features));
     FirewallExcept         = (FirewallExceptions)info.GetValue("firewallexceptions", typeof(FirewallExceptions));
     GlobalFileAssociations = (FileAssociations)info.GetValue("fileassociations", typeof(FileAssociations));
     Registryvalues         = (RegistryValues)info.GetValue("registryvalues", typeof(RegistryValues));
 }
Exemplo n.º 2
0
 public AdvancedOptions()
 {
     Certs = new Certificates();
     users = new Users();
     EnvironmentVariables = new EnvironmentVars();
     WElements            = new Elements();
     feature                = new Features();
     FirewallExcept         = new FirewallExceptions();
     GlobalFileAssociations = new FileAssociations();
     Registryvalues         = new RegistryValues();
 }
Exemplo n.º 3
0
 public SourceFile(SerializationInfo info, StreamingContext context)
 {
     Path                  = (string)info.GetValue("path", typeof(string));
     IsMainExecutable      = (bool)info.GetValue("mainexecutable", typeof(bool));
     Directory             = (string)info.GetValue("directory", typeof(string));
     CreateMenuShortCut    = (bool)info.GetValue("menushortcut", typeof(bool));
     CreateDeskTopShortCut = (bool)info.GetValue("desktopshortcut", typeof(bool));
     IsLicenseFile         = (bool)info.GetValue("licensefile", typeof(bool));
     FeatureName           = (string)info.GetValue("featurename", typeof(string));
     FirewallExcept        = (FirewallExceptions)info.GetValue("firewallexceptions", typeof(FirewallExceptions));
     fileassociations      = (FileAssociations)info.GetValue("fileassociations", typeof(FileAssociations));
 }