And in the following video i'll also give a detailed walkthrough on how to deploy office solutions for both document level projects.
As well as for the add-ins so before we get started if you haven't please do not forget to subscribe and hit the bell icon for upcoming videos.
First you can verify if you have the installer projects ready by going by creating a new project and from the search you just type in setup and hit enter if you see this set.
Up projects that means you're good to go otherwise you can go to marketplace.visualstudio.com i'll leave the link in the video description.
So basically what you'll have to do is you have to go to this page you click on download so once you click on download uh it'll go to your.
Okay and that that will be it you should be able to see it from giving your projects after that since i already uh have it i'm not gonna reinstall it.
Okay so here's the vsix file so you just need to you know like right click install follow the instructions very simple so once you're done just restart close your visual studio.
And start again okay okay so to demonstrate this i'm going to create a brand new project um let's create a winform project i'm going to call this 1x and this will.
Be in my youtube directory and creed let's give it a moment i'm just going to change some basic stuff um.
Okay first f4 i'm gonna just name this s1x deploy demo something like that and let's change the icon as well so i'm going to do our documents ico.
And this okay
And let's add label something to differentiate the version version 1.0 okay let's load this up ctrl.F5 starting to build okay so here's our phone okay maybe we'll just change how it looks up okay so just a basic form like this uh.
Now i'm gonna assign uh the present you can change the icon here as well but it won't show the impact so i'm just gonna go to.
Signing just to make sure that uh it's not altered so i'm gonna create a the test certificate now if you have existing certificate you can select done.
Okay so here is our tam key i'm going to assign this assembly using that okay and that's it save it um if you use click once to.
Deploy you know like dot net solutions like i mean even for for you know like win applications you can still do it it's quite useful.
But for now we're gonna use the installer i'm gonna build or you can go here and build as well like this okay so all good.
Now i'm gonna right click on this solution and add and then click on new project and from here now you can search for setup.
And you can use the wizard as well and then do it but for now we're gonna just use this okay um just name of the project for the setup.
Now this will be in the same folder as
This okay so if i go to folder yeah this folder is the wonder i'll project this and if you go in here you'll see the.Project is added here in the same folder now first thing uh this is for application folder now i'm gonna add primary output and then we'll create two circles one.
For program and one program menu which is for here and then at the desktop as well um i'm gonna import the logo first let's add this as our demo logo and then.
I'm going to create a sort good now you can rename this to how you want it to appear um the name of the shortcode i'm gonna drag this into the desktop folder.
Now it's here coming back here creating one more shortcut from the primary output click ok i'm gonna keep the name consistent and then i'm gonna drag it here to.
Programs okay uh one more thing we can do here is we can add f4 we can add um the icon for this as well.
Now browse and select the one that was uploaded here um this robot.ico is the one i uploaded yep click ok ok do the same thing for the one which is here.
Okay and okay so that's gonna be pretty much it from here as we go back here um a couple of things that we can change here the author.
Uh it comes pre-filled i'm gonna add vba e to that uh and then manufacturer i'll just show you in a moment how where this is going to reflect product.
Name can be this linux and then maybe support url can be um give me one second okay so for the.
Support url i'm gonna paste the youtube you know like just the youtube link and then you can change all this other information but the.
The product name and the manufacturer is something you want to update and i'm gonna leave the rest of this as it is okay uh what else.
So we've done here okay so i'm just gonna ensure you know like the latest things are incorporated i just rebuild this.
Project and then i'm gonna build this one it's the first time i'm building this um okay still building just give it a moment.
Okay so bill succeeded um and it's ready one more thing like before you create this before you build this you can uh go here and select all the prerequisites.
That you know like uh some of them are pre selected here for example and then you can choose from where it's gonna download uh this one uh for this you'll need the.
Users to have the internet otherwise this will fail otherwise you can also specify the location from where it's gonna download this okay so go.
Go for this and just click okay for this and then um as you go here i'm going to check this box and we want this setup to be in the.
Release folder and then i'm going to click okay i'm gonna leave this as well as in release okay i'm gonna save it once more.
And then rebuild okay so to succeed and now if i go here you can directly install from here and check it as well or you can open the.
Folder okay so if you go to release folder you'll see two files one is the msi and then the exe file so you can run either of them actually.
To install it so i'm going to quickly demonstrate that now right click install so here you see the the app name.
And then here as well here you can specify the folder where it's going to be installed and then yeah just me for now and then click next and next.
I'm gonna go to my control panel and so once it's installed we should be able to see it here let's give it a moment and done.
Okay so it's done click close and now we should be able to see here i'm just press f5 so here's the publisher that we put in the name of the product.
And this is the version the size installed on and here you see the held url so once they click here it will lead them to the link that you put in and then.
If we go to desktop this is the application we just installed now if i run this probably my antivirus is gonna okay so this is the one we just created now.
Similarly if you go to your programs you should see this here it's the one okay now if you go here and just uninstall this.
All these relevant data should be removed from here as well as from here again okay so you can see like it automatically clear off.