Visual Studio.NET merge modules condition - 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!

derekng75
Posts: 3
Joined: Tue May 17, 2011 9:57 am

Visual Studio.NET merge modules condition

Hi,
I am working on an installer that will take in few Visual Studio.NET merge modules, certain output of the merge modules has condition. May I know how can Advanced Installer pass the condition to merge modules ?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Visual Studio.NET merge modules condition

Hello and welcome to the Advanced Installer Forums,

Advanced Installer imports the merge modules( from Merge Modules page ) and includes them in your built installer with the settings you provide in the .AIP project( the import is performed at build time ). Also, any merge module can be associated with a feature. If you want to conditionally install the merge module you can condition each feature accordingly from the Organization Page.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
derekng75
Posts: 3
Joined: Tue May 17, 2011 9:57 am

Re: Visual Studio.NET merge modules condition

Condition.jpg
Condition.jpg (78.23 KiB) Viewed 2915 times
I am referring to a condition (INSWEB=1) which is already exists in Visual Studio solution. Is Advanced Installer able to pass the condition value to merge module so the respective primary output get installed ? Currently the primary output did not get installed in the msi generated by Advanced installer.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Visual Studio.NET merge modules condition

Hello,

If the property from the condition is part of the merge module then the condition will be evaluated as intended. Advanced Installer imports the merge modules in the Merge Modules page and includes them into the .MSI at build time. The functionality in the merge modules is not altered in any way.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”