public void AddSetupFile(SetupFile file) { var file2 = file.Duplicate(); if (file2.TargetDirectoryDescription == null) { file2.TargetDirectoryDescription = _targetDirDesc; } file2.CreateTargetDirectory = _createTargetDir; AddSetupFile(file, file2.TargetDirectoryDescription); }
public void AddSetupFile(SetupFile file, string targetDirDesc) { var file2 = file.Duplicate(); if (file2.TargetDirectory == null) { file2.TargetDirectory = _targetDir; } file2.CreateTargetDirectory = _createTargetDir; AddSetupFile(file2, file2.TargetDirectory, targetDirDesc); }
public void AddSetupFile(SetupFile file, string targetDirPath, string targetDirDesc) { var file2 = file.Duplicate(); file2.TargetDirectory = targetDirPath; file2.TargetDirectoryDescription = targetDirDesc; file2.CreateTargetDirectory = file2.TargetDirectory == _targetDir ? _createTargetDir : false; file2.OwnerApp = this; _setupFiles.Add(file2); }