Пример #1
0
 public WixSharpScript(WIXSharpProject project)
 {
     installdir     = project.GetInstallDir();
     Options        = project.GetOptions();
     WElements      = project.GetElements();
     Registryvalues = project.GetRegistryValues();
     projectcode    = new BuildProjectCode(Options, project.GetGlobalFileAssociations(), Registryvalues, project.GetFirewallExceptions(), project.GetSourceFiles(),
                                           project.GetCerts(), project.GetEnvironmentVars(), project.GetApplication(), project.GetUsers(), WElements, installdir, project.GetProgFiles(),
                                           project.GetProgMenu());
     buildmethods = new BuildWixBuildMethods(projectcode, project.GetFeatures());
     bootstrapper = new BuildBootstrapperCode(project.GetApplication(), Options, project.GetSignInstaller());
     mains        = new BuildMains(project.GetSignInstaller(), Options, bootstrapper, project.GetApplication());
 }
Пример #2
0
 public BuildProjectCode(WIXSharpProject project)
 {
     Options = project.GetOptions();
     GlobalFileAssociations = project.GetGlobalFileAssociations();
     Registryvalues         = project.GetRegistryValues();
     FireExcept             = project.GetFirewallExceptions();
     Sourcefiles            = project.GetSourceFiles();
     Certs = project.GetCerts();
     EnvironmentVariables = project.GetEnvironmentVars();
     application          = project.GetApplication();
     users      = project.GetUsers();
     WElements  = project.GetElements();
     installdir = project.GetInstallDir();
     progfiles  = project.GetProgFiles();
     progmenu   = project.GetProgMenu();
 }