相关疑难解决方法(0)

在不使用msiexec的情况下从命令行卸载MSI文件

msiexec是安装MSI程序的命令提示符软件.但我发现只需在命令行输入MSI文件的名称,就可以从命令行安装MSI文件.

但是为了卸载MSI文件,你似乎必须调用该msiexec程序并给它一个/x/uninstall.

如何在不使用msiexec例程的情况下从命令行卸载MSI ?

.net installation command-line windows-installer msiexec

54
推荐指数
3
解决办法
25万
查看次数

如何卸载Azure SDK for .NET 2.5?

我从这里下载了Azure SDK for .NET 2.5 , - "创作工具","Azure工具"和"libs for .net"软件包,并一个接一个地安装它们.安装成功,Visual Studio 2012甚至提供了以后迁移我的.ccproj项目.

问题是它们不在"添加/删除"程序列表中(SDK 1.8组件在该列表中),所以我不知道如何开始卸载SDK.

如何卸载这些东西?

uninstall azure visual-studio-2012 azure-sdk-.net

17
推荐指数
4
解决办法
1万
查看次数

为什么MSI需要原始.msi文件才能继续卸载?

正如大多数人可能注意到的那样,当卸载MSI软件包时,Windows将要求提供原始.msi文件.这是为什么?

我只能看到它的缺点:

  • 不适应网络变化.
  • 不适应本地磁盘更改.
  • 用户意外.
  • 通常要求用户离开他们的办公桌并开始讨伐以获得正确的CD.
  • 有点证明装置不是独立的.
  • 促进使用msizap等不安全工具.
  • 这反过来促进了"下一次我只会使用zip文件"的心态.

有人可以对此有所了解吗?

installer windows-installer uninstall msiexec

13
推荐指数
1
解决办法
1万
查看次数

以编程方式使用C#卸载软件

我想通过使用我的代码卸载软件,我已经尝试过wmic方法来执行卸载,但它无法在系统中找到我的软件.是否可以在不使用msi文件或任何设置文件的情况下卸载.我找到了这段代码,但它不起作用---

public string GetUninstallCommandFor(string productDisplayName)
{
    RegistryKey localMachine = Registry.LocalMachine;
    string productsRoot = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products";
    RegistryKey products = localMachine.OpenSubKey(productsRoot);
    string[] productFolders = products.GetSubKeyNames();

    foreach (string p in productFolders)
    {
        RegistryKey installProperties = products.OpenSubKey(p + @"\InstallProperties");
        if (installProperties != null)
        {
            string displayName = (string)installProperties.GetValue("DisplayName");
            if ((displayName != null) && (displayName.Contains(productDisplayName)))
            {
                string uninstallCommand = (string)installProperties.GetValue("UninstallString");
                return uninstallCommand;
            }
        }
    }
    return "";
}
Run Code Online (Sandbox Code Playgroud)

c# uninstall

11
推荐指数
2
解决办法
2万
查看次数

为什么Windows安装程序每次启动时启动Visual Basic 6

它在我的机器上使用随机应用程序启动Windows安装程序..点击取消几次后,它加载vb6罚款.

任何想法为什么会这样?

vb6 windows-installer

5
推荐指数
2
解决办法
1万
查看次数