locked
How to open Notepad.exe using TFS Build RRS feed

  • Question

  • I am trying to open a notepad using TFS Build + InvokeProcess activity. But when the build runs, it keeps on running...it does not gets stopped and neither the Notepad is opened.

    Can anyone please provide a solution on this please?

    Wednesday, October 22, 2014 3:51 AM

Answers

  • Hi Sameer, 

    Thanks for your post.

    If you want open the notepad during Team Build, you need set your Build Service running as Interactively, launch your TFS Admin Console>>Build Configuration>>Build Service Properties>>Stop the service>>selected Run the Service Interactively.

    In your InvokeProcess activity, set FileName = “C:\Windows\notepad”.

    After above two steps, you can open the notepad during Team Build. When running your build definition, the notepad will be opened on your build agent machine, and your build keeps on running this open notepad activity. You need logon your build agent using your TFS Build Service account, then you will see the notepad be opened on build agent machine, after you close this notepad, your build will continue run next steps.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, October 22, 2014 9:49 AM
    Moderator

All replies

  • Hi Sameer, 

    Thanks for your post.

    If you want open the notepad during Team Build, you need set your Build Service running as Interactively, launch your TFS Admin Console>>Build Configuration>>Build Service Properties>>Stop the service>>selected Run the Service Interactively.

    In your InvokeProcess activity, set FileName = “C:\Windows\notepad”.

    After above two steps, you can open the notepad during Team Build. When running your build definition, the notepad will be opened on your build agent machine, and your build keeps on running this open notepad activity. You need logon your build agent using your TFS Build Service account, then you will see the notepad be opened on build agent machine, after you close this notepad, your build will continue run next steps.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, October 22, 2014 9:49 AM
    Moderator
  • Thanks a lot. This made my another "Obfuscation Process" work as well.

    Wednesday, October 22, 2014 3:35 PM