I am creating an installer through innosetup
. I see a lot of code examples on how to detect a prerequisite's existence, but nothing on how to actually go about installing the prerequisite when I don't find it. I'm sure it's blindingly simple, but how do I go about installing a prerequisite? In particular, I'm looking to install mongodb
as a service as a prerequisite to my application.
相关问题
- MongoDB can not create unique sparse index (duplic
- Spring Data MongoDB - lazy access to some fields
- Golang mongodb aggregation
- How to convert from Timestamp to Mongo ObjectID
- MongoDB Indexing: Multiple single-field vs single
相关文章
- mongodb有没有什么办法禁止读取数据的时候进行缓存
- mongodb-aggregate聚合查询分组后如何获得多字段
- mongodb error: how do I make sure that your journa
- How to track MongoDB requests from a console appli
- MongoError: cannot infer query fields to set, path
- Pymongo $in Query Not Working
- django.core.exceptions.ImproperlyConfigured: '
- In inno setup how to set the unins000.exe with pro
Have a look at the CodePrepareToInstall.iss example script (included with Inno) for the framework. Once you've detected that you need to do the install, at the appropriate point (shown in the script) you just
ExtractTemporaryFile
the installer for the prerequisite and thenExec
it, checking for any errors and reboot-required-before-main-app-install conditions as needed.For a more in-depth example for several common prerequisites (including download support), see this page.