Thanks for the input guys, I really appreciate it!

However, it seems like wix isn't able to handle this simple scenario. It
seems like I can choose between two evil things:

1. Create a tool (which is easy) that generates guids. But using a tool
for something that really isn't central for the development process is
not what I want. Every new tool introduced is a bad thing and should be
avoided if possible.

2. Bloat my xml-code with single-file-components resulting in A LOT more
xml which is not any way easy to overview.

Why oh why can't wix generate handle "*"-guid in components with
multiple files? Is there a way to make a feature request somewhere? :)

Best Regards

// Henrik Carlsson

-----Original Message-----
From: Blair [mailto:os...@live.com] 
Sent: den 24 november 2010 13:28
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Does Wix Component needs Guid to bechanged
whenbranching application?

For most programs most of the time one-component-per-file is exactly
what
you want. Being able to use "*" makes it easy to use that model.

-----Original Message-----
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: Wednesday, November 24, 2010 3:01 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Does Wix Component needs Guid to be changed
whenbranching application?

If you don't want to use 1 file per component with "*" GUID, write an
app or script to parse through your .wxs files & regenerate the GUIDs
for you. I wrote a little C# app a while back to do this & it was
probably less than 50 lines of code as one of our deployment scenarios
is identical to yours.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: Carlsson, Henrik [mailto:henrik.carls...@sogeti.se] 
Sent: 24 November 2010 10:35
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Does Wix Component needs Guid to be changed
whenbranching application?

Thanks for your quick answer Peter! Unfortunately this means that we are
in a state where we can make mistakes in the future when dealing with
branches.

>From an installation point of view, what I want to achieve is
super-simple!

I have a bunch of files that goes into the Program Files-<myapp>-folder.
I always use major upgrade. That's it! Now pleeease let's find a way to
handle the v1.0 and v2.0 tracks with guid-safe components.

* One solution would be to put all files in one single component.
Updating the guid once for this component is OK. The problem is that one
can't have directories in a component, and we have our files in a folder
structure.

* Another solution would be to have a generated guid (*), but the
components can then have at max one file.

Any ideas anyone?

// Henrik Carlsson


-----Original Message-----
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: den 24 november 2010 10:40
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Does Wix Component needs Guid to be
changedwhenbranching application?

If you want to install in products parallel, obviously the files will be
installed to different locations. When you change the location in a
components keypath, you must change the GUID, so the answer is yes.

http://msdn.microsoft.com/en-us/library/aa370561%28VS.85%29.aspx



-----Original Message-----
From: Carlsson, Henrik [mailto:henrik.carls...@sogeti.se]
Sent: 24 November 2010 09:11
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Does Wix Component needs Guid to be changed
whenbranching application?

Hi folks!

This might be a noob question, but I haven't been able to find the
answer. My scenario is really straight forward:

I have a windows application with several files that lands in a "Program
files..." folder. These files are divided into components depending on
what kind of functionality there's in them. The files are mostly .net
assemblies are not in any way global. They should only be used by my
application. I use major upgrade when installing a new version.

Now I want to make a release v1.0 of the application and at the same
time keep on working with v2.0. The two version which shall run side by
side, so course I need to change the UpgradeCode. I also of course make
a branch in my source control to manage the v1.0 and v2.0 tracks.

My question is: Do I need to make new guids for all the components i
v2.0?. In the best of worlds there is no conflict between component in
different msi-databases?

 

Best regards

// Henrik Carlsson

 

___________________________________________
Henrik Carlsson | Software Consultant | Sogeti mobile +46 (0) 702 - 20
23 70

henrik.carls...@sogeti.se

 

------------------------------------------------------------------------
------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for
grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
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.


------------------------------------------------------------------------
------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for
grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for
grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------
----
--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for
grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for
grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to