Flutter Tutorial - Build exe file for Flutter Windows Application

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi welcome to fluttershy today we are going to learn how to build the uh shareable exhibitor file of flutter project and before that if you haven't subscribed the channel please subscribe and press the bell icon to get notified and upcoming videos and then in this tutorial uh we are going to build the executable file of this demo project we have this uh button and we have this uh account soon and for that i have already have my project created windows app uh created and then to create the executable file we need to have the release executable file and for that we are going to we must have to run sorter build windows and this creates the release x012 executable file and it may take some time and for building our shareable executable file we are going to use the inno setup downloader uh compiler and for that you can download this as software from the jr software.org and you can find this link in this description below and and after going on this link and you find this uh section uh you know set up that 2.1. exe and then select on this sides and click on any of the link for now i selected the random site and you will have your this software downloaded install it you need to have this project installed and so that double click on this and you will have the prompt open and to open to install the project software and i already have this uh software installed so i will cancel it for now and uni after uh installing this you know setup compiler we click double click on this software and open this and then we select on create or new script file using the script wizard after selecting uh checking this uh uh create a new script file we click on ok and then we again click on next and then our application name would be uh water junction test and then application version 1.0 and publisher that is plot assumption and you can also input your application website for now i'm i'm going to delete this website you can install your website here and then click on next and then application destination base folder that means where our project will be installed after creating the executable file that means our program files available that means we are going to save this executable file created on the program files folder and then we click on next again and then application main executable file and then the entire file we created running this flatter view window is found in our project and then click on build windows and then runner and release and here we have this executable file and then we have to browse it here i'm going to copy this url and paste here and then we have we select this test windows app and click on ok and then we need to add our files and folder that are presented in this release folder and without this our application won't run so we need to open um add these files and folders in this release folder so we select on your files and then we select the floater windows.dll and after when the project is bigger you will have this uh files different files you need to select all these files so that our project gets installed easily so and then we click on open and again we have this data folder in this release so we need to add this data folder also and we again go into our inner setup and then we click on add folder and then we go to this tedious uh process go to finder project this is my project test windows app build windows runner build windows runner and then release and we have this data your project build windows runner release navigate to this folder from here and then we select this data folder and click on ok and we have this prompt files in subfolder of this and we select yes and this and then we need to install this data on our uh folder when installing and for that we give the destination subfolder data the same name we have here and then we select okay don't forget we need to double click on this folder data and then give the destination subfolder and then click on ok right now we then click on next and our application file name will be and we don't need this associated file to main executable we uncheck this as uh option then we click on next and then create a shortcut and we then we again click on next and license file this means uh if your application needs a license file you need to add this uh documents in this license file and other informations regarding your application right and i don't need i don't have any documentation or license file for this project so i leave this empty and then click on next and then enter neutral intel mode and then we click on next and our language and we click on next and com custom compiler output folder in this folder we are going to save our executable file generated from this script running so we create the folder in our root project new folder and then name it installer and inside this installer we are going to save our generated executable file shareable executable file and then we click on browse again we have to go to this tedious process find your project my project is test windows app and then and then we select the folder that we created before this installer folders installers and then we click on okay and our output base name would be i would say test application and then our i can file the uh logo or any icon of this application so i click on browse for that we need to have ico file and i have the ico file on the desktop i select and then open and then set up password if you need to set up the password uh you need to you can enter the password here i don't need any set of password so i click on next and then we again click on next and then finish and you will have this uh dialog open and then we again click on next and click on yes and then we are going to save this iss file on our same application we created a folder we created before on our root application this is installers we are going to save our iss file now name it my exe iss and then save and it may take some time to get our script compiled right we have our executable file generated and you can see this test application and this application can be installed or shared shared with your friends and you can publish it on the windows register also and then when we install it again and then photo junction test yes creation yes next install and then finish now we have our file installed and it's working fine and to see if our project uh is installed application executable file is installed or not we go we navigate to our control panel and then we can see here our find our application shorter junction test version 1.0 and we have our project installed on our computer fine this much for today i i thought i think you have learned how to create the exe file from this tutorial and if you have any queries regarding this tutorial please ping me and comment section and if you have if you like this video don't forget to like comment and subscribe and share it with your friends and thank you
Info
Channel: Flutter Junction
Views: 16,821
Rating: undefined out of 5
Keywords: flutter, flutter tutorial, demo projects, learn flutter, dart, flutter video, flutter projects, projects in flutter, flutter basics, flutter fo beginners, learnflutter, basic in flutter, programming, learn programming, programming for beginners
Id: 1J6P6L-vH9s
Channel Id: undefined
Length: 11min 8sec (668 seconds)
Published: Mon Sep 19 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.