예제 #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));
 }
예제 #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();
 }
예제 #3
0
파일: SourceFile.cs 프로젝트: glcjr/Wixard
 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));
 }