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: Setting Components to be NOT shared by default
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
‎Jan 25, 2013
09:24 AM
Setting Components to be NOT shared by default
Is there any way to have new components NOT be shared by default? If not, could this be considered as a configuration setting for a future release?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2013
05:41 AM
In Repackager there are some checkboxes that you can enable/disable for sharing but not for all components as a default. I would like that feature as well as it would save time search/replace in the Component Table.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2013
09:23 AM
Until there is the ability to set Shared flag up front or let you set all components at once to Shared, I've written a little Perl script that will do the job. This removes the Shared flag from all components in your project file. Just put the name of the Installshield file as a txt file as the first parameter and the output file is the second parameter.
$/)
open(INPUT, "< @ARGV");
while ($line = )
{
print "$line";
if ($line =~ m/^\s*
.*$/) { if ($nextRow =~ s!^(\s*) | (.*)<\/td> | (.*)<\/td> | (.*)<\/td> | 8<\/td>!$1 | $2<\/td> | $3<\/td> | $4<\/td> | 0<\/td>!) { print "$nextRow"; } elsif ($nextRow =~ s!(^\s*) | (.*)<\/td> | (.*)<\/td> | (.*)<\/td> | 264<\/td>!$1 | $2<\/td> | $3<\/td> | $4<\/td> | 256<\/td>!) { print "$nextRow"; } elsif ($nextRow =~ s!(^\s*) | (.*)<\/td> | (.*)<\/td> | (.*)<\/td> | 24<\/td>!$1 | $2<\/td> | $3<\/td> | $4<\/td> | 16<\/td>!) { print "$nextRow"; } elsif ($nextRow =~ s!(^\s*) | (.*)<\/td> | (.*)<\/td> | (.*)<\/td> | 280<\/td>!$1 | $2<\/td> | $3<\/td> | $4<\/td> | 272<\/td>!) { print "$nextRow"; } else { print "$nextRow"; } } else { print "$nextRow"; } } print "$nextRow"; } } exit 1; |
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)