The more I am looking into this it seems more like a new feature to me. I
have found this in the reference documentation, under Bundle:

DisableModify

<http://wix.sourceforge.net/manual-wix3/wix_xsd_simple_type_yesnobuttontype.htm>
Determines
whether the bundle can be modified via the Programs and Features (also
known as Add/Remove Programs). If the value is "button" then Programs and
Features will show a single "Uninstall/Change" button. If the value is
"yes" then Programs and Features will only show the "Uninstall" button". If
the value is "no", the default, then a "Change" button is shown. See the
DisableRemove attribute for information how to not display the bundle in
Programs and Features.

   DisableRemove
<http://wix.sourceforge.net/manual-wix3/wix_xsd_simple_type_yesnotype.htm>
Determines
whether the bundle can be removed via the Programs and Features (also known
as Add/Remove Programs). If the value is "yes" then the "Uninstall" button
will not be displayed. The default is "no" which ensures there is an
"Uninstall" button to remove the bundle. If the "DisableModify" attribute
is also "yes" or "button" then the bundle will not be displayed in Progams
and Features and another mechanism (such as registering as a related bundle
addon) must be used to ensure the bundle can be removed.
I have DisableModify and DisableRemove set to yes (before I had the same
effect by not giving a name to the bundle). Before either the bundle did
not register itself at all, or it did not check for the
UpgradeCode/Version. This resulted in the desired behaviour, which means
that I never had to uninstall a bundle, only the individual components.

So I would rephrase my question: is there a way to install a bundle without
registering it not only in "Programs and Features", but in general with
Windoes Installer as a separate product? When I install my bundle I only
want the individual products to be installed, but not the bundle.

Cheers:
Peter

On Tue, Jan 24, 2012 at 11:39 AM, Peter Bulyaki <peter.buly...@gmail.com>wrote:

> Hi,
>
> I have a bundle installer that installs several MSIs, but the bundle
> itself does not register itself as a separate product in ARP. I have
> created a bundle with the latest build (2520), then I installed it. Then I
> tried to uninstall it the ususal way: I uninstalled the components one by
> one. It all went fine, and in the end none of my products were listed in
> ARP. Then I tried to install an older version of the bundle and it failed.
> The error log told me that it was complaining about that the bundle with
> the higher version was still installed - however I could not see it in ARP,
> so I had no chance removing it. Even msicuu.exe was not listing the bundle
> as an installed product.
>
> The only thing that finally worked was that I manually executed my
> bundle.exe with the command line switch "/uninstall", then I chose that
> option "Uninstall". It finished in less than a second and the bundle was
> removed.
>
> I never had such issues with the beta release before.
>
> Is this a bug or a feature? I mean it would be nice if bundles would be
> able to check for versions and would be able to block downgrades, but when
> told explicitly, and only when the bundle is advertised as a separate
> product in ARP. Otherwise it just leads to problems.
>
> Cheers:
> Peter
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to