tag:blogger.com,1999:blog-985159635193633235.post127332186878346811..comments2024-03-25T00:30:02.127-07:00Comments on ISWIX: DTF Bug with new Windows 10 Apps and FeaturesChristopher Painterhttp://www.blogger.com/profile/12167478740431444267noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-985159635193633235.post-44147908273911983442016-09-15T06:18:49.932-07:002016-09-15T06:18:49.932-07:00Hello, I have run into the same issue and finally ...Hello, I have run into the same issue and finally came with this solution:<br />Win 10 Apps & Features uninstaller checks for the WindowsInstaller registry value and behaves correctly when this value is not present <br />1) Define the custom action<br /> <CustomAction Id="DeleteWindowsInstallerValue" Return="ignore" Directory="TARGETDIR" Execute="deferred" Impersonate="no"<br /> ExeCommand= "reg.exe DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode] /v WindowsInstaller /f" /><br />2) schedule the action in the InstallExecuteSequence<br /> <Custom Action="DeleteWindowsInstallerValue" Before="InstallFinalize"/><br /><br />HonzaAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-985159635193633235.post-90051945265713450722015-11-11T05:32:09.901-08:002015-11-11T05:32:09.901-08:00I've run into the same issue (see here: http:/...I've run into the same issue (see here: http://stackoverflow.com/questions/33415188/windows-10-msi-uninstall-fails-with-1721?noredirect=1#comment55066099_33415188). It happens with VS2010 Setup projects as well. Also, it is not isolated to RunDLL; pretty much every command will fail.Marchttps://www.blogger.com/profile/00085229925507287706noreply@blogger.com