English 中文(简体)
视力包装: 该产品的另一种版本已经安装。
原标题:Visual Studio Packaging: Another version of this product is already installed

我为使用C# &、Jscript的项目创造了一个 m。 版本-1.0目前已经公布。 我想发表一套装饰版本,即这一包件中的1.0.1,但在测试时,我正在“这一产品的另一种版本已经安装,无法继续安装。 没收或删除这一产品的现有版本,使用控制小组的Add/取消方案”。

I want this bug-fixed version to install silently without asking user to uninstall and install new one. Please help me how can I achieve this, I am using visual studio 2008.

预言

Sam

最新情况:我尝试修改一揽子守则,但利用同一工作名录,造成一揽子方案的两个例子。 视频演播室热器请提供帮助。

最佳回答

我将遵循这一进程。

主要项目

  • Increment your Assembly Version no.

在你的视觉演播室安装项目

  • Set "Remove Previous Version" to true
  • Increment the Version No. (this will change the product code for you too)
问题回答

解决错误的步骤:

  1. Execute the following command from command prompt:

msiexec /i program_name.msi /lv logfile.log

方案名称

/%

  1. 开放日志。 编辑记录

  2. 记录中发现GUID。

我发现:

Product Code from property table before transforms: {GUID}

  1. 在指挥视频演播室迅速<>/strong>后执行 如果你已经安装或从微软网站获取,

msizap.exe TWP{GUID}

它做了trick,并成功地拆除了已安装的服务。

Extract from [SOLVED]Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel]2

你们必须具体说明产品升级和增量,以更新产品。 新版本的升级将保持不变。

升级后财产是指由同一产品不同版本和不同语文版本组成的相关应用家庭。

本条解释了产品质量、产品变造和升级:

http://msdn.microsoft.com/en-us/library/a3708 37%28v=VS.85%29.aspx

Open Setup Project Properties Click ProductCode .. New Code Click UpgradeCode .. New Code Rebuild and Install





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...