HI team,
I have a bundle installation (built with Advanced Installer 19.5) installing two feature-base prerequisites (which are separate installations built again with Advanced Installer). Second prerequisite installation has a custom action to restart windows explorer which causes bundle to relaunch. I have inspected bundle installer activity (via Process Monitor) and found it creates two registries:
- HKEY_CURRENT_USER\SOFTWARE\[Manufacturer] AiTemp
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce\{ProductCode}
Creating RunOnce registry causes bundle relaunching when Windows explorer is restarted by second prerequisite installation (still sometimes is not reproduced when bundle installation finishes and delete RunOnce registry before explorer trying to read it after restarting). Also observed these registries are created when installing more than one prerequisite, when installing single prerequisite (even the second one which restarts the explorer) the behavior is correct.
So the question is how can I prevent creating these registry keys and respective bundle relaunching when explorer is restarted.
I have attached sample project(s) (bundle.aip with two prerequisites installer projects, second one restarts the explorer). Also installation log is attached. Noticed RunOnce registry is created during AI_ExtractPrereq actions.
Thanks,
Nikolay.