使用Visual Studio 2013在旧版本上安装新版本的部署项目,而不使用clickonce [英] Installing a new version of a deployment project over old version using visual studio 2013 with out clickonce

查看:86
本文介绍了使用Visual Studio 2013在旧版本上安装新版本的部署项目,而不使用clickonce的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

i使用visual studio 2013创建了一个Windows窗体应用程序。之后我使用Installshield Limited Edition(安装和部署)创建了安装文件。

这里安装工作正常,但在这里我的问题是当我更新新版本并创建安装文件,并安装新版本旧版本自动卸载和新版本将安装。我尝试了很多方式更改产品ID,升级代码,但它不工作。但大多数文章它的Removepreviousversion设置为true。但我检查了我的安装项目属性,但该属性没有显示。

任何人都可以请你分享解决方案我。

你能否分享一下将获得Removepreviousversion属性的地方。



我的尝试:



我试图更改产品密钥和升级代码但是它不起作用我试图找到RemovePreviousversion属性。但是在我的projectsetup中没有显示。我尝试选择项目设置并按f4它没有显示该属性。并尝试右键单击并选择属性,它也没有显示。

Hi All,
i have created one windows form application using visual studio 2013.After that i created Setup file using Installshield Limited Edition(Setup and Deployment).
Here setup is working fine but here my issue is when i update new version and create setup file,And installing new version the old version automatically uninstalled and new version will be installed.i tried so many ways changing product id,upgrade code but it's not working.But most of the articles it's Removepreviousversion set to true.But i checked my setup project properties but that property is not showing.
Any one could you please share the solution to me.
could you please share where will get the Removepreviousversion property.

What I have tried:

I tried to change the product key and upgrade code but it's not working i was tried to find the RemovePreviousversion property.but in my projectsetup is not showing.i tried select the project Setup and press f4 it's not showing that properties.and tried right click and select properties there also it's not showing.

推荐答案

您是否考虑过使用 ClickOnce [ ^ ]而不是Installshield Limited Edition(设置和部署)?



上个月我写了一篇关于 Winform的安静ClickOnce安装程序& WP#中的WPF& VB [ ^ ]。这将在用户使用应用程序时透明地执行您想要的操作。
Have you thought about using ClickOnce[^] instead of Installshield Limited Edition(Setup and Deployment)?

I wrote an article last month about Silent ClickOnce Installer for Winform & WPF in C# & VB[^]. This will do what you want transparently whilst the app is being used by the user.


这篇关于使用Visual Studio 2013在旧版本上安装新版本的部署项目,而不使用clickonce的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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