John,

You're right light.exe replaces the default version, I just checked my msi with 
orca and found the 'old' version number there.

At the time I made this change I also fixed something in the setup so it always 
does a major upgrade, that probably solved my problem.

Good luck,

Valentijn Makkenze

Vicrea Solutions B.V.
Postbus 1489
3800 BL Amersfoort
tel: 033-4604080
fax: 033-4604088
gsm: 06-29011926
www.vicrea.nl

-----Original Message-----
From: John Hatton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2008 10:41 AM
To: Valentijn Makkenze
Subject: Re: [WiX-users] My installer ate my file

Valentijn,
Thanks for the pointer.

Unfortunately, setting DefaultVersion to "9.9.9" didn't seem to have any 
effect.  Maybe I screwed up, but I'm having trouble getting any useful 
documentation on this attribute.  The wix docs just say " This is the default 
version of this file. The linker will replace this value from the value in the 
file if the suppress files option is not used."

This is confusing to me.  "Replace this... from... that"?  If it said "replace 
the value in the file with this value", that would at least make grammatical 
sense.  If "default" means "if the file is missing a version number, this will 
used", that would make sense, too.  I would guess that was the intended 
meaning.  But if so, that's not going to help me, because all the assemblies I 
work with are versioned already.

In a 2003 blog post, Rob wrote:
"Of course, you can override that rule ... and force all the files in a 
Component to get installed even if some of the files exist with newer 
versions..."

but then didn't describe how. This was perhaps written in the days where it was 
less common to just install all the pieces you need for a product in its own 
directory, avoiding dll hell.  Now, it seems to me, most simple apps, 
installing stuff only to their own directly, would want exactly this behavoir.

Do you think DefaultVersion should have worked?  Other ideas?

Thanks
John

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to