Web Bilder Videos Maps News Groups Google Mail Mehr »
Kürzlich besuchte Gruppen | Hilfe | Anmelden
Google Groups-Startseite
Major upgrade ignores some files.
Gegenwärtig gibt es mehrere Themen in dieser Gruppe, die zuerst angezeigt werden sollen. Damit dieses Thema zuerst angezeigt werden kann, muss diese Option bei einem anderen Thema entfernt werden.
Bei der Bearbeitung Ihrer Anfrage ist ein Fehler aufgetreten. Versuchen Sie es erneut.
Kennzeichnen
  5 Nachrichten - Alle einblenden  -  Alles übersetzen in die Sprache: Übersetzt (alle Originale anzeigen)
Bei der Gruppe, für die Sie eine Mitteilung verfassen, handelt es sich um eine Usenet-Gruppe. Wenn Sie in dieser Gruppe Nachrichten posten, ist Ihre E-Mail-Adresse für jeden im Internet sichtbar
Ihre Antwort wurde nicht gesendet.
Die Nachricht wurde übermittelt.
 
Von:
An:
Cc:
Nachtrag zu:
Cc hinzufügen | Nachtrag hinzufügen zu | Betreff bearbeiten
Betreff:
Bestätigung:
Geben Sie zur Bestätigung die im folgenden Bild angezeigten Zeichen oder die durchgesagten Zahlen ein, indem Sie auf das Eingabesymbol klicken. Hören Sie zu und geben Sie die gehörten Zahlen ein
 
Alistair Imrie  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 4 Apr. 2006, 22:35
Newsgroups: microsoft.public.windows.msi
Von: Alistair Imrie <AlistairIm...@discussions.microsoft.com>
Datum: Tue, 4 Apr 2006 13:35:01 -0700
Lokal: Di 4 Apr. 2006 22:35
Betreff: Major upgrade ignores some files.
I've written an MSI to perform a major upgrade of a previous MSI. I've
changed the product code and the upgrade code, but handled this in the
Upgrade table. All the evidence is that the upgrade is correctly attempted.
The problem is that some individual files do not get upgraded. In fact they
get removed. I've moved the RemoveExistingProducts call to immediately after
InstallValidate, which explains why disallowed files go missing altogether,
but it does not explain why the new files were disallowed in the first place.
I am using Windows Installer 2.0, like most of my customers.
The verbose log contains two interesting types of statement:
Type 1: MSI (c) (B8:EC) [14:56:41:147]: Disallowing installation of
component: {9CA00D1B-5F25-46D9-AFAE-A5DC573BCF08} since the same component
with higher versioned keyfile exists
and
Type 2: MSI (c) (B8:EC) [14:56:40:536]: Allowing installation of component:
{F128E592-48E2-4C1A-93C6-63749DBC5981} even though a modified unversioned
keyfile exists and file versioning rules would disable the component
In the case of the type 1 statement, the file is a font (.ttf) file that is
installed to a private directory (not Windows\Fonts). There is no version
info in the file, and the pre-existing file is older than the one in the new
MSI.
In the case of the type 2 statement, this is an MSDE .mdf database file. My
installer shuts down MSDE as part of its StopServices call. In most cases,
this results in all attached database files being stamped with the current
date and time, as they get detached. When that happens, the result is that
new mdf/ldf files do not get installed, and the log records a statement
similar to type 1 (disallowing) above. Occasionally, shutting down MSDE does
not result in a date update, and the result is that files do get updated, and
the type 2 statement above is logged.
I’ve found this so perplexing that I have resorted to performing the upgrade
by having my bootstrapper “manually” remove the pre-existing version before
running my new installer.
Can anybody shed any light on these observations? Why do my font files get
disallowed, and what circumstances cause the type 2 log statements?

    Antwort an Autor    Weiterleiten  
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Stefan Krueger [MVP]  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 5 Apr. 2006, 16:53
Newsgroups: microsoft.public.windows.msi
Von: "Stefan Krueger [MVP]" <skrue...@newsgroups.nospam>
Datum: Wed, 5 Apr 2006 16:53:23 +0200
Lokal: Mi 5 Apr. 2006 16:53
Betreff: Re: Major upgrade ignores some files.
Re 1: Is the ttf file the key file of the component? Did you doubnle check
in your built msi file that it doesn't have a version number in the File
table?
Re 2 "Allowing installation of component ... even though ... file versioning
rules would disable the component": I'm puzzled.

