更新时动态设置默认位置setup.msi visualinstaller [英] Dynamic set default location setup.msi visualinstaller when update

查看:64
本文介绍了更新时动态设置默认位置setup.msi visualinstaller的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用visual studio和c#创建了一个应用程序。当应用程序检测到新版本时,它将从服务器下载新版本以进行更新。我想更改默认位置(TARGETDIR),因为在我的窗口中,如果我选择了与默认位置不同的安装文件夹,则更新文件不会更改。



< b>我尝试了什么:



请告诉我这个问题的任何解决方案

解决方案

< blockquote>听起来你需要一个:



简单自动更新:让您的应用程序使用2行代码更新自己 [ ^ ]


I create a application with visual studio and c#. When application detect new version it will download new version from server to update. I want to change default location (TARGETDIR) because in my window if I chose a installation folder which is difference with default location then update file isn't change.

What I have tried:

Please tell me any solution for this problem

解决方案

Sounds like you need a:

Simple Auto-Update: Let your application update itself using 2 lines of code[^]


这篇关于更新时动态设置默认位置setup.msi visualinstaller的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