well wait it would suck to have to keep track of a file and change that with every update (I don't know of something that can do that automically) and am assuming that is the problem, but the current svn version is stored in the .svn\entries file, couldn't this file be parsed and have the revision number grabbed from there (not sure how to do this off the top of my head at compile time with C::B, but certainly at run time...) A batch script could just copy the entries file to a directory that would be available during installation. (sorry if this is a rehash tried searching to see what the other suggestions had be but wasn't pulling anything up).