How to Automatically Update Windows Forms Applications?

Поділитися
Вставка
  • Опубліковано 7 вер 2024

КОМЕНТАРІ • 38

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

    Find our written, step-by-step guide about the Windows Forms Application automatic updating here: www.advancedinstaller.com/automatic-updates-windows-forms-application.html

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

    Thank you very much, your guidance saved my lots of time.

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

    i need this right now. thanks for the video. new subscriber here

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

      Thank you very much, we are delighted that our content is so helpful and appreciated!

  • @diegoburciaga2187
    @diegoburciaga2187 7 місяців тому

    I have an error saying "The name 'ZipFile' does not exist in the current context" which is refering to the line: ZipFile.ExtractToDirectory(zipPath, extractPath); can anyone please explain how I can fix this?

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

      You need to add references to System.IO.Compression and System.IO.Compression.FileSystem. To do this, right-click on your project, select 'Add' -> 'Reference,' and then check the boxes next to these assemblies. Once added, include the following line at the beginning of your file: using System.IO.Compression;

  • @gavinmaynard
    @gavinmaynard Рік тому +1

    Is there a way for the app to automatically install an update when the user selects "yes" for update? Rather than having to go through the setup wizard every time?

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

      Yes, you can silently install the update. All you need to do is add the '/qn' argument to the process.StartInfo.Arguments line. '/qn' specifies there is no UI during the installation process. Hope this helps!

    • @annguyen9124
      @annguyen9124 7 місяців тому

      @@advancedinstaller tôi đã thêm '/qn' nhưng ứng dụng vẫn hiển thị cho người dùng cài đặt

    • @01freshman
      @01freshman 3 дні тому

      @@advancedinstaller doasnt work for me, can you elaborate?

  • @annguyen9124
    @annguyen9124 7 місяців тому

    Thank you very much.
    When installing a new msi, is there any way to have the application automatically reselect the installed folder?
    for example my old app is installing at "D:\ABC

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

      Hello! You can achieve this by setting the INSTALLLOCATION property through command line arguments. Thus, you can dynamically provide the install location without prompting the user to select the directory during installation. Hope this helps, good luck!

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

    I am trying the same steps for NetCore Wpf App but does not work. I can not add reference of System.IO.Compression to my NetCore app. This is the only step which is not same with the vide. I'd appreciate any help.

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

      Hello! It should be included by default in later versions of .NET Core. If it's not included in your project, you can manually add it by opening the project file (.csproj) and adding the element within the section. Then, restore the packages by running the 'dotnet restore' command in the terminal. Hope this helps, good luck!

  • @ngoijincheng6409
    @ngoijincheng6409 3 місяці тому

    thank for video it help me a lot also

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

      We are glad that you found value in our video!

    • @ngoijincheng6409
      @ngoijincheng6409 3 місяці тому

      @@advancedinstaller can i know the vb net language how to write?

  • @1Arturo26
    @1Arturo26 Рік тому

    thank u for this video , do u know if this tuto works for a windows service ?

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

      Hi Arturo! This tutorial doesn't work for a Windows service. For a Windows service, some additional steps are required.

  • @iamahmetkoca
    @iamahmetkoca 11 місяців тому

    It doesn't update when I don't start it as administrator. Is there a solution for this

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

      Hello! You can add an application manifest to your updater to request elevation, or install the app in a user-writable directory to avoid needing elevated permissions.

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

    Are we able to change the GUI of the installer to give it a certain theme?

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

      No. Unfortunately, Visual Studio has significant limitations when it comes to customization capabilities. You need to use other tools to create and fully customize your installer.

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

    This might be work with net 6/7 on all operating systems?

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

      Hello! It will work on all operating systems where the .NET version is supported.

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

    Bro Not Working For me

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

      Hello, we need more details in what didn't actually work for you. Many users confirmed the method, so it is valid. For your specific case, please address to our support team at support@advancedinstaller.com and you will receive guidance.

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

    Thank you for this tutorial but am having a bit of a problem when the setup file is big. The code get to this part ( string zipPath = @".\MyAppSetup.rar";) before the new setup has been downloaded and i get file does not exist error.

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

      Hi Peter! To address the issue in your scenario, you should use asynchronous programming to ensure that the download completes before moving on to the next step. Hope this helps!

  • @mohamedsaid1833
    @mohamedsaid1833 7 місяців тому

    Great

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

      Thank you, we are glad that you appreciate our content! Please subscribe to our channel for even more useful content we produce regularly.

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

    Does this code also works for a WPF app

  • @PANDURANG99
    @PANDURANG99 8 місяців тому

    how to us for python files?

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

      Hello! Can you please be more specific with your question? Let us know in more detail about your needs for the Python files. Thank you!

    • @PANDURANG99
      @PANDURANG99 8 місяців тому

      @@advancedinstaller notification for upgrade to latest version