Re: [WiX-users] Getting the version from the Assembly file

2009-01-20 Thread Rob Mensching
verything". -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Tuesday, January 20, 2009 11:31 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Getting the version from the Assembly file I don't believe I am going

Re: [WiX-users] Getting the version from the Assembly file

2009-01-20 Thread Neil Sleightholm
20 January 2009 17:52 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Getting the version from the Assembly file You're welcome to do what you want. All I ask is that you be careful about suggesting doing things against the recommendations. It's one thing to

Re: [WiX-users] Getting the version from the Assembly file

2009-01-20 Thread Rob Mensching
n why it is right. Neil -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: 20 January 2009 15:55 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Getting the version from the Assembly file The "assemblyFileVersion&quo

Re: [WiX-users] Getting the version from the Assembly file

2009-01-20 Thread Neil Sleightholm
ch...@microsoft.com] Sent: 20 January 2009 15:55 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Getting the version from the Assembly file The "assemblyFileVersion" is only applicable when installing into the GAC. Otherwise, AFAIK, standard file version

Re: [WiX-users] Getting the version from the Assembly file

2009-01-20 Thread Rob Mensching
---Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Monday, January 19, 2009 23:36 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Getting the version from the Assembly file >> 2. My understanding of the .NET Framework doc

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Neil Sleightholm
l.com] Sent: 19 January 2009 23:59 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Getting the version from the Assembly file On Mon, Jan 19, 2009 at 2:33 PM, Rob Mensching wrote: > .2. My understanding of the .NET Framework documentation does not > recomm

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Neil Sleightholm
>> 2. My understanding of the .NET Framework documentation does not recommend setting the "fileVersion" in the assembly identity. They recommend SxS semantics by upgrading the assembly's "version" only. Apologies for going off topic but... I think this is true but rarely practical, in reality yo

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Colin Fox
I rename them, if there is no nice way to use a variable for part of the name. > > > -Original Message- > From: Colin Fox [mailto:greenene...@gmail.com] > Sent: Monday, January 19, 2009 10:54 > To: General discussion for Windows Installer XML toolset. > Subject: Re:

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Colin Fox
That did the trick - Thanks neil! On Mon, Jan 19, 2009 at 1:18 PM, Neil Sleightholm wrote: > >> I would be happy with one example. > > I use in several > installs. > > I would also point out the file version that MSI uses for replacing > files and what you see when you right click on a file and

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Rob Mensching
10:54 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Getting the version from the Assembly file On Mon, Jan 19, 2009 at 10:22 AM, Rob Mensching wrote: > 0. Probably aren't a lot of examples out there. It is relatively new > functionality. I would be

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Neil Sleightholm
>> I would be happy with one example. I use in several installs. I would also point out the file version that MSI uses for replacing files and what you see when you right click on a file and look at its properties is not the Assembly version information, it is the Win32 file version information.

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Rob Mensching
The name of your MSI is controlled by the "-o" switch to light.exe. -Original Message- From: Colin Fox [mailto:greenene...@gmail.com] Sent: Monday, January 19, 2009 11:00 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Getting the version from

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Colin Fox
M, Rob Mensching > wrote: > > > And no, it isn't common (in my experience). > > > > -Original Message- > > From: Bob Arnson [mailto:b...@joyofsetup.com] > > Sent: Monday, January 19, 2009 09:26 > > To: General discussion for W

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Colin Fox
it belong in a wixproj instead? If so, then how would the version be set int he .wxs? Also - thanks Rob for the time you've spent on this. I really appreciate it. > > -Original Message- > From: Colin Fox [mailto:greenene...@gmail.com] > Sent: Monday, January 19, 2009

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Rob Mensching
-users] Getting the version from the Assembly file Every release of our software *is* a major upgrade, so it meets that criteria. I still don't understand why the filename would be an issue. There are GUIDs all over the place for tracking things - why would msi care what I called the file? O

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Rob Mensching
that is commonly needed. -Original Message- From: Colin Fox [mailto:greenene...@gmail.com] Sent: Monday, January 19, 2009 09:39 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Getting the version from the Assembly file Let's take the release of W

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Rob Mensching
value "myProgramEXE" exist in your MSI? If not, that would cause this error as well. -Original Message- From: Colin Fox [mailto:greenene...@gmail.com] Sent: Monday, January 19, 2009 09:52 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Gettin

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Bob Arnson
Colin Fox wrote: > I still don't understand why the filename would be an issue. There are GUIDs > all over the place for tracking things - why would msi care what I called > the file? > For whatever reason, it does. See the MSI SDK topic "Changing the Product Code." -- sig://boB http://joyof

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Colin Fox
are using WiX v3 is to use a binder variable to grab > the file version directly. Something like "!(bind.FileVersion.FileId)". > > -Original Message- > From: Reggie Burnett [mailto:r...@comcast.net] > Sent: Thursday, January 15, 2009 04:50 > To: General discus

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Colin Fox
fsetup.com] > Sent: Monday, January 19, 2009 09:26 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Getting the version from the Assembly file > > Colin Fox wrote: > > I'm not sure why you say that this is rare or dangerous. > > &

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Colin Fox
Every release of our software *is* a major upgrade, so it meets that criteria. I still don't understand why the filename would be an issue. There are GUIDs all over the place for tracking things - why would msi care what I called the file? On Mon, Jan 19, 2009 at 9:25 AM, Bob Arnson wrote: > Co

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Rob Mensching
And no, it isn't common (in my experience). -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Monday, January 19, 2009 09:26 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Getting the version from the Assembly file Colin Fox

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Bob Arnson
Colin Fox wrote: > I'm not sure why you say that this is rare or dangerous. > Because MSI doesn't support changing the .msi package name except by major upgrade. -- sig://boB http://joyofsetup.com/ -- This SF.net

