Inno Setup: Exec can't read string?

本秂侑毒 提交于 2019-12-06 13:01:45

I don't know if you already did the MsgBox to determine the exact string in the registry for the UninstallString but in the registry the normal string is "C:\Windows\unins000.exe".

Note the extra " around the command.

When using Exec with the " around the command you get a ResultCode 267 which is an invalid directory error. So you need to strip them before the Exec.

When you entered the C:\Windows\unins000.exe manually in Exec you conveniently forgot them ;)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!