News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Visio-Solution Publishing Tool-create template category in visio?

Started by shaskm, July 30, 2018, 08:08:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shaskm

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

What do you want to do with the categories? Can you explain more?
Yacine

Paul Herber

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 for Visio -

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

shaskm

How do I add the template file when it asks for a .msi file?

Paul Herber

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 for Visio -

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

Nikolay

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

Paul Herber

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

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

Nikolay

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    :)

Paul Herber

Quote from: Nikolay on July 31, 2018, 08: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


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

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

Nikolay

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 :)

Paul Herber

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 for Visio -

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

Nikolay

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

Ah, no, I meant "WiX Toolset Visual Studio 2017 Extension".
Electronic and Electrical engineering, business and software stencils for Visio -

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

Paul Herber

I think this whole topic should be in Deployment ... I shall move it.
Electronic and Electrical engineering, business and software stencils for Visio -

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

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 410 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1263KB.
Tokens: post-login.
Cache hits: 13: 0.00133s for 26,767 bytes (show)
Cache misses: 2: (show)
Queries used: 15.

[Show Queries]