1
Answer

Installer

Ask a question
Administrator

Administrator

21y
1.3k
1
I am trying to make an Installer for my application so I suppose to install my application on computers that do not have the .NET already installed. If I understand it right one should include the dotnetfxredist_x86_enu.msm to the setup project, which I did. When I Build the Setup I got an Error message: dotNETFXRedist_x86_enu.msm must not be used to redistribute the .NET Framework. Please exclude this merge module When I exclude the dotNETFXRedist_x86_enu.msm I got a warning instead which said: WARNING: This setup does not contain the .NET Framework which must be installed on the target machine by running dotnetfx.exe before this setup will install. You can find dotnetfx.exe on the Visual Studio .NET 'Windows Components Update' media. Dotnetfx.exe can be redistributed with your setup. And I did however get several files in the Setup directory: · InstMsiA.Exe · InstMsiW.Exe · Setup.Exe · Setup.Ini · TheSetup.msi I did copy these files to the computer that does not have the .NET installed and when I run the Setup.Exe, the Setup said that "This setup requires the .NET Framework" and it encourage me to install the .NET Framework first. Is there anyone who have manage to create a setup program without any errors or warning? What can I do? Thanks in advance Lookheb

Answers (1)