How to automatically update an application without ClickOnce?

后端 未结 5 1018
别那么骄傲
别那么骄傲 2020-11-29 23:05

For the project I am working on, I am not allowed to use ClickOnce. My boss wants the program to look \"real\" (with an installer, etc).

I have installed Visual Stud

5条回答
  •  日久生厌
    2020-11-29 23:30

    This is the code to update the file but not to install This program is made through dos for copying files to the latest date and run your program automatically. may help you

    open notepad and save file below with ext .bat

    xcopy \\IP address\folder_share_name\*.* /s /y /d /q  
    start "label" /b "youraplicationname.exe"
    

提交回复
热议问题