--
Stefan Krueger
Microsoft Windows Installer MVP

Please post your questions in the newsgroup or vist one of these web sites:

Windows Installer FAQ
http://www.msifaq.com - http://www.msifaq.de

InstallSite - Resources for Setup Developers
http://www.installsite.org
http://www.installsite.de (GERMAN)

"Alistair Imrie" <AlistairIm...@discussions.microsoft.com> schrieb im
Newsbeitrag news:9AE5F809-2924-4CAE-B0D4-7DF68B4E6E5E@microsoft.com...


    Antwort an Autor    Weiterleiten  
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Alistair Imrie  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 6 Apr. 2006, 20:37
Newsgroups: microsoft.public.windows.msi
Von: Alistair Imrie <AlistairIm...@discussions.microsoft.com>
Datum: Thu, 6 Apr 2006 11:37:02 -0700
Lokal: Do 6 Apr. 2006 20:37
Betreff: Re: Major upgrade ignores some files.
Thanks for giving this your attention, Stefan.
1) The component contains just two things. Both are ttf files. One is the
key of the component. Neither has a Version in the file table of the built
msi. The problem also occurs with another component, which also contains two
(different) ttf files, in the same way.
2) I'm puzzled too. I've Googled this error message, and found the
occasional posting where others have asked about it. Nobody seems to know
what causes it. Has anyone else ever seen this log message?

By the way, in the case where MSDE does not update database file dates as it
shuts down, the existing file dates are still newer than what the msi
contains. Yet msi is happy to overwrite them. In the case where MSDE does
update file dates, msi disallows its new files.


    Antwort an Autor    Weiterleiten  
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Stefan Krueger [MVP]  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 7 Apr. 2006, 21:19
Newsgroups: microsoft.public.windows.msi
Von: "Stefan Krueger [MVP]" <skrue...@newsgroups.nospam>
Datum: Fri, 7 Apr 2006 21:19:44 +0200
Lokal: Fr. 7 Apr. 2006 21:19
Betreff: Re: Major upgrade ignores some files.
"Alistair Imrie" <AlistairIm...@discussions.microsoft.com> schrieb im
Newsbeitrag news:4AB01E2B-B449-4041-82D8-4637D717F879@microsoft.com...

> By the way, in the case where MSDE does not update database file dates as
> it
> shuts down, the existing file dates are still newer than what the msi
> contains. Yet msi is happy to overwrite them. In the case where MSDE does
> update file dates, msi disallows its new files.

Note that for versionless files Windows Installer doesn't care about the
date of the file in your setup. Instead it compares the created and modified
dates of the existing file to see if the file has been modifued (by the
user) after it was installed. If it was it will not be overwriteen,
otherwise it will be.

I'm not sure what Windows Installer will do if you install a .ttf file
without entry in the Font table. Can you reproduce the problem with other
file types?

--
Stefan Krueger
Microsoft Windows Installer MVP

Please post your questions in the newsgroup or vist one of these web sites:

Windows Installer FAQ
http://www.msifaq.com - http://www.msifaq.de

InstallSite - Resources for Setup Developers
http://www.installsite.org
http://www.installsite.de (GERMAN)


    Antwort an Autor    Weiterleiten  
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Alistair Imrie  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 7 Apr. 2006, 22:58
Newsgroups: microsoft.public.windows.msi
Von: Alistair Imrie <AlistairIm...@discussions.microsoft.com>
Datum: Fri, 7 Apr 2006 13:58:02 -0700
Lokal: Fr. 7 Apr. 2006 22:58
Betreff: Re: Major upgrade ignores some files.
Ah, yes. Thanks for that reminder about versionless files. Does that mean
that the Type 1 log message (Disallowing) is giving me misleading info in
that case? I mean, it seems to report that it *has* compared "versions"
between the existing file and the matching on in the msi.

I have only seen the ttf file problem with these 4 ttf files. If the ttf
files are not going into the Windows Fonts directory (as in my case), does
Windows Installer care what type of file they are?

It would still be useful to know from any msi insiders exactly what
circumstances generate the "allowing... even though..." log message.

Alistair.


    Antwort an Autor    Weiterleiten  
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Ende der Nachrichten
« Zurück zu Diskussionen « Neueres Thema     Älteres Thema »

Eine Gruppe erstellen - Google Groups - Google-Startseite - Nutzungsbedingungen - Datenschutzbestimmungen
©2009 Google