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
- :
- How do I stop the build from adding .Net dependencies?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 15, 2012
01:22 PM
How do I stop the build from adding .Net dependencies?
When I build my install packages (Basic MSI Project) it automatically adds .net dependencies for my files; however, some of these dependencies are strictly forbidden by licensing to distribute with an install package, but rather I must distribute the vendors install package for the dependencies.
How do I turn off automatic adding of dependencies for specific files?
Doug.
How do I turn off automatic adding of dependencies for specific files?
Doug.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 15, 2012
01:28 PM
I never suggest using dependency scanning as too many things can go wrong. I suggest you do the same and take one or more of the following actions:
1) For every developer using InstallShield, go into Tools | Options | .NET and change Default .NET Scan at Build Component Setting to Properties only. This setting effects all newly authored components.
2) Go into your ISM project and scroll through your components and make sure all of the components are set to Properties only.
Always manually author dependencies into your installer. Yes, I know it takes a little more work, but you'll have far greater control over the authoring and things won't magically blip in and out of your final installer. You and/or your developers really should know what your dependencies are and it should be a explicit rather then implicit operation to update/author your installer for them.
Just my hard lessons learned over the last 16 years speaking on this one....
1) For every developer using InstallShield, go into Tools | Options | .NET and change Default .NET Scan at Build Component Setting to Properties only. This setting effects all newly authored components.
2) Go into your ISM project and scroll through your components and make sure all of the components are set to Properties only.
Always manually author dependencies into your installer. Yes, I know it takes a little more work, but you'll have far greater control over the authoring and things won't magically blip in and out of your final installer. You and/or your developers really should know what your dependencies are and it should be a explicit rather then implicit operation to update/author your installer for them.
Just my hard lessons learned over the last 16 years speaking on this one....
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 16, 2012
08:06 AM
Thanks Christopher, worked like a charm!