0

I've got the following code as part of my setup script:

[Files]
Source: "{#SetupDir}\IronPython-2.7.3.msi"; DestDir: "{app}\Resources"; Components: Centipede; Check: IronPythonNotInstalled

[Run]
Filename: "msiexec.exe"; Parameters: "/I ""{app}\Resources\IronPython-2.7.3.msi"" /qb"; WorkingDir: "{app}\Resources"; Flags: shellexec; StatusMsg: "Installing IronPython"; Components: Centipede; Check: IronPythonNotInstalled

But every time I run the installer, I'm getting the help dialog, as when you run msiexec without any parameters. It's probably just a silly mistake, but I can't see what it is.

The file is getting copied correctly, and the msi is valid (running it from the command line works fine).

4

1 回答 1

0

这里的问题比我想象的要复杂一些:我运行的设置是代码的旧副本。

由于我的环境,我正在编译安装程序,将其推送到(本地)Web 服务器,然后在测试机器上下载,然后运行它。

我尝试用“dump args”工具替换 msiexec,并注意到它仍然称为 msiexec。

测试校验和证实了这一点:我只是反复下载相同的版本。

这里的解决方案是防止缓存下载的安装程序。

于 2013-07-01T15:39:27.093 回答