Archive: NSIS and Visual C++ 2005 Express Edition


NSIS and Visual C++ 2005 Express Edition
As a programmer with a very low budget, I am using the free Visual C++ 2005 Express Edition which does not come with "Visual Studio Installer".

However, it does come with the
"Microsoft Visual C++ 2005 Redistributable Package" which allows me to distribute critical library files with my program (provided that I know how to do that).

I would like to use NSIS for the purpose of writing an installer for programs developed with VC++ 2005. I think that I NSIS supports running an executable like the vcredist_x86.exe described in the link above (please correct me if I'm wrong).

However, I also need to distribute some other library files (also from Microsoft) which only come in the form of MSM files.

Previously, when I was using VC++ 6.0, I was using Visual Studio Installer 1.1 (which came with it for free, and can only install on a system that has VC++ 6.0), to package those MSMs in a .MSI file, which in turn was embedded and run in the .NSI file.

The point is that Visual Studio Installer 1.1 was taking care of all the inner workings of placing the MSMs in one .MSI file that simply works - but now I don't have that tool anymore.

Any idea whether there is an "NSIS" way to accomplish the above? If so, where can I find a description of it?

Thanks,
Victor


You could use WiX to create a MSI from the MSM and install that using NSIS.

A quick Google search for msm2msi also came up with the following.

http://www.ethalone.com/articles/msm2msi.php


Originally posted by kichik
You could use WiX to create a MSI from the MSM and install that using NSIS.

A quick Google search for msm2msi also came up with the following.

http://www.ethalone.com/articles/msm2msi.php
Thank you so much for your helpful tips. I wasn't aware of these tools.

By WiX, did you mean the Windows Installer XML, located at wix.sourceforge.net?

(sorry I just learned that I can't include URLs for some reason, so I am providing the address without the http).

BTW, the missing link above was for vcredist_x86.exe, freely downloadable from the Microsoft web site.

I am rushing to check out the resources you mentioned.

Thanks again,
Victor