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

zwei Mal gleiche msi ausführen


1 reply to this topic

bernard

bernard
  • Full Members
  • 127 posts

Posted 03 September 2010 - 10:12

habe IS 2011 Professional

Im Basic MSI Projekt rufe ich als CustomAction (CA)
msiexec /i "mein.msi" INSTALLDIR="Ziel_Path" INSTALL_MODE="Teil-1" /L*VX "%TEMP%\mein-sh.log"
aus.
mein.msi ist ein Basic MSI Projekt auch.

Es wird "Teil-1" vom mein.msi ausgepackt. Ist richtig!
Wird ins HKLM\...\Uninstall\{mein.msi-guid} eingetragen.

Problem:
Im "Ziel_Path" directory liegt ein setup.exe vom InstallScript (ohne MSI) Projekt.
Das Projekt braucht "Teil-2" vom mein.msi nur.
1. Versuch
msiexec /i "mein.msi" INSTALLDIR="Work_Path" INSTALL_MODE="Teil-2" /L*VX "%TEMP%\mein-work.log"
- kommt Dialog -> MaintenanceType mit Modify, Repair und Remove.
2. Versuch
msiexec /i {guid} INSTALLDIR="Work_Path" INSTALL_MODE="Teil-2" /L*VX "%TEMP%\mein-work.log"
- kommt Dialog -> MaintenanceType mit Modify, Repair und Remove.

Wie rufe ich mein.msi File mit Property -> INSTALL_MODE="Teil-2" ?

Danke in Voraus

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 06 September 2010 - 21:04

Du solltest nicht ein MSI-Setup aus einem anderen MSI-Setup heraus als Custom Action aufrufen. Warum verwendest du für das "äußere" Setup nicht den Projekttyp "InstallScript"?