In both cases it seems there is your "CreateSchema" SQL Script which fails during execution. Can you please remove your "CreateSchema" script from your installation project, rebuild the setup project, install it and after install try to manually execute your "CreateSchema" SQL script under an SQL ODBC connection using a trusted connection (just like the setup package does)? Then see if the manual execution of the SQL script succeeds.
I cannot say why there is a difference between the related system versions. What I try to check is if the behavior is generated by the Advanced Installer or not. This is why I need you to manually execute your "CreateSchema" SQL script under an SQL ODBC connection using a trusted connection (just like the setup package does)?
So, please run a manual test of the related SQL script and make sure everything is working correctly outside of the installation package.
The best way so we can investigate this issue will be if you could isolate the behavior in a small buildable sample (AIP + its referenced resources) and send it us so we can fully build and test ion our side.
Here is a duplicate of my AIP project with the DB script in it.
This project fails to install on Windows 10.
I have left the prerequisites folder out of the zip, which contains SQL Server Express 2014 SP1. (SQLEXPR_x64_ENU.exe)
You will have to download it once you open the project (saving space here)
I've built and tested your sent setup project on a Windows 10 x64 machine with SQL Server Express 2014 SP1 installed and your SQL Query and SQL Script (CreateSchema) ran just fine. The "PMInfrastructure" database and the tables (Computers, E2PValue, etc.) were successfully created during the installation. So, I suspect there a problem specific to your test machine. Please try to also test the setup on another Windows 10 machine.
Also, I highly recommend you to manually test your SQL Scripts outside of the setup package on your problematic machine and see if they succeed or not. If they don't, then you should start troubleshooting the SQL problem on the related machine.
FOLLOW US
Get the latest news in Application Packaging