[InstallShield]ExistsDir无法找到文件夹

最近在研究InstallShield,今天用到ExistsDir,怎么写都无法找到文件。

9.8  ExistsDir
语法:ExistsDir (szPath);
说明:ExistsDir函数在目标系统上检测指定目录的存在性。
参数:
szPath
指定要在目标系统上找到的目录的全限定路径。
返回值:
EXISTS (0):表明指定目录存在于目标系统上。
NOTEXISTS (-1):表明指定目录不存在于目标系统上。

研究半天才发现Script是类似c的/转意 所以所有的路径都需要这样写

"C://Windows//..."

错误写法:"C:/Windows/..."

原文地址:https://www.cnblogs.com/fjfjfjfjfjfj/p/1338464.html