OnIISInitialize
InstallShield 2024 » InstallScript Language Reference
Project:
The OnIISInitialize is called before OnMoving. You can override this for similar purposes as OnIISVRootUninstalling, as well as add code that checks the version of IIS or makes custom IIS modifications before installing the web sites and virtual roots.