Run VSSConverter without prompting for password

If you have tried to run VSSConverter as part of an automated script, you’ll know that it’s not obvious how to stop it prompting for the Visual SourceSafe repository’s administrator password.

Eyal points out that you can set two environment variables to achieve this behaviour:

set SourceSCMPasswd=VssPassword
set HATCONTESTING=yes
VSSConverter.exe Migrate migrate_settings.xml

Although I haven’t tried it, there’s a suggestion on this thread to try the VS2008 SP1 version of VSSConverter as it’s “vastly improved”.

Note: These options are undocumented and unsupported. They are intended for internal testing.  They should work with current versions of VSSConverter, but they’re not guaranteed to work for future releases.

Published 08 July 08 12:42 by grantholliday
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Jersson on Geeks·ms said on July 10, 2008 2:55 AM:

Buena frase, pero que tanto podemos acercarnos a esta realidad? Via el (nuevo) blog de Grant Holliday

# Team System News said on July 14, 2008 9:25 AM:

Sean Lumley on Collecting Code Coverage when Running Web and Load Tests James Whittaker on before we...

Leave a Comment

(required) 
(optional)
(required) 

Search

Go

This Blog

Syndication

Page view tracker