Google Groups Home
Help | Sign in
Should each installed file be a separate component?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Tony  
View profile
 More options May 11, 10:34 am
Newsgroups: microsoft.public.platformsdk.msi
From: Tony <ton...@gmail.com>
Date: Sun, 11 May 2008 07:34:12 -0700 (PDT)
Local: Sun, May 11 2008 10:34 am
Subject: Should each installed file be a separate component?
This is recommended for COM executables and OCXes (I don't fully
understand why but probably due to COM Registry requirements) but what
about other types of files?

In particular, if component contains multiple files how does one
handle adding and removing files from the component when it comes to
small updates and minor upgrades?

For example, if component is transitive and has a condition, and if it
contains just one file, handling file removal with new patches is as
easy as changing the condition truth value.

But what if component contains several files? It seems that it is then
impossible to handle the removal of individual files inside that
component because transitivity and condition are defined per
component.

Therefore, if one wants a control over each individual installed file,
regarding possible file removal in future releases, it seems that each
file should be a separate component and each component should contain
just one file.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sebastian Brand  
View profile
 More options May 12, 1:48 am
Newsgroups: microsoft.public.platformsdk.msi
From: Sebastian Brand <insty...@gmail.com>
Date: Sun, 11 May 2008 22:48:19 -0700 (PDT)
Local: Mon, May 12 2008 1:48 am
Subject: Re: Should each installed file be a separate component?
On 11 Mai, 16:34, Tony <ton...@gmail.com> wrote:

You got it right. MSI defines component as the smallest part of an
installation. If you have two files in a component, they are always
stuck together. To remove only a part of a component, you must remove
the whole component and re-install a new component with the remaining
files.

Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Owen Gilmore  
View profile
 More options May 28, 8:33 pm
Newsgroups: microsoft.public.platformsdk.msi
From: Owen Gilmore <aogilm...@gmail.com>
Date: Wed, 28 May 2008 17:33:20 -0700 (PDT)
Local: Wed, May 28 2008 8:33 pm
Subject: Re: Should each installed file be a separate component?
On May 11, 7:34 am, Tony <ton...@gmail.com> wrote:

That would be burdensome because you're talking about unversioned
files.  Why create a component for each one?  Unnecessary...besides
that file versioning rules would not work on non-executable files
because they're not versioned, which removes any advantage to having
each file in its own component.

Owen


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dennis Bareis  
View profile
 More options May 30, 10:10 pm
Newsgroups: microsoft.public.platformsdk.msi
From: Dennis Bareis <dbar...@newsgroups.nospam>
Date: Sat, 31 May 2008 12:10:13 +1000
Local: Fri, May 30 2008 10:10 pm
Subject: Re: Should each installed file be a separate component?
Hi,

On Wed, 28 May 2008 17:33:20 -0700 (PDT), Owen Gilmore <aogilm...@gmail.com> wrote:
> Why create a component for each one?  Unnecessary...besides
>that file versioning rules would not work on non-executable files
>because they're not versioned, which removes any advantage to having
>each file in its own component.

>Owen

Windows Installer is not without "features", I think that any file (versioned or not)
that can be held in use by your application (whether you stop it or not during install/uninstall)
should be in its own component so Windows Installer can recover (or hide the problem if you like)
by advertising.

My 2 cents worth,
Dennis
Dennis Bareis [Microsoft MVP] (dbar...@KillSpam.gmail.com)
  http://dennisbareis.com/
Freeware Windows Installer creation tool (+ "ORCA automation"):
  http://makemsi.dennisbareis.com/


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google