public void Install() { // Hedef Adresi Oluşturma if (!fileManagement.FolderExist(_parent.install.DestinationPath)) { fileManagement.CreateDirectory(_parent.install.DestinationPath); logger.Info("Kurulum için belirtilen '{0}' hedef yol oluşturuldu.", _parent.install.DestinationPath); } else { logger.Warn("Kurulum için belirtilen '{0}' hedef yol zaten mevcut...", _parent.install.DestinationPath); } // Program dosyalarını Kopyalama List <FileInfo> fileInfos = fileManagement.GetFiles(Application.StartupPath); foreach (var item in fileInfos) { fileManagement.FileInformation(item); } fileManagement.AllCopyForProgressBar(Application.StartupPath, _parent.install.DestinationPath, this); }