Jump to content


import custom tool from command line

custom tool p4v

  • Please log in to reply
4 replies to this topic

#1 eranb

eranb

    Advanced Member

  • Members
  • PipPipPip
  • 55 posts

Posted 05 October 2014 - 07:14 AM

Hi
I want to create an installer that inject a custom tool to P4V and copy the executable to a certain folder.

How can I import a custom tool from the command line?

Thanks in advance,
Eran

#2 eranb

eranb

    Advanced Member

  • Members
  • PipPipPip
  • 55 posts

Posted 05 October 2014 - 07:16 AM

BTW, is there a P4 API that can do the same?

#3 tkosinski

tkosinski

    Advanced Member

  • Sandbox Beta
  • PipPipPip
  • 73 posts

Posted 06 October 2014 - 03:43 PM

I handle it by having a custom_tools directory in the depot so folks can grab the ones they want (it includes any necessary executables as well as the .xml file to be imported).

If you wanted to force users to have the same set of custom tools, you could have your installer copy your customtools.xml file to the user's .p4qt directory.

#4 Bhargav

Bhargav

    Advanced Member

  • Members
  • PipPipPip
  • 64 posts

Posted 02 June 2020 - 03:52 PM

May i know how to create necessary xml file for import custom tool?  any example?

#5 Sambwise

Sambwise

    Advanced Member

  • Members
  • PipPipPip
  • 1192 posts

Posted 02 June 2020 - 04:22 PM

See this topic for details: https://forums.perfo...windows-and-ma/





Also tagged with one or more of these keywords: custom tool, p4v

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users