How to create a Setup.exe file in Visual Studio 2022

Поділитися
Вставка
  • Опубліковано 26 лип 2024
  • In this video, we will show you how to create an EXE file using Visual Studio 2022 (it will be a similar process for VS 2019 too).
    Our full written guide on the creation of an EXE installer with Microsoft Visual Studio can be found here: www.advancedinstaller.com/cre...
    00:00 - Intro
    0:13 - Install the Advanced Installer extension: www.advancedinstaller.com/vis...
    0:33 - Close and reopen the Visual Studio IDE
    0:52 - Create the Windows Forms application and add it to your project
    2:26 - Add the project output. You can include the necessary files and dependencies of your application within the project
    2:48 - Create the package as a single EXE file with all resources included
    3:09 - Create a desktop shortcut for our application
    3:37 - Build the installer project and generate the EXE file in Visual Studio
    ▬▬▬▬▬▬ PacKit - New Tool Highlight ▬▬▬▬▬▬
    Discover PacKit, the essential free tool for all packagers. Efficiently manage, update, and upload your packages. Troubleshoot and deploy directly to Intune or MECM (former SCCM).
    Check out PacKit now: www.advancedinstaller.com/pac...
    ▬▬▬▬▬▬ MSI Packaging Training & Certification📚 ▬▬▬▬▬▬
    New from Advanced Installer: MSI Packaging Training and Certification - the first free training and certification program in application packaging industry.
    Get trained and certified for free: www.advancedinstaller.com/app...
    Developed by our subject matter expert, Alex Marin, a professional with over 10 years of experience in application packaging and training of application packaging teams, this program focuses on the practical side of the MSI application packaging.
    The program resources you get are:
    ‣ 196 pages of must know theoretical concepts
    ‣ 27 practical demos most commonly encountered în practice
    ‣ Free professional certification based on passing a 51-question exam.
    ▬▬▬▬▬▬ FOLLOW US ▬▬▬▬▬▬
    ✔ T W I T T E R ‣ / advinst
    ✔ F A C E B O O K ‣ / advancedinstaller
    ✔ L I N K E D I N ‣ / advancedinstaller
    ✨ Advanced Installer is an all-in-one Application Packaging Tool for Software Developers and IT Professionals.
    Designed for building MSI , MSIX AppX, and App-V packages, deploying applications updates, repackaging, and MSI/MST editing.
    ▬▬▬▬▬▬ FOR MORE INFORMATION ▬▬▬▬▬▬
    ‣ Learn more: www.advancedinstaller.com
    ‣ Try it out: www.advancedinstaller.com/dow...
    ‣ User Guide: www.advancedinstaller.com/use...
    ‣ Contact us: www.advancedinstaller.com/con...
    ✨We hope you enjoyed this video! Thank you for watching!
  • Наука та технологія

