Hi Mike,
Thanks for your reply, thats what i feared. I will change all my DLLs
version to 6.2.200 instead of 6.2.20, that should fix it.
I understand that it is prefereable to not lie to the MSI, so i wont.
Thanks
On 5/17/07, Mike Dimmick <[EMAIL PROTECTED]> wrote:
Sorry, you must set the actual version number correctly (i.e. higher than
the previous release). Windows Installer uses the version information in the
File table to work out whether a file needs replacing, true, but if you lie
about the file's actual version number, Windows Installer will always think
that the file needs to be replaced when called on to perform any install
task (e.g. when running a program via an advertised shortcut). This might
cause surprising requests for the installation source or even outright
failures if the install source is not present.
That's why WiX offers no way to set the version number of a versioned file
– it only reads the information directly from the file itself.
I don't think there are any tools in the SDK to edit a DLL's version
number.
--
Mike Dimmick
------------------------------
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Carl Quirion
*Sent:* 17 May 2007 14:33
*To:* wix-users@lists.sourceforge.net
*Subject:* [WiX-users] Overwriting dll with higher version number
Hi All,
I am having a bit of an issue. We are rebuilding our installer, using wix,
to replace our old (and bad) installer.
Some files (even all) may already be on the target computer. So far
everything was working properly, file that were present registered as
"Absent" ans got installed by the installer.
But ive found a case where it does not work.
Some files have, for version number, 6.2.191
My new files have 6.2.20
That 6.2.191 means 6.2.19.1 (VB doesnt let us have 4 parts to the version
number).
So, my 6.2.20 are newer and are the one to install, however 191 > 20 ...
So those file "Action" becomes Null: MSI (s) (70:A0) [09:01:02:567]:
Component: LookupGui.dll; Installed: Absent; Request: Local; Action:
Null
How could i have my files always overwrite, without looking for a version
number?
I could change the version of all my DLLs for 6.2.200 instead, but we have
a few hundreds, and that would be a major pain. (Esp. considering that they
are all tagged under sourcesafe and that changes has been made since this
tag)
--
Carl Quirion
[EMAIL PROTECTED]
--
Carl Quirion
[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users