Visio Guy

Visio Guy Website & General Stuff => User-submitted Stuff => Topic started by: Nikolay on February 09, 2015, 11:52:10 PM

Title: Visio Publishing Tool - Online Concept
Post by: Nikolay on February 09, 2015, 11:52:10 PM
Hi guys,

Now i'm kind of moving towards web - decided to try moving that setup-building extension (https://visualstudiogallery.msdn.microsoft.com/68d12e2d-eb42-4847-808a-7d80863bb90d) to web as well. Nobody likes xml.
So here is a new site:

http://buildvisiosetup.azurewebsites.net

It allows build a setup (like with Visio Solution Publishing tool) in a few clicks, and completely online - no installation of anything.
You give your setup a name, upload stencils/templates, click "build" and get setup file which installs templates/stencils for Visio (i.e. start page / menu).

You can specify category\name under which the template/stencil should be visible.

Isn't it kind of cool, how many things can now be done completely online?
More or less for fun, but hope you find it useful! :)
Title: Re: Visio Publishing Tool - Online Concept
Post by: Yacine on February 10, 2015, 03:49:28 AM
As usual, very nice.
Tried it out with a simple stencil, got an error about a wrong name. Will have later a look at it.
Cheers,
Yacine
Title: Re: Visio Publishing Tool - Online Concept
Post by: Nikolay on February 10, 2015, 08:50:17 AM
For me it looks fine.. I.e. I can see your project, it seems to build and install fine?
http://buildvisiosetup.azurewebsites.net/Project/Edit/ffdfb740-57dc-4480-9e22-405a8c728f13

The point may be, now only English language (English letters) are supported.
Title: Re: Visio Publishing Tool - Online Concept
Post by: Paul Herber on February 10, 2015, 11:17:13 AM
Nikolay, that is incredible. It wouldn't have occured to me that that was possible. I suppose you must have an MS based web server, that's something I wouldn't consider.

I've just tried it out, seems to work very nicely. Would you like me to add it to my online Visio resource directory?
Perhaps you should mention that full details of what you build are open to public view.

I've always found the software licence page to be a pain in the proverbial, I do wonder why it is a compulsory step in the WixUI. Surely it would have been easy for that step to be missed out if no licence file was specified. There are many occasions when it is completely redundant i.e. building an msi file for use within your own business, I see no use for making company employees agreeing to a licence page!

Title: Re: Visio Publishing Tool - Online Concept
Post by: Visio Guy on February 10, 2015, 12:19:29 PM
This is very interesting. Now I know you did it for fun, but here's my comments--to keep the conversation going :)

1. I created a stencil + template, but I don't see the template in my Visio (2010) start page, and the stencil doesn't show anywhere in the My Shapes list. Did I do something wrong? I thought that is what the whole "solution publishing" thing was supposed to do. I must have missed a field somewhere...:)

Edit: OK, I figured it out. For each file, you can specify a category for the home screen or stencil list using a path syntax. So for "Visio Menu Name", you set, e.g.: "Visio Guy\Text on Circle Trial" instead of just "Test on Circle Trial". Now the template and stencil show up in the "Visio Guy" category and folder. Nice!

2. It installs with Nikolay's digital certificate. I can see people wanting to use their own. What are the issues with an online service signing with a personal signature, or could a user sign the MSI afterwards?

3. I can see customers being worried about their content being uploaded, but not being deleted or somehow protected. What can Azure do to make users feel comfortable that their uploaded files remain private, inaccessible or are deleted?

4. Is there a way to add Stencil group and Template group to the service? I think this is in the WiX stuff, according to Nikolay's article.

Thanks for the great test-run, really really interesting approach to a really annoying Visio deployment task!
Title: Re: Visio Publishing Tool - Online Concept
Post by: Paul Herber on February 10, 2015, 12:45:44 PM
Odd, mine wasn't signed, I certainly wouldn't expect it to be.
Title: Re: Visio Publishing Tool - Online Concept
Post by: Nikolay on February 10, 2015, 01:07:50 PM
It is a free-tier asp.net website hosted on azure (no extra anything like VPS is required actually).
The setup is compiled with WIX, it looks like you can do that from a web-application without any issues (no admin rights are required).

1. Paul, sure you can put to your list :)

2. There is no signature at all, as far as I can tell. Why would I use my certificate to sign I don't know what ? :)
Not sure if signing can be done completely online.. Also it may not be that good idea - you'll need to specify a password for the certificate. Al tough this might be okay if security is properly implemented. The setup can be signed afterwards though.

3. There is no login/user credentials support for now (it's just not implemented - can be done of course in azure, but requires some effort). It's just a test run, of course there should be some security, at least edit/delete should be allowed only to the owner.

4. License and custom wizard images are also do-able of course, but are just not implemented yet. I just tried to keep everything as simple as possible.
If you think this makes sense, it could be added!

5. Language - German letters like "รถ" (or Cyrillic etc) may cause issues (also the generated setup now is always English) this language thing can be also addressed.
Need to add language support.

Chris, what do you mean by "file groups" - did not quite get that idea?

Anyways, I'm happy that you find it useful guys! :)
Title: Re: Visio Publishing Tool - Online Concept
Post by: Visio Guy on February 10, 2015, 01:48:04 PM
Thanks for the answers. I figured out the "file groups" thing by using the path syntax: "Category\My Stencil".

The cloud is getting very interesting...even for the client!
Title: Re: Visio Publishing Tool - Online Concept
Post by: Nikolay on February 13, 2015, 01:56:37 AM
Update:

1. Account support added (you can now login/logout)
If you create a project when you are logged in (non-anonymously) then only you can edit/delete this project or files in that project.

2. License options added:
- you can specify base UI template for the installer (InstallDir/InstallDir without license/No user interface)
- you can also specify your license file, if needed instead of the standard one.
Defaults to WiX default license (CPL Version 1.0)

3. Language support added:
- Now the installer can be in any UI language WiX supports.
Defaults to English
Title: Re: Visio Publishing Tool - Online Concept
Post by: Nikolay on February 13, 2015, 02:08:54 AM
BTW.
I think this is not actually limited to Visio and can be in principle extended to provide a service to build arbitrary setups online  8)
Title: Re: Visio Publishing Tool - Online Concept
Post by: Paul Herber on February 13, 2015, 09:11:46 AM
As there is no Like button I'll have to do a
Like+1
Title: Re: Visio Publishing Tool - Online Concept
Post by: Visio Guy on February 13, 2015, 02:05:01 PM
Nikolay, you are a mad man!

(I mean that in the best possible way!)
Title: Re: Visio Publishing Tool - Online Concept
Post by: Nikolay on February 13, 2015, 09:38:45 PM
Quote from: Paul Herber on February 13, 2015, 09:11:46 AM
As there is no Like button I'll have to do a
Like+1

Now there is :D
Title: Re: Visio Publishing Tool - Online Concept
Post by: Nikolay on February 16, 2015, 10:41:56 PM
Update:

1. Added public/private support.
- If project is set to be "private" then it is only visible/editable to you only and nobody else.
- If set "public", then it is editable to you and "downloadable" to all others.

2. Added "download" link to the project list.
Title: Re: Visio Publishing Tool - Online Concept
Post by: Yacine on February 16, 2015, 11:20:19 PM
Having everything public, would have stopped most people of using it.
:)