> > how to automate version number The best way IMO is to put the version information into a seperate small file. Something like this: <?xml version="1.0" encoding="utf-8"?> <Include> <?define ApplicationVersion = "3" ?> <?define MajorVersion = "1" ?> <?define MinorVersion = "0" ?> <?define BuildNumber = "0" ?> <?define SpecialVersion = "" ?> </Include>
Then you can include it in other wix files: <?include Version.wxi ?> and you use the variables where apropriate: <Product Id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" Name="FooBar" Language="1033" Version=""$(var.ApplicationVersion).$(var.MajorVersion).$(var.MinorVersion).$(var.BuildNumber)" Manufacturer="Acme" UpgradeCode="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"> I use a perl script to write the Version.wxi file, but other methods might work as well. - Kim -- *Kim Gybels Software Developer * kim.gyb...@metris.com <mailto:kim.gyb...@metris.com> Tel: +32 16 74 01 01 Fax: +32 16 74 01 02 * Metris Europe * Interleuvenlaan 86 3001 Leuven Belgium www.metris.com <http://www.metris.com/> This message and any attachment are privileged, confidential and contain private information. If you are not the addressee named above any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is prohibited. If you have received this transmission in error, please notify the sender immediately and destroy this e-mail. Metris does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interference, and shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Incoming and outgoing email communications may be monitored by Metris, as permitted by applicable law and regulations. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users