Prerequisites won't install... - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

RedDrago
Posts: 33
Joined: Thu Jan 19, 2012 9:23 am

Prerequisites won't install...

Hello,

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 /INDICATEPROGRESS
Result 2: The installer is stuck at the point, where it is extracting the prerequisites. The installer won't react to any input (cancel), until the msiexec.exe process is killed. I've waitet for more than 10 minutes. In the test project, I didn't have had to wait nearly as long as now.


Do 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
Last edited by RedDrago on Mon Feb 06, 2012 3:28 pm, edited 1 time in total.
RedDrago
Posts: 33
Joined: Thu Jan 19, 2012 9:23 am

Re: Prerequisites won't install...

Hello,

I found the mistake with a colleague.
In the Prerequesite settings, the field "Folder" in the tab "Settup Files", had an invalid value.

Thanks,
Tobias

Return to “Common Problems”