CLI tool for running Playbooks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

187 lines
9.6 KiB

1 year ago
10 months ago
1 year ago
1 year ago
10 months ago
6 months ago
1 year ago
6 months ago
1 year ago
10 months ago
1 year ago
6 months ago
9 months ago
1 year ago
6 months ago
1 year ago
10 months ago
1 year ago
6 months ago
1 year ago
6 months ago
1 year ago
10 months ago
1 year ago
6 months ago
1 year ago
6 months ago
10 months ago
6 months ago
10 months ago
6 months ago
10 months ago
6 months ago
1 year ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  4. <PropertyGroup>
  5. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  6. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  7. <ProjectGuid>{9BDA9D32-E9A1-4DB8-9D90-443792107E28}</ProjectGuid>
  8. <OutputType>Library</OutputType>
  9. <AppDesignerFolder>Properties</AppDesignerFolder>
  10. <RootNamespace>TrustedUninstaller.Shared</RootNamespace>
  11. <AssemblyName>TrustedUninstaller.Shared</AssemblyName>
  12. <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
  13. <LangVersion>8</LangVersion>
  14. <FileAlignment>512</FileAlignment>
  15. <Deterministic>true</Deterministic>
  16. <TargetFrameworkProfile />
  17. <AllowedReferenceRelatedFileExtensions>
  18. *.xml
  19. </AllowedReferenceRelatedFileExtensions>
  20. </PropertyGroup>
  21. <PropertyGroup>
  22. <PathMap>$([System.IO.Path]::GetFullPath('$(SolutionDir)'))=./</PathMap>
  23. </PropertyGroup>
  24. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
  25. <DebugSymbols>true</DebugSymbols>
  26. <OutputPath>bin\x64\Debug\</OutputPath>
  27. <DefineConstants>DEBUG;TRACE</DefineConstants>
  28. <DebugType>full</DebugType>
  29. <PlatformTarget>x64</PlatformTarget>
  30. <ErrorReport>prompt</ErrorReport>
  31. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  32. <Nullable>enable</Nullable>
  33. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  34. </PropertyGroup>
  35. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
  36. <OutputPath>bin\x64\Release\</OutputPath>
  37. <DefineConstants>TRACE</DefineConstants>
  38. <Optimize>true</Optimize>
  39. <DebugType>embedded</DebugType>
  40. <PlatformTarget>x64</PlatformTarget>
  41. <ErrorReport>prompt</ErrorReport>
  42. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  43. <Nullable>enable</Nullable>
  44. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  45. </PropertyGroup>
  46. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Single File|x64' ">
  47. <OutputPath>bin\x64\Release\</OutputPath>
  48. <PlatformTarget>x64</PlatformTarget>
  49. <Optimize>true</Optimize>
  50. <DebugType>embedded</DebugType>
  51. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  52. <DefineConstants>SINGLE</DefineConstants>
  53. </PropertyGroup>
  54. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug Single File|x64' ">
  55. <OutputPath>bin\x64\Release\</OutputPath>
  56. <PlatformTarget>x64</PlatformTarget>
  57. <Optimize>true</Optimize>
  58. <DebugType>embedded</DebugType>
  59. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  60. <DefineConstants>SINGLE;DEBUG</DefineConstants>
  61. </PropertyGroup>
  62. <ItemGroup>
  63. <Reference Include="PresentationFramework" />
  64. <Reference Include="System" />
  65. <Reference Include="System.Configuration.Install" />
  66. <Reference Include="System.Core" />
  67. <Reference Include="System.DirectoryServices" />
  68. <Reference Include="System.DirectoryServices.AccountManagement" />
  69. <Reference Include="System.IO.Compression, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
  70. <SpecificVersion>False</SpecificVersion>
  71. <Private>True</Private>
  72. </Reference>
  73. <Reference Include="System.Management" />
  74. <Reference Include="System.Net.Http" />
  75. <Reference Include="System.ServiceProcess" />
  76. <Reference Include="System.Windows.Forms" />
  77. <Reference Include="Microsoft.CSharp" />
  78. <Reference Include="System.Xml" />
  79. <Reference Include="YamlDotNet">
  80. <HintPath>..\TrustedUninstaller.GUI\bin\x64\Release\YamlDotNet.dll</HintPath>
  81. </Reference>
  82. </ItemGroup>
  83. <ItemGroup>
  84. <Compile Include="Actions\RegistryValueAction.cs" />
  85. <Compile Include="Actions\SystemPackageAction.cs" />
  86. <Compile Include="Actions\TaskKillAction.cs" />
  87. <Compile Include="Actions\ScheduledTaskAction.cs" />
  88. <Compile Include="Actions\LineInFileAction.cs" />
  89. <Compile Include="Actions\CmdAction.cs" />
  90. <Compile Include="Actions\ShortcutAction.cs" />
  91. <Compile Include="Actions\PowerShellAction.cs" />
  92. <Compile Include="Actions\RunAction.cs" />
  93. <Compile Include="Actions\FileAction.cs" />
  94. <Compile Include="Actions\AppxAction.cs" />
  95. <Compile Include="Actions\LanguageAction.cs" />
  96. <Compile Include="Actions\RegistryKeyAction.cs" />
  97. <Compile Include="Actions\ServiceAction.cs" />
  98. <Compile Include="Actions\UpdateAction.cs" />
  99. <Compile Include="Actions\UserAction.cs" />
  100. <Compile Include="Actions\WriteStatusAction.cs" />
  101. <Compile Include="AmeliorationUtil.cs" />
  102. <Compile Include="AugmentedProcess.cs" />
  103. <Compile Include="Debug.cs" />
  104. <Compile Include="Defender.cs" />
  105. <Compile Include="DualOut.cs" />
  106. <Compile Include="Globals.cs" />
  107. <Compile Include="Playbook.cs" />
  108. <Compile Include="ProcessPrivilege.cs" />
  109. <Compile Include="ProviderStatus.cs" />
  110. <Compile Include="ErrorLogger.cs" />
  111. <Compile Include="Exceptions\InvalidRegistryEntryException.cs" />
  112. <Compile Include="Exceptions\TaskInProgressException.cs" />
  113. <Compile Include="NativeProcess.cs" />
  114. <Compile Include="Parser\ConfigParser.cs" />
  115. <Compile Include="Parser\TaskActionResolver.cs" />
  116. <Compile Include="Predicates\IPredicate.cs" />
  117. <Compile Include="Requirements.cs" />
  118. <Compile Include="Tasks\TaskAction.cs" />
  119. <Compile Include="Tasks\UninstallTaskPrivilege.cs" />
  120. <Compile Include="Tasks\ITaskAction.cs" />
  121. <Compile Include="Tasks\UninstallTaskStatus.cs" />
  122. <Compile Include="Tasks\UninstallTask.cs" />
  123. <Compile Include="Win32.cs" />
  124. <Compile Include="WinUtil.cs" />
  125. <Compile Include="Properties\AssemblyInfo.cs" />
  126. </ItemGroup>
  127. <ItemGroup>
  128. <COMReference Include="IWshRuntimeLibrary">
  129. <Guid>{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B}</Guid>
  130. <VersionMajor>1</VersionMajor>
  131. <VersionMinor>0</VersionMinor>
  132. <Lcid>0</Lcid>
  133. <WrapperTool>tlbimp</WrapperTool>
  134. <Isolated>False</Isolated>
  135. <EmbedInteropTypes>True</EmbedInteropTypes>
  136. </COMReference>
  137. <COMReference Include="WUApiLib">
  138. <Guid>{B596CC9F-56E5-419E-A622-E01BB457431E}</Guid>
  139. <VersionMajor>2</VersionMajor>
  140. <VersionMinor>0</VersionMinor>
  141. <Lcid>0</Lcid>
  142. <WrapperTool>tlbimp</WrapperTool>
  143. <Isolated>False</Isolated>
  144. <EmbedInteropTypes>True</EmbedInteropTypes>
  145. </COMReference>
  146. </ItemGroup>
  147. <ItemGroup>
  148. <WCFMetadata Include="Connected Services\" />
  149. </ItemGroup>
  150. <ItemGroup>
  151. <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
  152. <PackageReference Include="System.IO" Version="4.3.0" />
  153. <PackageReference Include="System.IO.FileSystem" Version="4.3.0" />
  154. <PackageReference Include="System.IO.FileSystem.Primitives" Version="4.3.0" />
  155. <PackageReference Include="System.Net.Http" Version="4.3.4" />
  156. <PackageReference Include="System.Runtime" Version="4.3.0" />
  157. <PackageReference Include="System.Security.Cryptography.Algorithms" Version="4.3.1" />
  158. <PackageReference Include="System.Security.Cryptography.Encoding" Version="4.3.0" />
  159. <PackageReference Include="System.Security.Cryptography.Primitives" Version="4.3.0" />
  160. <PackageReference Include="System.Security.Cryptography.X509Certificates" Version="4.3.0" />
  161. <PackageReference Include="System.Security.Principal.Windows" Version="5.0.0" />
  162. <PackageReference Include="TaskScheduler" Version="2.10.1" />
  163. <PackageReference Include="YamlDotNet" Version="11.2.1" />
  164. </ItemGroup>
  165. <ItemGroup>
  166. <EmbeddedResource Include="Properties\UsrClass.dat" />
  167. </ItemGroup>
  168. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  169. <PropertyGroup>
  170. <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
  171. </PropertyGroup>
  172. <PropertyGroup>
  173. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  174. <GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
  175. </PropertyGroup>
  176. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Single File|x64' Or '$(Configuration)|$(Platform)' == 'Debug Single File|x64' ">
  177. <PostBuildEvent>for /f "usebackq delims=" %%A in (`DIR /B /S /A:d "$(SolutionDir)" ^| FINDSTR /R /c:".*\\bin\\.*\\de$" /c:".*\\bin\\.*\\en$" /c:".*\\bin\\.*\\es$" /c:".*\\bin\\.*\\fr$" /c:".*\\bin\\.*\\it$" /c:".*\\bin\\.*\\ja$" /c:".*\\bin\\.*\\ko$" /c:".*\\bin\\.*\\ru$" /c:".*\\bin\\.*\\zh-Hans$" /c:".*\\bin\\.*\\zh-Hant$" /c:".*\\bin\\.*\\pl$" /c:".*\\bin\\.*\\zh-CN$"`) do (RMDIR /Q /S "%%A" &amp; cmd /c "exit /b 0")
  178. PowerShell -NoP -C "Start-Process '$(SolutionDir)\TrustedUninstaller.GUI\gui-builder\ame-builder.exe' -ArgumentList 'Shared','""""x64\$(Configuration)""""' -NoNewWindow -Wait"
  179. </PostBuildEvent>
  180. <AllowedReferenceRelatedFileExtensions>
  181. <!-- Prevent default XML files copied to output.-->
  182. .allowedextension
  183. </AllowedReferenceRelatedFileExtensions>
  184. </PropertyGroup>
  185. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' != 'Single File|x64' And '$(Configuration)|$(Platform)' != 'Debug Single File|x64' ">
  186. <PostBuildEvent>for /f "usebackq delims=" %%A in (`DIR /B /S /A:d "$(SolutionDir)" ^| FINDSTR /R /c:".*\\bin\\.*\\de$" /c:".*\\bin\\.*\\en$" /c:".*\\bin\\.*\\es$" /c:".*\\bin\\.*\\fr$" /c:".*\\bin\\.*\\it$" /c:".*\\bin\\.*\\ja$" /c:".*\\bin\\.*\\ko$" /c:".*\\bin\\.*\\ru$" /c:".*\\bin\\.*\\zh-Hans$" /c:".*\\bin\\.*\\zh-Hant$" /c:".*\\bin\\.*\\pl$" /c:".*\\bin\\.*\\zh-CN$"`) do (RMDIR /Q /S "%%A" &amp; cmd /c "exit /b 0")</PostBuildEvent>
  187. </PropertyGroup>
  188. </Project>