[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Re: Nightly installation bug?

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-10-21 18:53:20 CEST

Erv Walter wrote:

> Having just spend a couple weeks working with WiX for my company's
> product, here is my input:
>
> *If* you wanted to change both everytime (which it sounds like you
> don't), WiX supports ????????-????-????-????-???????????? in the
> Package ID and Product ID fields. It will then generate a new GUID at
> build time. However, it's not that simple, if you just change those

Wow! How did you find that one out? I've searched the wix docs and
couldn't find anything about that!

> without changing the version number, the installer won't upgrade the
> existing installer, it will just install another copy. If you adjust
> the upgrade table to do upgrades when the current version is already
> installed, then the maintenance dialog won't come up when someone reruns
> the MSI for their current install.

We could simply generate the version number with our SubWCRev tool, i.e.
the fourth part of the version number would then be the revision number.

> My suggestion would be to use ????????-????-????-????-???????????? for
> the package Id (since it really is supposed to change whenever a new MSI
> is built anyway). Leave the version number and Product ID alone for
> nightlies and only change them at release time. Then, it may be usually

I changed the build script so that the package and product ids now have
the ??? in it and therefore will be created automatically at build time.
Also, it calls SubWCRev before building the msi's to fill in the version
number in the wxs file. I think this should do it for the nightly builds...
(revision 1842)

Thanks a lot for your help!

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Oct 21 21:47:52 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.