Jump to content

Apply packages programmatically?


Recommended Posts

I'd like to be able to apply a package programmatically, without user intervention. My use case is to set up a PC that can get the latest version of source out of SVN, apply the project's vipc (it's in the project's SVN folder), then calculate some metrics (code size, complezity, reuse usage, etc), then report the metrics to a sharepoint page. So far, I'm pretty sure that I can acheive everything except for the programatic package application...

Link to comment
Share on other sites

  • 6 months later...
Is there anyway in the meantime to do it from a command line?

 

Warning: The following is not an officially supported feature and may cause your computer to explode! ;)

 

In VIPM 3.0 you can use the following (quotes required):

 

"C:\Program Files\JKI\VI Package Manager\support\VIPM File Handler.exe" -- "/command:apply" "/source:path\to\vipc\file" "/quiet:TRUE"

 

The /quiet parameter is used to suppress dialogs and can be set to TRUE or FALSE.

 

Note: on Windows 64-bit, you'll need to use "Program Files (x86)" instead of "Program Files"

  • Upvote 1
Link to comment
Share on other sites

Warning: The following is not an officially supported feature and may cause your computer to explode! ;)

 

In VIPM 3.0 you can use the following (quotes required):

 

"C:\Program Files\JKI\VI Package Manager\support\VIPM File Handler.exe" -- "/command:apply" "/source:path\to\vipc\file" "/quiet:TRUE"

 

The /quiet parameter is used to suppress dialogs and can be set to TRUE or FALSE.

 

Note: on Windows 64-bit, you'll need to use "Program Files (x86)" instead of "Program Files"

 

Cool indeed.

Chris, you seem more happy than I am... :)

 

thanks Jim.

 

[Long shot]

What about VIPM 2.x?

[/Long shot]

Edited by normandinf
Link to comment
Share on other sites

  • 9 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.