Visual studio 2013 Inno安装程序正在卸载未安装Visual Studio 2013的应用程序

Visual studio 2013 Inno安装程序正在卸载未安装Visual Studio 2013的应用程序,visual-studio-2013,inno-setup,rundll32,Visual Studio 2013,Inno Setup,Rundll32,在我的注册表中,应用程序的卸载字符串的值为: rundll32.exe dfshim.dll,ShArpMaintain 3sunptk.application, Culture=en-GB, PublicKeyToken=077ce3637efc8b1c, processorArchitecture=msil 在运行部分的“Inno设置”脚本中,我有: Filename: "rundll32.exe"; Parameters: "dfshim.dll,ShArpMaintain 3sunpt

在我的注册表中,应用程序的卸载字符串的值为:

rundll32.exe dfshim.dll,ShArpMaintain 3sunptk.application, Culture=en-GB, PublicKeyToken=077ce3637efc8b1c, processorArchitecture=msil
在运行部分的“Inno设置”脚本中,我有:

Filename: "rundll32.exe"; Parameters: "dfshim.dll,ShArpMaintain 3sunptk.application, Culture=en-GB, PublicKeyToken=077ce3637efc8b1c, processorArchitecture=msil,1"; StatusMsg: Uninstalling older version of Personal Timekeeping
但是,这不会删除应用程序,为什么

参数末尾的1指示卸载以静默模式运行,这似乎是问题所在,因为这似乎取消了安装,因为这是所选的默认按钮。删除、1并选择“确定”按钮可修复此问题

因此,现在的问题是,如何在静默模式下卸载,但在默认情况下选择“确定”按钮?

没有(可靠)的方法静默卸载ClickOnce部署的应用程序。最后,我删除了使卸载可见的参数末尾的“、1”,并且我能够确保将其正确删除。