Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NSIS - Merge Modules

I'm looking for away to include into the installation the merge modules of VC2008 (mscrt90 and atl90) My main problem involved around bundling the policy file. I've no problem adding the DLL and the manifest files but the policy seems to behave differently and can not simply be copied over...

The best solution I came up with so far was to include the MSM files into a separate MSI that is being installed by the NSIS script. But this is an ugly solution.

Thanks, Eden

like image 681
Eden Avatar asked Mar 27 '11 20:03

Eden


2 Answers

NSIS is not a good solution for this. NSIS has no support for merge modules whatsoever. If you are looking for a free open source solution, try using Windows Installer XML (WiX, http://wix.sourceforge.net/)

like image 110
aweigold Avatar answered Sep 20 '22 16:09

aweigold


If your installer is not MSI based, why use merge modules at all?

Your Visual Studio install should have a redist folder with exe files you can use to install the CRT etc

like image 45
Anders Avatar answered Sep 18 '22 16:09

Anders