Hello and welcome to our forums,
Please note that due to SQL Server setup issue, adding the SQL Server as a feature-based prerequisite may lead to hanging installations. Please take a look on our
"Why the SQL Server installation hangs?" article for more details.
So, firstly I recommend you to add your SQL Server 2012 as a per-install prerequisite.
Secondly, instead of using dism.exe to install .Net Framework 3.5 you can create a separate MSI setup which will have .Net 3.5 added as a Windows Feature Bundle in "Prerequisites" page. Then you can add the above MSI as a pre-install prerequisite to your main package too. However, please note that enabling .Net Framework 3.5 using our Windows Feature Bundle will require Internet connection on target machine.
If an Internet connection will not be available the Net 3.5 won't be activated. We have an improvement on our todo list so that in such situation (no internet connection) the setup package prompts for the Windows installation CD (ISO file). Hopefully this will be available in a future version of Advanced Installer. We will update this thread when it will be out.
Let us know if this helped.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging