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

XML Prerequirement erstellen


6 replies to this topic

stegerwald

stegerwald
  • Members
  • 7 posts

Posted 27 October 2005 - 10:30

Hallo,

ich arbeite mit IS Pro 11 und will das XML-Dateiänderungs-Feature verwenden.
Laut Doku muss dafür auf dem Zielsystem Microsoft XML Core Services installiert sein. Wie kann ich die als "Prerequisite" dem Setup hinzufügen?
Bei den Installationsvoraussetzunen kann ich z.B.
Acrobat Reader 5
InternetExplorer 5 / 6 und
MDAC 2.6 und 2.7 wählen.
Wie kann ich diese Liste erweitern?

In der IDE kann ich eine "benutzerdefinierte Softwarebedingung" erstellen, aber
dafür muss ich eine Dateisuche durchführen? Wie gehe ich da vor, um
z.B. XML 4.0 zu installieren?
XML 4.0 gibts ja nur als Merge Module, muss ich dafür dann ein Setup
erstellen und dies dann für ein benutzerdefiniertes Prerequisite verwenden?
Gibts das nicht fertig irgendwo zum Download, das bräuchte doch eigenltich
jeder der das XML Feature verwenden will???

Danke für jede Hilfe
Gruss
Frank

Edited by stegerwald, 27 October 2005 - 11:25.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 27 October 2005 - 12:55

Hast du es mal mit dem Merge Modul versucht? Die XML-Aktion kommt doch erst nach dem Datei-Kopieren, also auch nach der Instalaltion des XML-Dateien.

stegerwald

stegerwald
  • Members
  • 7 posts

Posted 27 October 2005 - 13:53

Hi,

danke für die Antwort, hat funktioniert.

Ich hatte das vorher schon probiert und da bekam ich
jedesmal einen Rollback beim Setup-Ausführen.
Bestimmt irgend ein Fehler meinerseits.
Jetzt funktionierts auf jeden Fall.

DANKE für die Hilfe

stegerwald

stegerwald
  • Members
  • 7 posts

Posted 27 October 2005 - 14:22

Tja, leider doch nicht:

Die installation auf einem "nackten" XP SP2 hat 1x funktioniert.
Da wurde auch das .NET Framework installiert. Anschliessend hat
das Setup einen Reboot verlangt um weitermachen zu können.
Nach dem Reboot lief das Setup komplett durch.

Anschliessend habe ich die Software deinstalliert und eine erneute
Installation versucht. Die schlägt jetzt regelmässig fehl (ohne
optische Fehlermeldung, es passiert ein Rollback). Hier mal das Logfile,
das ich mitprotokolliert habe:

=== Logging started: 27.10.2005 15:12:21 ===
Action 15:12:21: INSTALL.
Action start 15:12:21: INSTALL.
Action 15:12:21: SystemFolder.21206420_6BA8_4CFB_A48C_C72A6BFE80C0.
Action start 15:12:21: SystemFolder.21206420_6BA8_4CFB_A48C_C72A6BFE80C0.
Action ended 15:12:21: SystemFolder.21206420_6BA8_4CFB_A48C_C72A6BFE80C0. Return value 1.
Action 15:12:21: CommonFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8.
Action start 15:12:21: CommonFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8.
Action ended 15:12:21: CommonFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8. Return value 1.
Action 15:12:21: ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8.
Action start 15:12:21: ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8.
Action ended 15:12:21: ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8. Return value 1.
Action 15:12:21: AppSearch. Searching for installed applications
Action start 15:12:21: AppSearch.
Action ended 15:12:21: AppSearch. Return value 1.
Action 15:12:21: LaunchConditions. Evaluating launch conditions
Action start 15:12:21: LaunchConditions.
Action ended 15:12:21: LaunchConditions. Return value 1.
Action 15:12:21: SetupInitialization.
Action start 15:12:21: SetupInitialization.
Info 2898.Tahoma8, Tahoma, 0
Info 2898.TahomaBold10, Tahoma, 0
Action 15:12:21: SetupInitialization. Dialog created
Action ended 15:12:21: SetupInitialization. Return value 1.
Action 15:12:21: FindRelatedProducts. Searching for related applications
Action start 15:12:21: FindRelatedProducts.
Action ended 15:12:21: FindRelatedProducts. Return value 1.
Action 15:12:21: ValidateProductID.
Action start 15:12:21: ValidateProductID.
Action ended 15:12:21: ValidateProductID. Return value 1.
Action 15:12:21: CostInitialize. Computing space requirements
Action start 15:12:21: CostInitialize.
Action ended 15:12:21: CostInitialize. Return value 1.
Action 15:12:21: FileCost. Computing space requirements
Action start 15:12:21: FileCost.
Action ended 15:12:22: FileCost. Return value 1.
Action 15:12:22: IsolateComponents.
Action start 15:12:22: IsolateComponents.
Action ended 15:12:22: IsolateComponents. Return value 1.
Action 15:12:22: setUserProfileNT.
Action start 15:12:22: setUserProfileNT.
Action ended 15:12:22: setUserProfileNT. Return value 1.
Action 15:12:22: setAllUsersProfile2K.
Action start 15:12:22: setAllUsersProfile2K.
Action ended 15:12:22: setAllUsersProfile2K. Return value 1.
Action 15:12:22: ResolveSource.
Action start 15:12:22: ResolveSource.
Action ended 15:12:22: ResolveSource. Return value 1.
Action 15:12:22: CostFinalize. Computing space requirements
Action start 15:12:22: CostFinalize.
Action ended 15:12:22: CostFinalize. Return value 1.
Action 15:12:22: MigrateFeatureStates. Migrating feature states from related applications
Action start 15:12:22: MigrateFeatureStates.
Action ended 15:12:22: MigrateFeatureStates. Return value 0.
Action 15:12:22: InstallWelcome.
Action start 15:12:22: InstallWelcome.
Action 15:12:23: InstallWelcome. Dialog created
Info 2898.MSSansBold8, Tahoma, 0
Info 2898.MSSWhiteSerif8, Tahoma, 0
Action 15:12:24: LicenseAgreement. Dialog created
Action 15:12:26: CustomerInformation. Dialog created
Action 15:12:27: SetupType. Dialog created
DEBUG: Error 2826: Control DlgLine on dialog ReadyToInstall extends beyond the boundaries of the dialog to the right by 64 pixels
Internal Error 2826. ReadyToInstall, DlgLine, to the right
Action 15:12:28: ReadyToInstall. Dialog created
Action ended 15:12:29: InstallWelcome. Return value 1.
Action 15:12:29: SetupProgress.
Action start 15:12:29: SetupProgress.
Action 15:12:29: SetupProgress. Dialog created
Action ended 15:12:29: SetupProgress. Return value 1.
Action 15:12:29: ExecuteAction.
Action start 15:12:29: ExecuteAction.
Action 15:12:30: INSTALL.
Action start 15:12:30: INSTALL.
Action 15:12:30: SystemFolder.21206420_6BA8_4CFB_A48C_C72A6BFE80C0.
Action start 15:12:30: SystemFolder.21206420_6BA8_4CFB_A48C_C72A6BFE80C0.
Action ended 15:12:30: SystemFolder.21206420_6BA8_4CFB_A48C_C72A6BFE80C0. Return value 1.
Action 15:12:30: CommonFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8.
Action start 15:12:30: CommonFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8.
Action ended 15:12:30: CommonFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8. Return value 1.
Action 15:12:30: ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8.
Action start 15:12:30: ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8.
Action ended 15:12:30: ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8. Return value 1.
Action 15:12:30: AppSearch. Searching for installed applications
Action start 15:12:30: AppSearch.
Action ended 15:12:30: AppSearch. Return value 0.
Action 15:12:30: LaunchConditions. Evaluating launch conditions
Action start 15:12:30: LaunchConditions.
Action ended 15:12:30: LaunchConditions. Return value 1.
Action 15:12:30: FindRelatedProducts. Searching for related applications
Action start 15:12:30: FindRelatedProducts.
Action ended 15:12:30: FindRelatedProducts. Return value 0.
Action 15:12:30: ValidateProductID.
Action start 15:12:30: ValidateProductID.
Action ended 15:12:30: ValidateProductID. Return value 1.
Action 15:12:30: CostInitialize. Computing space requirements
Action start 15:12:30: CostInitialize.
Action ended 15:12:30: CostInitialize. Return value 1.
Action 15:12:30: FileCost. Computing space requirements
Action start 15:12:30: FileCost.
Action ended 15:12:30: FileCost. Return value 1.
Action 15:12:30: IsolateComponents.
Action start 15:12:30: IsolateComponents.
Action ended 15:12:30: IsolateComponents. Return value 1.
Action 15:12:30: CostFinalize. Computing space requirements
Action start 15:12:30: CostFinalize.
Action ended 15:12:30: CostFinalize. Return value 1.
Action 15:12:30: SetARPINSTALLLOCATION.
Action start 15:12:30: SetARPINSTALLLOCATION.
Action ended 15:12:30: SetARPINSTALLLOCATION. Return value 1.
Action 15:12:30: SetODBCFolders. Initializing ODBC directories
Action start 15:12:30: SetODBCFolders.
Action ended 15:12:30: SetODBCFolders. Return value 1.
Action 15:12:30: MigrateFeatureStates. Migrating feature states from related applications
Action start 15:12:30: MigrateFeatureStates.
Action ended 15:12:30: MigrateFeatureStates. Return value 0.
Action 15:12:30: InstallValidate. Validating install
Action start 15:12:30: InstallValidate.
Action ended 15:12:31: InstallValidate. Return value 1.
Action 15:12:31: RemoveExistingProducts. Removing applications
Action start 15:12:31: RemoveExistingProducts.
Action ended 15:12:31: RemoveExistingProducts. Return value 1.
Action 15:12:31: InstallInitialize.
Action start 15:12:31: InstallInitialize.
Action ended 15:12:44: InstallInitialize. Return value 1.
Action 15:12:44: ISXmlCosting.
Action start 15:12:44: ISXmlCosting.
1: MSXML 4 not installed...
Action 15:12:46: Progress Custom Action. Costing XML files...
Action ended 15:12:48: ISXmlCosting. Return value 3.
Action ended 15:12:48: INSTALL. Return value 3.


Hat jemand eine Idee, was da schieflaufen könnte?
Die Aktion "ISXmlCosting" scheint wohl fehlzuschlagen


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 27 October 2005 - 16:10

Vielleicht macht der Uninstall irgendwas mit den XML Dateien kaputt?
Hast du auch alle InstallShield ServicePacks/Hotfixes installiert?

ali

ali
  • Full Members
  • 1,008 posts

Posted 27 October 2005 - 16:11

Hast du mal mit /L*V geloggt?

stegerwald

stegerwald
  • Members
  • 7 posts

Posted 02 November 2005 - 11:14

Hallo,

sorry, ich hatte Urlaub die letzten tage.

Hotfixes habe ich hoff. alle eingespielt. IS 11 hat einmal gemeldet,
das ein Update vorliegt, das hat sich dann auch installiert.

Es scheint nicht am fehlenden XML 4.0 zu liegen, sondern
einfach daran, das ich die XML Features von Installshield11
verwende.???

Hier mal das detaillierte Log (ich habe nur den relevanten part kopiert):



Action 16:10:15: ISXmlCosting.
Action start 16:10:15: ISXmlCosting.
MSI (s) (FC:74) [16:10:15:378]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI42.tmp, Entrypoint: ISXmlCosting
MSI (s) (FC:3C) [16:10:15:378]: Generating random cookie.
MSI (s) (FC:3C) [16:10:15:448]: Created Custom Action Server with PID 1208 (0x4B8).
MSI (s) (FC:60) [16:10:15:738]: Running as a service.
MSI (s) (FC:74) [16:10:15:828]: Hello, I'm your 32bit Impersonated custom action server.
1: MSXML 4 not installed...
Action 16:10:17: Progress Custom Action. Costing XML files...
MSI (s) (FC!C8) [16:10:18:342]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:18:382]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:18:422]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:18:572]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:18:612]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:18:652]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:18:803]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:18:853]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:18:893]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:19:083]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:19:123]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:19:173]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:19:363]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:19:474]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:19:514]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:19:664]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:19:694]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:19:734]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:19:784]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:19:824]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:19:894]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:19:944]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:20:014]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:20:054]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:20:094]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:20:135]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:20:365]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:20:405]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
MSI (s) (FC!C8) [16:10:20:475]: Note: 1: 2262 2: ISXmlElementAttrib 3: -2147287038
Action ended 16:10:21: ISXmlCosting. Return value 3.

Edited by stegerwald, 02 November 2005 - 11:15.