Author Topic: File Locations  (Read 40223 times)

0 Members and 1 Guest are viewing this topic.

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3301
    • Paul Herber's website
Re: File Locations
« Reply #30 on: February 16, 2015, 01:30:47 PM »
You could create an installer file that sets up the files and paths so Visio knows where to find things, but then have SVN just update the actual files. I see no reason why that shouldn't work.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/

Nikolay

  • Hero Member
  • *****
  • Posts: 1125
    • UnmanagedVisio
Re: File Locations
« Reply #31 on: February 16, 2015, 02:21:56 PM »
The needed part here is publishing (via windows installer)
So that you can specify "alternate" or "user interface" names for the stencil/template files.

You could do that as well with Visio Solution Publishing tool from Visio SDK (will require a bit more efforts though).
But yep, installer might not quite fit in the SVN "xcopy" deployment scenario - you'll need an extra step to pack stencils/templates in the installer somewhere in the process.

In principle, well, you can have a "build server" somewhere which pulls the templates/stencils out of the SVN and builds the installer for "end-users".
Or you could do that packaging via SVN post-commit hook for example. Not sure if it all worth the efforts though.

As far as I understand, you have a corporate LAN and cannot move your files outside of the company.. right?

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3301
    • Paul Herber's website
Re: File Locations
« Reply #32 on: February 16, 2015, 03:32:24 PM »
You'd only need to do the installation once, you could probably use dummy files of small size, once the MSI has run you could extract the real files from SVN at any time. A new update from SVN won't require the installer to be run again (unless you change filenames or something of course).

Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/