Author Topic: Visio-Solution Publishing Tool-create template category in visio?  (Read 714 times)

0 Members and 1 Guest are viewing this topic.

shaskm

  • Newbie
  • *
  • Posts: 2
I know it is possible to create template categories in Visio. My work wants me to create a category for company templates but I am not sure how to do it. Would someone be able to walk me through this or give me any clearer instructions? Thanks.

Yacine

  • Hero Member
  • *****
  • Posts: 2484
Re: Visio-Solution Publishing Tool-create template category in visio?
« Reply #1 on: July 31, 2018, 02:53:48 AM »
What do you want to do with the categories? Can you explain more?
Yacine

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2648
    • Paul Herber's website
Re: Visio-Solution Publishing Tool-create template category in visio?
« Reply #2 on: July 31, 2018, 08:31:19 AM »
Here is an example screenshot, it shows a template/stencil category "Bowtie diagrams" in the menu path.
HTH.

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

http://www.paulherber.co.uk/

shaskm

  • Newbie
  • *
  • Posts: 2
Re: Visio-Solution Publishing Tool-create template category in visio?
« Reply #3 on: July 31, 2018, 08:44:04 AM »
How do I add the template file when it asks for a .msi file?

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2648
    • Paul Herber's website
Re: Visio-Solution Publishing Tool-create template category in visio?
« Reply #4 on: July 31, 2018, 10:56:02 AM »
You will need to create the .msi file initially. There are various ways to do this, the tool I use is Warsetup:
https://github.com/majorsilence/WarSetup-Fork
Electronic and Electrical engineering, business and software stencils and applications for Visio -

http://www.paulherber.co.uk/

Nikolay

  • Hero Member
  • *****
  • Posts: 762
    • UnmanagedVisio
Re: Visio-Solution Publishing Tool-create template category in visio?
« Reply #5 on: July 31, 2018, 03:01:03 PM »
IMHO, WarSetup is a nightmare, honestly :)

Try my tool, it's better. Just uncheck the "Create Visio Addin" option, because you don't need it, then it will create ONLY Visio setup project.
It does support the categories, also has auto-complete...

https://marketplace.visualstudio.com/items?itemName=NikolayBelyh.ExtendedVisioAddinProject

I've tried to build an online service to do that, not sure if it still works (you could try - ask if anything):
http://buildvisiosetup.azurewebsites.net/

Alternatively, you can use registry settings instead. Without ANY setup (keyword: Spotlight)
http://visguy.com/vgforum/index.php?topic=6053.0
« Last Edit: July 31, 2018, 04:14:02 PM by Nikolay »

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2648
    • Paul Herber's website
Re: Visio-Solution Publishing Tool-create template category in visio?
« Reply #6 on: August 02, 2018, 06:31:08 AM »
Thanks, Nikolay, I'll take another look.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

http://www.paulherber.co.uk/

Nikolay

  • Hero Member
  • *****
  • Posts: 762
    • UnmanagedVisio
Re: Visio-Solution Publishing Tool-create template category in visio?
« Reply #7 on: August 02, 2018, 08:11:55 AM »
I'm wondering how it's going to be with MSIX...  (note "X" at the end)
How soon are they gonna ditch MSI?

https://blogs.msdn.microsoft.com/sgern/2018/06/15/msix-intro

https://windowsreport.com/msix-packaging-tool-microsoft-store

https://www.advancedinstaller.com/msix-windows-package.html

It seems to be almost there...
Yesterday I've downloaded the latest Windows 10 build (that includes MSIX)... Have a plan to check it out sometime soon    :)
« Last Edit: August 02, 2018, 08:32:40 AM by Nikolay »

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2648
    • Paul Herber's website
Re: Visio-Solution Publishing Tool-create template category in visio?
« Reply #8 on: August 02, 2018, 01:53:45 PM »
IMHO, WarSetup is a nightmare, honestly :)

Try my tool, it's better. Just uncheck the "Create Visio Addin" option, because you don't need it, then it will create ONLY Visio setup project.
It does support the categories, also has auto-complete...

https://marketplace.visualstudio.com/items?itemName=NikolayBelyh.ExtendedVisioAddinProject


Hi Nikolay, the Setup Project section is all disabled. WixToolset is all installed.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

http://www.paulherber.co.uk/

Nikolay

  • Hero Member
  • *****
  • Posts: 762
    • UnmanagedVisio
Re: Visio-Solution Publishing Tool-create template category in visio?
« Reply #9 on: August 02, 2018, 03:18:05 PM »
Hi Paul, the second is screen should be disabled, that's okay (those are addin options)... The setup settings are on the last screen:
https://www.screencast.com/t/7P72jDnF5ByS

Could you please share the screenshot if it's not working.
Please mind It's not that I'm against WAR setup, I just find it lacking Visio features... And Visual Studio build integration :)
« Last Edit: August 02, 2018, 03:20:34 PM by Nikolay »

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2648
    • Paul Herber's website
Re: Visio-Solution Publishing Tool-create template category in visio?
« Reply #10 on: August 03, 2018, 07:56:29 AM »
Got it working, I had only installed WiX v3.11.1, so I also needed to install WiX v3.11.1.
Now your code shows the setup screen correctly. I shall give it a go.
Thanks, Nikolay.
P.S. There is a small mistake in your text.

"Adds project for the add-in. Nte taht ..."
I suspect you mean "Note that ..."

Also, in the Add-in project options, in the bit about Visio 2013 interop assemblies, the text cuts off after "... assemblies (Visio 2013) will be".

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

http://www.paulherber.co.uk/

Nikolay

  • Hero Member
  • *****
  • Posts: 762
    • UnmanagedVisio
Re: Visio-Solution Publishing Tool-create template category in visio?
« Reply #11 on: August 03, 2018, 10:00:50 AM »
Got it working, I had only installed WiX v3.11.1, so I also needed to install WiX v3.11.1.

Hmm..  I don't really see the difference?  ???  :D

Will fix the texts - thank you!

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2648
    • Paul Herber's website
Re: Visio-Solution Publishing Tool-create template category in visio?
« Reply #12 on: August 03, 2018, 10:02:41 AM »
Ah, no, I meant "WiX Toolset Visual Studio 2017 Extension".
Electronic and Electrical engineering, business and software stencils and applications for Visio -

http://www.paulherber.co.uk/

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2648
    • Paul Herber's website
Re: Visio-Solution Publishing Tool-create template category in visio?
« Reply #13 on: August 03, 2018, 10:04:37 AM »
I think this whole topic should be in Deployment ... I shall move it.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

http://www.paulherber.co.uk/