Hello Brian,
First of all I want to deeply apologize because we skipped your forum thread. My colleague Dan was out of the office for some time and it seems your thread was overlooked somehow.
Not sure how this is going to help with the reboot issue and running a Custom Action?
Can you run a custom action as part of the prerequisite installs?
Actually no. But as a workaround, not sure a suitable one though, you can create a separate setup package or even a small application which will perform the reboot check and trigger a reboot if needed. The reboot check app can be added as another prerequisite and should be scheduled after each one of your prerequisites for which you want to do the reboot check. Basically you should add again as a prerequisite the reboot check app after each one of the prerequisite you need to check if a reboot is necessary. However, I suggest you to first thoroughly test this approach and make sure it behaves as you expected.
Also, I've forwarded your feedback to our development team and maybe such a dedicated option will be available in the future. Until then, personally I suggest you to use our "Reboot system after installing this prerequisite" option for each of your prerequisite know it might require a reboot.
When I now try and install SQL 2016 Express Advanced SP1 it successfully installs according to the SQL installer (when I look at C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\Summary) but advanced installer flags it as Failed (shown in the Prerequisites Install window).
SQL now never installs but then keeps failing saying the requested features may already be installed.
Believe this might be due to the SQL Install Conditions for the Prerequisites not working.
The Install Conditions has criteria of Registry key exists and search string of "HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\130\SQLServer2016\CurrentVersion".
When I check this register key using Regedit it is there.
Any suggestions why Advanced Installer does not see this Registry Key?
I've tested the scenario but I cannot replicate the issue. Could you please send us your AIP (project file) to
support at advancedinstaller dot com so we can investigate its settings?
If I reboot after SQL install I then confirmed that Registry Key exists and Advanced Installer still try's to install and fails agains with SQL log saying requested features may already be installed.
So can't go back and can't go forward to main install!
Can you create a log as part of the prerequisite install and if you can't do the main install still check the log file.
Indeed, as an improvement we could try to log more details for the prerequisite installation in the main log in the future. Thank you for your suggestion.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging