Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Dauer Patch-Installation


6 replies to this topic

_mario

_mario
  • Full Members
  • 8 posts

Posted 09 November 2006 - 20:54

Auf Grundlage eines msi-Installationspaketes wurde eine Patch-Datei erstellt, deren Installation in wenigen Sekunden bis zur Statusausgabe "Sicherungsdateien werden entfernt" bei 99% problemlos abläuft. Von diesem Punkt an ist das Setup bei hoher CPU-Auslastung ca. 10-15 Minuten beschäftigt, ohne sichtbaren Installationsfortschritt. Nach dieser langen Wartezeit wird das Setup nach erfolgreicher Installation beendet.

Was kann die Ursache für dieses Verhalten sein?

InstallShield-Version: 10.5
Betriebssystem: Windows XP

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 09 November 2006 - 23:22

Hast du mal eine Logdatei geschrieben um anhand der Zeitstempel zu sehen welche Aktion so lang dauert?

_mario

_mario
  • Full Members
  • 8 posts

Posted 10 November 2006 - 14:39

Hallo,

vielen Dank für das schnelle Feedback!

Die letzte für den Anwender sichtbare Ausgabe des Install-Wizard bevor das Setup über längere Zeit beschäftigt ist, ist die Meldung: "Sicherungsdateien werden entfernt".

Wie in dem Ausschnitt aus der Logdatei (unten) zu sehen, ist das Anlegen sowie das Schließen von MSIHANDLE verantwortlich für die große Verzögerung während der Installation. Ist dieses Verhalten normal bzw. was hat es mit diesen MSIHANDLE auf sich?

=== Verbose logging started: 10.11.2006 12:20:19 ===
*** Setup läuft weiter ***
Aktion gestartet um 12:22:09: ISQuickPatchFixShortcut.
*** Setup läuft weiter ***
MSI © (C4:80) [12:22:09:218]: Transforming table CustomAction.
*** Setup läuft weiter ***
MSI © (C4!78) [12:22:09:569]: Creating MSIHANDLE (7) of type 790540 for thread 376
MSI © (C4!78) [12:22:09:569]: Creating MSIHANDLE (8) of type 790531 for thread 376
MSI © (C4!78) [12:22:09:569]: Creating MSIHANDLE (9) of type 790540 for thread 376
MSI © (C4!78) [12:22:09:569]: Creating MSIHANDLE (10) of type 790531 for thread 376
MSI © (C4!78) [12:23:40:714]: Closing MSIHANDLE (9) of type 790540 for thread 376
MSI © (C4!78) [12:23:40:714]: Closing MSIHANDLE (10) of type 790531 for thread 376
MSI © (C4!78) [12:23:40:714]: Closing MSIHANDLE (8) of type 790531 for thread 376
MSI © (C4!78) [12:23:40:714]: Creating MSIHANDLE (11) of type 790531 for thread 376
MSI © (C4!78) [12:23:40:714]: Creating MSIHANDLE (12) of type 790540 for thread 376
MSI © (C4!78) [12:23:40:724]: Creating MSIHANDLE (13) of type 790531 for thread 376
MSI © (C4!78) [12:25:22:199]: Closing MSIHANDLE (12) of type 790540 for thread 376
MSI © (C4!78) [12:25:22:199]: Closing MSIHANDLE (13) of type 790531 for thread 376
MSI © (C4!78) [12:25:22:199]: Closing MSIHANDLE (11) of type 790531 for thread 376
MSI © (C4!78) [12:25:22:209]: Creating MSIHANDLE (14) of type 790531 for thread 376
MSI © (C4!78) [12:25:22:209]: Creating MSIHANDLE (15) of type 790540 for thread 376
MSI © (C4!78) [12:25:22:209]: Creating MSIHANDLE (16) of type 790531 for thread 376
MSI © (C4!78) [12:25:22:209]: Closing MSIHANDLE (15) of type 790540 for thread 376
MSI © (C4!78) [12:25:22:209]: Closing MSIHANDLE (16) of type 790531 for thread 376
MSI © (C4!78) [12:25:22:209]: Closing MSIHANDLE (14) of type 790531 for thread 376
MSI © (C4!78) [12:25:22:209]: Creating MSIHANDLE (17) of type 790531 for thread 376
MSI © (C4!78) [12:25:22:209]: Creating MSIHANDLE (18) of type 790540 for thread 376
MSI © (C4!78) [12:25:22:209]: Creating MSIHANDLE (19) of type 790531 for thread 376
MSI © (C4!78) [12:26:37:602]: Closing MSIHANDLE (18) of type 790540 for thread 376
MSI © (C4!78) [12:26:37:602]: Closing MSIHANDLE (19) of type 790531 for thread 376
MSI © (C4!78) [12:26:37:602]: Closing MSIHANDLE (17) of type 790531 for thread 376
MSI © (C4!78) [12:26:37:602]: Creating MSIHANDLE (20) of type 790531 for thread 376
MSI © (C4!78) [12:26:37:602]: Creating MSIHANDLE (21) of type 790540 for thread 376
MSI © (C4!78) [12:26:37:602]: Creating MSIHANDLE (22) of type 790531 for thread 376
MSI © (C4!78) [12:27:47:995]: Closing MSIHANDLE (21) of type 790540 for thread 376
...
MSI © (C4:74) [12:59:12:923]: Closing MSIHANDLE (5) of type 790542 for thread 3200
Aktion beendet um 12:59:12: ISQuickPatchFixShortcut. Rückgabewert 1.
*** Setup läuft weiter ***
Aktion 12:59:13: SetupCompleteSuccess. Dialog created
=== Verbose logging stopped: 10.11.2006 12:59:18 ===


Mario

Edited by _mario, 10 November 2006 - 14:39.


ali

ali
  • Full Members
  • 1,008 posts

Posted 10 November 2006 - 15:18

hat's evtl was mit der Windows Installer Version zu tun? Welche Version hat denn die MSI.DLL im System32 Verzeichnis?

_mario

_mario
  • Full Members
  • 8 posts

Posted 10 November 2006 - 15:53

Das ist die Version 3.1.4000.2435.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 10 November 2006 - 19:49

Immer wenn eine Custom Action startet wird dafür ein msihandle aufgemacht, und danach wieder geschlossen. In diesem Fall sieht es so aus als ob die Aktion ISQuickPatchFixShortcut so lange braucht. Leider habe ich keine Ahnung warum die so lange braucht.
Evtl. kannst du mal mit dem Process Monitor (http://www.microsoft...essmonitor.mspx) ob es wirklich diese Aktion ist (sie ist in der InstallShield Hilfe lurz beschrieben) und auf welche Datein etc. sie versucht zuzugreifen. Vielleicht findest du so die Ursache des Problems.

_mario

_mario
  • Full Members
  • 8 posts

Posted 14 November 2006 - 15:50

Hallo Stefan,

vielen Dank für die schnelle Antwort!

Bei der weiteren Untersuchung habe ich festgestellt, dass die Zeitverzögerung entfällt, wenn ich für die benutzerdefinierte Aktion "ISQuickPatchFixShortcut" eine andere UI-Bedingung angebe (statt "PATCH": "PATCH AND Version9X"), so dass die Aktion während der Installation nicht ausgeführt wird. Das löschen der Aktion hingegen schlägt fehl und endet in einem Abbruch der Installation.

Meine Frage wäre jetzt natürlich noch, welche Auswirkung das Weglassen dieser Aktion hat, die bei Anlegen eines neuen Projektes bereits vorgegeben ist. Auf welche Weise könnte sich das Weglassen von "ISQuickPatchFixShortcut" negativ auf die installierte Anwendung auswirken?