[wix-users] How to control what files to be installed (Condition)

Farrukh Waheed farrukh1 at gmail.com
Wed Mar 23 10:36:45 PDT 2016


Don't know how you are building your installer, but as far I know, if you
are changing Upgrade and Product Code each time you build your msi, each of
such msi would be installed side by side on one machine.

So the upgrade/patches would be generated according to upgrade codes.

I don't know how you are building your msi which is able to installed
multiple times on one machine...

On 23 March 2016 at 22:29, Hoover, Jacob <Jacob.Hoover at greenheck.com> wrote:

> Multi-Instance installations (ala instance transforms) are nasty and
> painful. You are going to need to make your decisions before you are
> running your MSI.  Sadly, we don't have burn support out of the box for
> instance transforms.  I'm not saying it's impossible, but you are almost
> certainly going to have to create a custom BA to handle this.
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Ronny Eriksson
> Sent: Wednesday, March 23, 2016 12:13 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] How to control what files to be installed
> (Condition)
>
> Well i know that, the thing is that the application can be installed
> multiple times on the same machine.
> So there for I need to be able to choose if I want to update an existing
> installation, and which one, or do a new installation.
>
> Ronny Eriksson| Optimity| +46 70 680 98 32 | Skype: ronnye75 |
> www.optimitysoftware.com IMPORTANT - This e-mail and any attachments may
> be confidential and privileged. If received in error, please contact us and
> delete all copies. Before opening or using attachments, check them for
> viruses and defects. Our liability is limited to re-supplying any affected
> attachments. Any use or dissemination of its contents in any forms by
> anyone other than the addressee is prohibited.
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of David Watson
> Sent: den 23 mars 2016 17:15
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] How to control what files to be installed
> (Condition)
>
> Hi,
> You can do all this automatically without writing your own dialogues etc.
>
> The Major upgrade pattern allows you to release version 1 of your
> installer, make some changes to it, increase its version and version 2 will
> upgrade if version 1 is present or clean install on a blank machine.
>
>
> http://wixtoolset.org/documentation/manual/v3/howtos/updates/major_upgrade.html
>
> Dave
>
>
>  [http://dr0muzwhcp26z.cloudfront.net/static/corporate/SDL-logo-2014.png]
> <www.sdl.com/> www.sdl.com
>
>
> SDL PLC confidential, all rights reserved. If you are not the intended
> recipient of this mail SDL requests and requires that you delete it without
> acting upon or copying any of its contents, and we further request that you
> advise us.
>
> SDL PLC is a public limited company registered in England and Wales.
> Registered number: 02675207.
> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
> 7DY, UK.
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Ronny Eriksson
> Sent: 23 March 2016 15:54
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: [wix-users] How to control what files to be installed (Condition)
>
> Hi Eveyone
>
> So i'm not sure if this is possible or not but i ask anyway to see if
> anyone of you have a solution for it because i can't figure it out.
>
> What i want to do is this.
> I want to have a dialog that askes the user if this is a new install or an
> update of existing installations.
> This dialog is not the problem.
> But how do I then control what files are installed when choosing the new
> install or the update existing option?
>
> Can i somehow do a condition on what ComponentsGroupRef/ComponenRef that
> will be used or something like that and if so how can I do it?
> I know I can't do this:
>      <ComponentGroupRef Id="MyNewInstallFiles"
> ><![CDATA[NEWINSTALL]]></ComponentGroupRef>
>      <ComponentGroupRef Id="MyUpdateFiles"
> ><![CDATA[UPDATE]]></ComponentGroupRef>
> But that it's essentially what I would like to do... if you understand
> what I'm think of here.
>
> Any example would be appreciated.
> Ronny Eriksson
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
>
> This message has been scanned for malware by Websense. www.websense.com
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list