小编Gre*_*sch的帖子

TFS查询没有父项的任务

我想在TFS中创建一个工作项查询的平面列表,其中结果包含所有指定的PBI和Bug案例以及任何没有父项的任务案例.

这是没有父母部分的任务让我感到困惑.我无法看到一种方式,我可以做一些看起来很明显的东西,如(父链接计数= 0),因为该属性不会暴露给我,奇怪的是,其他一些链接类型计数.

有任何想法吗?

tfs tfs-workitem tfs2013 azure-devops

36
推荐指数
1
解决办法
1万
查看次数

从WiX安装程序运行PowerShell脚本

我找到了几个示例,展示了如何从WiX运行PowerShell脚本,但尚未成功运行其中任何一个.所以,我想发布我所拥有的东西,希望有人可以指出我做错了什么.

<!--Install the PowerShell script-->
<DirectoryRef Id="INSTALLFOLDER">
  <Component Id="cmp_ShutdownIExplore" Guid="{4AFAACBC-97BB-416f-9946-68E2A795EA20}" KeyPath="yes">
    <File Id="ShutdownIExplore" Name="ShutdownIExplore.ps1" Source="$(var.ProjectDir)Source\PowerShell\ShutdownIExplore.ps1" Vital="yes" />
  </Component>
</DirectoryRef>

<!--Define the CustomAction for running the PowerShell script-->
<CustomAction Id="RunPowerShellScript" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="deferred" Return="check" Impersonate="yes" />

<InstallExecuteSequence>

  <!--Invoke PowerShell script -->
  <Custom Action="RunPowerShellScript" After="InstallFiles"><![CDATA[NOT Installed]]></Custom>
</InstallExecuteSequence>

<!-- Define custom action to run a PowerShell script-->
<Fragment>
  <!-- Ensure PowerShell is installed and obtain the PowerShell executable location -->
  <Property Id="POWERSHELLEXE">
    <RegistrySearch Id="POWERSHELLEXE"
                    Type="raw"
                    Root="HKLM"
                    Key="SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell"
                    Name="Path" />
  </Property>
  <Condition Message="This application …
Run Code Online (Sandbox Code Playgroud)

powershell windows-installer wix

9
推荐指数
2
解决办法
2万
查看次数