Feature based prerequisites - 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!

guruvn
Posts: 6
Joined: Tue Mar 08, 2011 2:52 am

Feature based prerequisites

Hi All,

I have been using Advanced installer to create an install package. What I would like to achieve is I want the SQL Server Express 2008 R2 being installed right after all main features finish installing.

I have added SQL Server as a prerequiste component with both "Feature-based prerequiste installs during main MSI install" and "Chain prerequiste installation after main package" options checked. However, the order installation was not what I expected. So what should I do now.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Feature based prerequisites

Hello,

Unfortunately, two windows installer processes cannot run at the same time. Thus, you cannot trigger the SQL Server Express 2008 R2 package during the InstallExecuteSequence.
The solution would be either to add it as a prerequisite like you did or schedule a custom action after InstallFinalize with an "Asynchronous execution, do not wait for return" execution property. Here is a tutorial that demonstrates this.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”