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
- :
- Re: Component error- Hard one to crack!!
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
‎Mar 10, 2010
04:51 AM
Component error- Hard one to crack!!
I have a feature with a few components. I have set the Installlevel to "0" to make sure that the feature will not be installed..
After installation I still get one of the components on the system that belongs to feature that is not installed.
I have tryied to delete and remake the component but I get the same behavoir.. This is really annoying and I have never seen this before.
I have all the normal settings on the component and there is nothing speciall with it..
Can anyone help out?
After installation I still get one of the components on the system that belongs to feature that is not installed.
I have tryied to delete and remake the component but I get the same behavoir.. This is really annoying and I have never seen this before.
I have all the normal settings on the component and there is nothing speciall with it..
Can anyone help out?
(12) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 10, 2010
10:19 AM
is it just one component or all the components associated with that feature?
if it is just one component, then in the Files and folders view, right click on one of the folders and make sure the "show components" is checked. then find the component and right click and select properties, verify that it is associated with the correct feature and only with that one feature.
if it is multiple components, make sure you do not have the feature set to required.
You may also want to create a log of the install and check the state of each feature and component to make sure it is installing what you think it is.
if it is just one component, then in the Files and folders view, right click on one of the folders and make sure the "show components" is checked. then find the component and right click and select properties, verify that it is associated with the correct feature and only with that one feature.
if it is multiple components, make sure you do not have the feature set to required.
You may also want to create a log of the install and check the state of each feature and component to make sure it is installing what you think it is.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 11, 2010
01:17 AM
It is just one of the components.. And I have checked that it is conected to the right Feature.. When I look in the log the feature is not installed but the component is..
This is very strange.. Could it be something connected to the "Create Folder" Table..?
This is very strange.. Could it be something connected to the "Create Folder" Table..?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2010
01:42 AM
Could this component be shared among several features?
Can you have a look at the FeatureComponents table to see what Feature(s) this component is assigned to?
Can you have a look at the FeatureComponents table to see what Feature(s) this component is assigned to?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2010
01:46 AM
I have a few files that that will be installed with several feature.. The same files are included in diffrent feature as diffrent components.
From what I can see, this is the problem.. I am planing to use the duplicated files Table so see if that solves my problem.
Any thoughts?
From what I can see, this is the problem.. I am planing to use the duplicated files Table so see if that solves my problem.
Any thoughts?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2010
01:49 AM
What I would rather do is assign a component to more than one Feature, so that the same component appears in several Features.
Just add a few rows to the FeatureComponents table. You need to use the Direct Editor to do that.
Regards
Just add a few rows to the FeatureComponents table. You need to use the Direct Editor to do that.
Regards
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2010
01:52 AM
OK, I will try..
But my features have different destination folders, will that be effected?
But my features have different destination folders, will that be effected?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2010
01:59 AM
You are right, if you only have one component shared among several features, this component can only have one destination path.
But that should tell you a little something: if a file is needed by several features, why don't you put it in a "shared" feature that gets installed anyway, thanks to its "required" flag?
In my opinion, copying the same file to several target locations can be more complicated to handle.
But that should tell you a little something: if a file is needed by several features, why don't you put it in a "shared" feature that gets installed anyway, thanks to its "required" flag?
In my opinion, copying the same file to several target locations can be more complicated to handle.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2010
02:01 AM
That is what I have disocovred.. Thanks for your input..
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 16, 2010
03:33 AM
I think you can just open the msi directly in InstallShield, and then compare the components association with your ism project (hopefully you have isolated that by installing which feature will bring you the unexpected component, go for that feature directly). To my guess, it would have one more component associated with that feature comparing to your ism project. By saying so, I'm assuming that you have componet set as Scan .NET Dependencies and Properties, which would add missing dependency (could be from component or merge module) automatically for the components during building the msi package. Not sure if this fits into your case, however I met similar problem with this cause.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 16, 2010
05:02 AM
That is exactly my problem.. How did you solve it?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 16, 2010
07:53 AM
OK.. Now I got it..
Thank you.. I am a little bit slow!!
Thank you.. I am a little bit slow!!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 16, 2010
10:04 PM
Glad it helped. I assume you already fixed it by changing the ".NET Scan at Build" option to Properties Only or None. Actually I set the default .NET scan at build component setting to Property Only in Tools->Options->.NET. Well, this may not apply to everyone though, as missing dependency will cause app fails to run.