КОМЕНТАРІ • 24

  • @advancedinstaller
    @advancedinstaller  6 місяців тому

    See our written, complete tutorial on how to create a Setup.exe file in Visual Studio: www.advancedinstaller.com/create-setup-exe-visual-studio.html

  • @oleggr30
    @oleggr30 35 хвилин тому

    When pressing "Add Project Output" only "Publish Profile" found and nothing more.

  • @marvinw.
    @marvinw. Рік тому +1

    Awesome, thanks for the video!

  • @zekegod7771
    @zekegod7771 Рік тому

    Thanks! Very helpful

  • @omarrahim673
    @omarrahim673 5 місяців тому +1

    Our dear professor, we thank you for this effort. Good luck and success. Please, I have a question. I have completed a project containing employee data and an image in the Access database with Visual Basic. When I package the project, I receive an error message: Access to the image path is denied.

    • @advancedinstaller
      @advancedinstaller  5 місяців тому

      Hello! There are more possible causes for your error, please contact our support team at support@advancedinstaller.com and provide them with more details about your issue. You will get help there.

  • @ocramkd
    @ocramkd Місяць тому

    the antivirus keep finding an fileRepPup when I install the program on the pc by the extension on vs, what should i Do

  • @OoOoOoOoOoOoO00O0O00
    @OoOoOoOoOoOoO00O0O00 6 місяців тому +1

    Can this program also be used as an automatic update? Like ClickOnce Update

    • @advancedinstaller
      @advancedinstaller  5 місяців тому +1

      Yes, Advanced Installer supports automatic updates for Windows applications and provides a variety of features to streamline the update process. It includes an updater whose roles are to check for updates, notify the user, and offer to download and install them.

  • @kevinback7034
    @kevinback7034 5 місяців тому

    Advanced Installer work only for small projects under 2GB ,over this limit i run into problems. this software cost a lot of money , but there are so many simple function that i miss. i work on a UE game , i use this software to make my installer but now the test game has 10Gb and the software can not handle this size of downloads.i try diffrent solution that i got from the support ,nothing works. the last try was to use now the lzma compresssion but there you can not make multiple volums , it make only 1 7zip file. nice now you have a big file that need to downloaded and extract later. this take so manny time. it is not usable. now i start to write my own installer in VS2022.

    • @advancedinstaller
      @advancedinstaller  4 місяці тому

      Hello! Please note that the 2GB limit for CAB file is in Windows Installer installer, not in Advanced Installer. Also, Windows will not load an executable file that is larger than 4 GB (second limitation unrelated with Advanced Installer).
      If your installation package needs to include more data e.g. 10GB as you mentioned, the next option is indeed storing the resources online and download them at install time. Avoid using Windows Installer support and have your own custom logic managed through custom actions.
      In the Custom Actions view, you're provided with the flexibility to configure multiple custom actions that can be executed asynchronously. For instance, consider a scenario where you need to manage a 10GB file. This file could be divided into 10 separate archives, each 1GB in size. Each custom action will download an extract one zip/archive file.
      Regarding the implementation of custom actions, you can leverage from PowerShell scripts to C# or .Net Core custom action.
      For further specific assistance regarding your outlined aspects, please contact our Support department at support@advancedinstaller.com

  • @wgofficial4115
    @wgofficial4115 Рік тому

    Hello Advanced installer. When im building my setup in Advanced Installer app, the output keep saying "Detecting MSI incompatible resources". What does it mean, sir?
    Prepare build
    Detecting MSI incompatible resources
    Preparing files
    Creating LZMA archive
    Creating MSI database
    Writing Summary Information

    • @advancedinstaller
      @advancedinstaller  Рік тому

      Hello, could you please write us an email ticket at support@advancedinstaller.com and give us more details about the current issue you are facing with? We'll be dealing with your issue there. Thank you!

  • @DRAGORYA
    @DRAGORYA 2 місяці тому

    can you make a tutorial but with Java script, CSS and HTML instead please!

    • @advancedinstaller
      @advancedinstaller  2 місяці тому

      Hello! We have a guide on how to deploy a React application (so JS) on a web server: www.advancedinstaller.com/user-guide/qa-react-app-iis-deployment.html - let us know if this is what you were interested into.

  •  Місяць тому

    Why do all anti-virus programs detect every .exe file made with this application as a virus?

    • @advancedinstaller
      @advancedinstaller  Місяць тому

      This kind of false-positive detection sometime occur and the only way to deal with them is to first make sure your application is digitally signed with a code signing certificate (EV code sigining is even better).
      Then, you need to contact all the antivirus vendors that flag you and submit a false positive take down request. We explain this with more details in the following article: www.advancedinstaller.com/false-positive-virus-detection.html

  • @stevemichael8186
    @stevemichael8186 9 місяців тому +2

    Except you have to pay to be able to do this

    • @advancedinstaller
      @advancedinstaller  9 місяців тому

      Hi Steve, thank you for your interest and feedback! It is true that building an EXE setup needs a Professional license, but if you choose to package an MSI you can do it with the free license. We would like to assure you that our Advanced Installer Professional is worth every penny. By paying the Professional license, you won't be limited to do just the things you see in this video. This is only a part of the large list of features you gain access to through a Professional license, list that you can find here: www.advancedinstaller.com/top-professional-features.html

  • @erikbrownpi1160
    @erikbrownpi1160 4 дні тому

    Nice tutorial. But just one comment. Or question. Why do you talk so fast? If the purpose of the video is to teach then it would be very useful if you give the viewer the time to understand what you are saying and follow what you are doing. So talk a bit slower and move your mouse slower so that the viewer can clearly see what you are doing.

  • @sethngo2924
    @sethngo2924 5 місяців тому

    Going way too fast, very hard to follow!!!!

    • @advancedinstaller
      @advancedinstaller  4 місяці тому

      Thank you for the feedback! We try to be as explicit as possible without making long videos, specifically to be easier to follow by our audience. We will think of a way to offer the right balance.