安装或卸载visual studio会导致错误=“Setup Engine,参数不正确”。 [英] Installing or uninstalling visual studio results in the error = "Setup Engine, the parameter is incorrect."

查看:202
本文介绍了安装或卸载visual studio会导致错误=“Setup Engine,参数不正确”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!
$


我一直在使用(并且仍然想使用)Microsoft Visual Studio 2015企业作为我的学士学位。

长话短说。我一直在尝试使用Visual Studio在Xamarin中制作应用程序,这使得我的C盘满了。想要在不同的驱动器上重新安装Visual Studio以释放一些空间。卸载程序,在线阅读它不能在另一个驱动器上安装
(我错了),所以我再次在C盘上安装了程序。但是因为我的iso(3gb)下载文件在我的下载文件夹中(在C盘上), 安装向导说我没有足够的磁盘空间。更改了
iso文件的位置,并再次尝试。

现在,当我尝试安装程序或卸载程序时,我收到错误消息:"Setup Engine,参数是不正确的" (翻译自挪威语。)

Hi!

I've been using (and still want to use) Microsoft Visual Studio 2015 enterprise for my bachelor assignment.
Well long story short. I've been trying to make an app in Xamarin using Visual Studio, which made my C drive full. Wanted to re-install Visual Studio on a different drive to free up some space. Uninstalled the program, read online that it couldn't be installed on a different drive (I was wrong), so I installed the program on the C drive again. But since my iso (3gb) download file was in my download folder (on the C drive),  the installation wizard said I didn't have enough disk space. Changed the location of the iso file, and tried again.
Now, when I try to install the program or uninstall the program I get he error message: "Setup Engine, the parameter is incorrect" (translated from norwegian).

当我关闭此消息时,会弹出另一条消息:

" Microsoft visual studio enterprise 2。 ..

安装程序在操作期间检测到已发出。请点击下方查看解决方案,并帮助我们以
改善设置体验"。

When I close this, another message pops up:
"Microsoft visual studio enterprise 2...
Setup detected an issued during the operation. Please click below to check for a solution and help us
improve the setup experience".

还有一些挪威文字,翻译为:"问题导致程序停止工作。该程序将关闭,当解决方案可用时,您将收到通知"。"


我在使用Visual Studio支持聊天之前和之后尝试过这样做:https://connect.microsoft.com/VisualStudio/feedback/details/974081/visual-studio-update-3-installation-keeps-failing-error-message-setup-engine-the-parameter-is -incorrect

Also some text in norwegian underneath, translated to: "A problem caused the program to stop working. The program will shutdown, and you will be notified when a solution is available".

I've tried doing this before and after chatting with Visual Studio support: https://connect.microsoft.com/VisualStudio/feedback/details/974081/visual-studio-update-3-installation-keeps-failing-error-message-setup-engine-the-parameter-is-incorrect

前两个命令给出错误消息:"此操作仅对当前安装的产品有效"。

The first two commands gives the error message: "This action is only valid for products that are currently installed".

最后一个一个转换为:"无法打开安装包。检查软件包是否存在(或路径?)并且您有权访问它,或者联系programdeveloper以确保这是一个有效的Windows安装程序包"。$


支持聊天告诉我按照以下步骤操作:

1 - 下载并按照卸载工具的说明操作:https://github.com/Microsoft/VisualStudioUninstaller/releases

2 - 在您的计算机上运行磁盘清理程序,包括清理注册表。

3 - 下载新安装程序但不运行:https://www.microsoft.com/ en-us / download / details.aspx?id = 48143

4-执行以下指南:

1. Windows最新版本
2暂时禁用任何防病毒/防火墙(包括Windows Defender)安装程序需要无障碍访问互联网

3.清理%temp%文件夹(C:\ Windows \ Temp)

4.右键单击安装程序,然后选择"以管理员身份运行";



我相信我做得对,因为我的C盘现在有更多的可用空间,但不知怎的,程序仍显示在Controlpanel中 - >卸载程序



The last one translates to: "Could not open installation package. Check that the package exists (or path?) and that you have access to it, or contact programdeveloper to ensure that this is a valid Windows-installer package".

The support chat told me to follow these steps:
1 - Download and follow directions for Uninstall tool: https://github.com/Microsoft/VisualStudioUninstaller/releases
2 - Run a disk cleaner on your machine, include cleaning the registry.
3 - Download a new installer but do not run: https://www.microsoft.com/en-us/download/details.aspx?id=48143
4- Implement these guidelines:
1. Windows up to date
2. Disable any anti-virus/firewall temporarily (this includes Windows Defender) Installer needs unobstructed access to internet
3. Clean up the %temp% folder (C:\Windows\Temp)
4. Right click on installer and select "Run as Admin"

I believe that I've done this right, since my C drive now has more free space, but somehow the program still shows up in Controlpanel -> Uninstall Program

日志文件出错:[39F0:03FC] [2017-03-03 -14T15:43:33] e000:错误0x80070057:无法转换版本: 到ProductCode的DWORD64:{BB0D9EE5-F7B1-4986-AF62-DB3BED9A83BC}

[39F0:03FC] [2017-03-14T15:43:33] e151:程序包检测失败:vc_CompilerX64NatRes_enu_D12,错误:0x80070057

Error form the logfile: [39F0:03FC][2017-03-14T15:43:33]e000: Error 0x80070057: Failed to convert version:  to DWORD64 for ProductCode: {BB0D9EE5-F7B1-4986-AF62-DB3BED9A83BC}
[39F0:03FC][2017-03-14T15:43:33]e151: Detect failed for package: vc_CompilerX64NatRes_enu_D12, error: 0x80070057

我尝试用图片发布此内容,以便更容易阅读,但被告知我不能这样做,因为我的帐户未经过验证。

I Tried posting this with pictures so that it would be a easier read, but was told that I couldn't do that because my account wasn't verified.

我希望有人可以帮助我!我已经尝试了我能想到的一切。



谢谢!

I hope that someone here can help me! I've tried everything I could think of.

Thanks!

推荐答案

您好tobbasdf,

Hi tobbasdf,

感谢您在MSDN上发帖。

Thank you for posting in MSDN.

如果您想发布图片或链接,请在
验证您的帐户38

If you want to post the pictures or link, please ask for a requirement in Verify Your Account 38.

根据您的说明,此问题的原因在安装路径系统 参数搞乱时挂起。如果您还使用磁盘清理器,则计算机的Windows Installer产品注册已损坏。根本原因是注册表和操作
系统问题。我担心简单的修复也行不通。

From you description, the cause of this issue is pending on install path system parameter messing up. If you also use the disk cleaner, your machine's Windows Installer product registration is corrupt. the root cause is about registry and operating system problem. I'm afraid that a simple repair won't work either.

你最好先去Windows更新中心安装最新的更新,除了VS 2015,请你直接试试最新的Visual Studio 2017来自:
https://www.visualstudio.com/downloads/ ,而不是以前破了VS。

You had better go to Windows update center to install the latest updates first, besides VS 2015, could you please directly try with the newest Visual Studio 2017 from: https://www.visualstudio.com/downloads/ , to instead of the previous broken VS.

最好的问候,


这篇关于安装或卸载visual studio会导致错误=“Setup Engine,参数不正确”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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