Exemplo n.º 1
0
 //public Installer(PackageInfo package, string physicalSitePath)
 //{
 //    _InstallerInfo = new InstallerInfo(package, physicalSitePath);
 //    Packages.Add(Packages.Count, new PackageInstaller(package));
 //}
 public Installer(string manifest, string physicalSitePath, bool loadManifest)
 {
     _InstallerInfo = new InstallerInfo(physicalSitePath, InstallMode.ManifestOnly);
     if (loadManifest)
     {
         ReadManifest(new FileStream(manifest, FileMode.Open, FileAccess.Read));
     }
 }
Exemplo n.º 2
0
 //public Installer(PackageInfo package, string physicalSitePath)
 //{
 //    _InstallerInfo = new InstallerInfo(package, physicalSitePath);
 //    Packages.Add(Packages.Count, new PackageInstaller(package));
 //}
 public Installer(string manifest, string physicalSitePath, bool loadManifest)
 {
     _InstallerInfo = new InstallerInfo(physicalSitePath, InstallMode.ManifestOnly);
     if (loadManifest)
     {
         ReadManifest(new FileStream(manifest, FileMode.Open, FileAccess.Read));
     }
 }
Exemplo n.º 3
0
 public Installer(Stream inputStream, string physicalSitePath, bool loadManifest, bool deleteTemp)
 {
     _InstallerInfo = new InstallerInfo(inputStream, physicalSitePath);
     _InstallerInfo.IgnoreWhiteList = true;
     if (loadManifest)
     {
         ReadManifest(deleteTemp);
     }
 }
Exemplo n.º 4
0
 public Installer(string tempFolder, string manifest, string physicalSitePath, bool loadManifest)
 {
     _InstallerInfo = new InstallerInfo(tempFolder, manifest, physicalSitePath);
     _InstallerInfo.IgnoreWhiteList = false;
     if (loadManifest)
     {
         ReadManifest(true);
     }
 }
Exemplo n.º 5
0
 public Installer(Stream inputStream, string physicalSitePath, bool loadManifest, bool deleteTemp)
 {
     _InstallerInfo = new InstallerInfo(inputStream, physicalSitePath);
     _InstallerInfo.IgnoreWhiteList = true;
     if (loadManifest)
     {
         ReadManifest(deleteTemp);
     }
 }
Exemplo n.º 6
0
 public Installer(string tempFolder, string manifest, string physicalSitePath, bool loadManifest)
 {
     _InstallerInfo = new InstallerInfo(tempFolder, manifest, physicalSitePath);
     _InstallerInfo.IgnoreWhiteList = false;
     if (loadManifest)
     {
         ReadManifest(true);
     }
 }
Exemplo n.º 7
0
 public InstallFile(string fileName, string sourceFileName, InstallerInfo info)
 {
     ParseFileName(fileName);
     _SourceFileName = sourceFileName;
     _InstallerInfo  = info;
 }
Exemplo n.º 8
0
 public InstallFile(string fileName, InstallerInfo info)
 {
     ParseFileName(fileName);
     _InstallerInfo = info;
 }
Exemplo n.º 9
0
 public InstallFile(ZipInputStream zip, ZipEntry entry, InstallerInfo info)
 {
     _InstallerInfo = info;
     ReadZip(zip, entry);
 }
Exemplo n.º 10
0
 public PackageInfo(InstallerInfo info)
 {
     AttachInstallerInfo(info);
 }
Exemplo n.º 11
0
 public void AttachInstallerInfo(InstallerInfo installer)
 {
     _InstallerInfo = installer;
 }
Exemplo n.º 12
0
 public InstallFile(string fileName, string sourceFileName, InstallerInfo info)
 {
     ParseFileName(fileName);
     _SourceFileName = sourceFileName;
     _InstallerInfo = info;
 }
Exemplo n.º 13
0
 public InstallFile(string fileName, InstallerInfo info)
 {
     ParseFileName(fileName);
     _InstallerInfo = info;
 }
Exemplo n.º 14
0
 public InstallFile(ZipInputStream zip, ZipEntry entry, InstallerInfo info)
 {
     _InstallerInfo = info;
     ReadZip(zip, entry);
 }