开发者

How do I have Inno Setup update multiple locations?

I have an application that uses Inno Setup as its installer. I am now writing an updater using Inno Setup to apply some updates to various installed locations.

This application can be installed on removable flash drives as a portable app and I would like to be able to roll out t开发者_JAVA技巧he updates across several drives/locations/directories for each drive attached to the PC at once.

Is there a way to get Inno Setup to roll out its contents as an update to each location in an array of locations?


Not directly. One option is to build an install for the files that is designed to be silent.

Then write a second install that compiles that uses the first one. Then you [Code] Section you could call ShellExecute() executing the first installer. You could call the first installer as many times as you wanted.

Although, I suspect this may really creates havok on the Add/Remove Programs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