This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Proposed Solution
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Aug 30, 2010
06:07 AM
.NET 4.0 assemblies included?
My application is targeting .NET 4.0 Full and references the System.Numerics assembly.
When I install the app, the System.Numerics.dll is installed to the program directory. This should not be necessary, it's part of the Framework.
When I install the app, the System.Numerics.dll is installed to the program directory. This should not be necessary, it's part of the Framework.
(4) Replies
‎Aug 30, 2010
11:03 AM
Hi,
Could you kindly provide us a brief description of the exact steps which you have performed.
Could you also provide us a sample project with all the contents found under the visual studio 2010\Projects folder.
Thanks,
Lenwin
Could you kindly provide us a brief description of the exact steps which you have performed.
Could you also provide us a sample project with all the contents found under the visual studio 2010\Projects folder.
Thanks,
Lenwin
‎Aug 31, 2010
04:47 AM
Steps to reproduce:
- Create a new WinForms application, targeting .NET 4
- Add a reference to System.Numerics.dll, which includes the BigInteger type
- Create a new IS LE project
- Add the WinForms app's primary output to the setup
- Build and install
I've attached a sample solution. On my computer, it also installed the "Microsoft.CSharp.dll" and "System.Dynamic.dll".
- Create a new WinForms application, targeting .NET 4
- Add a reference to System.Numerics.dll, which includes the BigInteger type
- Create a new IS LE project
- Add the WinForms app's primary output to the setup
- Build and install
I've attached a sample solution. On my computer, it also installed the "Microsoft.CSharp.dll" and "System.Dynamic.dll".
‎Oct 01, 2010
05:57 PM
To resolve this problem, make the following configuration settings:
1) In the InstallShield "Project Assistant" - "Application Files" view, right click on the "Primary Output", select "Properties" from the drop down menu, select the "COM & .NET Settings" tab and set the .NET Properties "Scan at Build" field to "None" or "Properties Only"
2) In the Visual Studio Solution Explorer, expand the References, right click on the reference (i.e., "System.Numerics"), select "Properties" from the drop down menu. In the Reference Properties pane, set "Copy Local" to "False".
Making these changes avoid having dependent files automatically included in the Installation package.
If you need to install .NET Framework with the Installation Package, go to the InstallShield Redistributables view and add the .NET 4.0 Framework Prerequisite to the InstallShield project.
1) In the InstallShield "Project Assistant" - "Application Files" view, right click on the "Primary Output", select "Properties" from the drop down menu, select the "COM & .NET Settings" tab and set the .NET Properties "Scan at Build" field to "None" or "Properties Only"
2) In the Visual Studio Solution Explorer, expand the References, right click on the reference (i.e., "System.Numerics"), select "Properties" from the drop down menu. In the Reference Properties pane, set "Copy Local" to "False".
Making these changes avoid having dependent files automatically included in the Installation package.
If you need to install .NET Framework with the Installation Package, go to the InstallShield Redistributables view and add the .NET 4.0 Framework Prerequisite to the InstallShield project.