right now I have a serious problem.
So far I've tested the functions, which I need. Now I wantet to put every thing together into one Project.
I've added 3 prerequisites. .Net 4.0 as Pre-install. SQL Server 2008 R2 and
Visual C++ Redistributable SP1 as featurebased.
To make sure, that the installer works offline too, I've downloaded the install files my self from Microsoft and set the source to "Use file from disc".
The SQL Server must be installed allways, even if there is allready another instance of the server. To do so, I've checked "Allways install prerequisite" in the install conditions tab.
And I'am using the very same parameters as I did in my previous test project.
With that project I had 2 results so far:
Result 1: The installation "skipps" the prerequisites. The step which installs the prerequisites is not beeing skipped itself. But the setup is not beeing started and the main installation fails in the end, because of the required but still missing SQL Server.
The command line i Used:
Code: Select all
/q /ACTION=INSTALL /FEATURES=SQL /TCPENABLED=1 /NPENABLED=1 /INSTANCENAME=[INSTANCE_NAME] /SQLSVCACCOUNT="NT AUTHORITY\NetworkService" /ADDCURRENTUSERASSQLADMIN /AGTSVCACCOUNT="NT AUTHORITY\NetworkService" /SAPWD="[SAPW]" /SECURITYMODE=SQL /INSTANCEDIR="[ProgramFilesFolder]SQL Server\[INSTANCE_NAME]" /INSTALLSQLDATADIR="[DABA_Dir]" /IACCEPTSQLSERVERLICENSETERMS /INDICATEPROGRESSDo you know what could cause this behavior?
So far all thats different to the test project is, that there are more files to install, but thats it...
Best regards,
Tobias
FOLLOW US
Get the latest news in Application Packaging