Re: [WiX-users] Getting the version from the Assembly file

2009-01-19 Thread Colin Fox
I'm not sure why you say that this is rare or dangerous. Isn't it, in fact, common practice to have the version number as part of the .msi package name? It's how a user can know which version they're installing. Is this a frowned upon procedure in WiX? On Sat, Jan 17, 2009 at 1:47 PM, Bob Arnso

Re: [WiX-users] Getting the version from the Assembly file

2009-01-17 Thread Bob Arnson
Colin Fox wrote: > my_cool_software%24%28filever%29 > > So is variable substitution not allowed in output names? Or is this a bug? > It would require explicit support, at least in Votive. As it's rare/dangerous, I doubt Votive supports it. You can always do it with a post-build target. -- s

Re: [WiX-users] Getting the version from the Assembly file

2009-01-16 Thread Colin Fox
t; > You can set an environment variable in the build process and then access >> > that inside wix as $(env.projectVersion) >> > >> > Or you can set an Wix variable in the candle command line >> > "candle -dMyProject.Version=" >> > >> &g

Re: [WiX-users] Getting the version from the Assembly file

2009-01-16 Thread Colin Fox
Reggie Burnett [mailto:r...@comcast.net] > Sent: Thursday, January 15, 2009 04:50 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Getting the version from the Assembly file > > I ship 4 binary components that all have the same version so I us

Re: [WiX-users] Getting the version from the Assembly file

2009-01-15 Thread Rob Mensching
or Windows Installer XML toolset. Subject: Re: [WiX-users] Getting the version from the Assembly file I ship 4 binary components that all have the same version so I use a small snippet in my msbuild script that reads the version # from one of the components and then passes that into to wix

Re: [WiX-users] Getting the version from the Assembly file

2009-01-15 Thread Reggie Burnett
From: Colin Fox [mailto:greenene...@gmail.com] > Sent: Wednesday, 14 January 2009 10:11 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Getting the version from the Assembly file > > Yes - our current release strategy is to always release major u

Re: [WiX-users] Getting the version from the Assembly file

2009-01-13 Thread Michael Osmond
o:greenene...@gmail.com] Sent: Wednesday, 14 January 2009 10:11 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Getting the version from the Assembly file Yes - our current release strategy is to always release major upgrades. The entire MSI is under 10 megs so it&#x

Re: [WiX-users] Getting the version from the Assembly file

2009-01-13 Thread Colin Fox
don't see many people > putting the version number in the MSI name. Not a common request thus not > necessarily simple to implement. > > -Original Message- > From: Colin Fox [mailto:greenene...@gmail.com] > Sent: Tuesday, January 13, 2009 14:36 > To: wix-users >

Re: [WiX-users] Getting the version from the Assembly file

2009-01-13 Thread Bob Arnson
Colin Fox wrote: > I'd like go be able to set the version of my application in the assembly.cs > file, and have it used in both the wix file and also in the wix file name. > However you set the version in the assembly source can set a variable to be passed in to candle.exe and light.exe. That

Re: [WiX-users] Getting the version from the Assembly file

2009-01-13 Thread Rob Mensching
Colin Fox [mailto:greenene...@gmail.com] Sent: Tuesday, January 13, 2009 14:36 To: wix-users Subject: [WiX-users] Getting the version from the Assembly file Hi everyone. I'd like go be able to set the version of my application in the assembly.cs file, and have it used in both the wix file a

[WiX-users] Getting the version from the Assembly file

2009-01-13 Thread Colin Fox
Hi everyone. I'd like go be able to set the version of my application in the assembly.cs file, and have it used in both the wix file and also in the wix file name. So if my app is version 1.2.3, I'd like the .msi file to be called "MyAmazingApp_1_2_3.msi" or something equivalent. I've seen some