Feature das standardmäßig deaktiviert ist
Posted 15 September 2006 - 15:52
Ich versuche ein neues Feature in mein vorhandenes Setup zu integrieren, dass standardmäßig nicht mitinstalliert wird. (InstallShield 11 engl. Basic MSI)
Ich habe bereit vor einigen Monaten ein Setup mit mehreren Features veröffentlicht. Nun soll in einem Patch (Nummer 2) ein neues Feature hinzukommen. Dieses soll aber standardmäßig nicht mitinstalliert werden. Erst wenn ein User auf "Ändern" in der Softwareliste von Windows klickt, soll das Feature nachinstalliert werden können. Als Default-Wert soll aber "This feature will not be available" eingestellt sein!
Ich habe schon diverse Einstellungsmöglichkeiten versucht. Von Install Level = 101 (oder höhere Werte) bis hin zum Advertised = "Allow Advertised". Egal was ich einstelle, das Feature wird immer mitinstalliert.
Kann mir jemand sagen, warum das so ist?
Muss ich andere Propertys ändern, damit Install Level überhaupt funktioniert?
Danke bereits vorab.
Posted 16 September 2006 - 09:24
Was sagt das Logfile zum Thema Feature-Auswahl?
Stefan Krüger
InstallSite.org twitter facebook
Posted 18 September 2006 - 08:52
Required steht zur Zeit auf No, jedoch bin ich mir nicht mehr sicher, ob ich hier schon mal Yes versucht habe.
Ich weis leider nicht, wo ich das Logfile finde, bzw. wie ich das einschalten kann. Somit kann ich die dritte Frage jetzt nicht beantworten.
Ist es denn evtl. ein Problem, dass ich mit einem Patch ein neues Feature einführen will/muss? Ist das denn eigentlich so wie ich das in meinem ersten Post geschrieben habe, überhaupt möglich?
Posted 18 September 2006 - 11:09
Zum Logging siehe www.msifaq.de/a/1022.htm
Schau auch mal im Patch Design auf der Registerkarte "Advanced" unter MSI Command Line Arguments. Kann sein dass InstallShield dir das automatisch ein ADDLOCAL für das neu hinzugefügte Feature reinschreibt.
Stefan Krüger
InstallSite.org twitter facebook
Posted 18 September 2006 - 13:34
MSI © (58:60) [14:21:46:580]: PROPERTY CHANGE: Adding EKAINTEGRATION10 property. Its value is 'C:\Inetpub\wwwroot\EkaIntegration10\'.
...
MSI © (58:60) [14:21:46:590]: PROPERTY CHANGE: Adding ADDLOCAL property. Its value is 'Eka'.
Als MSI Command Line Arguments seht der Default-Wert: REINSTALLMODE=omus REINSTALL=ALL
Das Wort ADDLOCAL kann ich hier nicht finden.
Posted 18 September 2006 - 21:38
CODE |
MSI (c) (58:60) [14:21:46:590]: PROPERTY CHANGE: Adding ADDLOCAL property. Its value is 'Eka'. |
Stefan Krüger
InstallSite.org twitter facebook
Posted 19 September 2006 - 07:53
CODE |
MSI (c) (DC:E4) [08:46:56:456]: Dir (target): Key: BIN , Object: C:\Inetpub\wwwroot\DebitexServerProxy10\bin\ MSI (c) (DC:E4) [08:46:56:456]: Dir (target): Key: AppDataFolder , Object: C:\Documents and Settings\Administrator\Application Data\ MSI (c) (DC:E4) [08:46:56:456]: Dir (target): Key: AdminToolsFolder , Object: C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools\ MSI (c) (DC:E4) [08:46:56:456]: Dir (target): Key: ALLUSERSPROFILE , Object: C:\Documents and Settings\All Users\ MSI (c) (DC:E4) [08:46:56:456]: PROPERTY CHANGE: Adding REINSTALL property. Its value is 'Agency,Coface,DebitexServer,Maintenance,Scoring,Schufa,SalesReference,InfoScore,Dnb,CustomerReference,Crefo,Bwi,BankOnline,Bank,SchedulerService'. MSI (c) (DC:E4) [08:46:56:456]: PROPERTY CHANGE: Adding ADDLOCAL property. Its value is 'Eka'. MSI (c) (DC:E4) [08:46:56:506]: Disallowing installation of component: {637DBEDD-0B90-461A-A033-D509C3410471} since the keyfile exists and the component is marked to never overwrite existing installations MSI (c) (DC:E4) [08:46:56:516]: Disallowing installation of component: {59B13EEC-E376-4259-98FF-F06BB994FF6B} since the keyfile exists and the component is marked to never overwrite existing installations MSI (c) (DC:E4) [08:46:56:516]: Disallowing installation of component: {A34BEF38-4584-4615-BE19-162734E5D3A2} since the keyfile exists and the component is marked to never overwrite existing installations |
Zu Testzwecken habe ich das REINSTALL=ALL bei "MSI Command Line Arguments" mal entfernt, jedoch funktioniert auch das nicht.
Posted 19 September 2006 - 09:12
Evtl. musst du das Feature explizit abwählen, z.B. indem du das Property REMOVE setzt, oder mit Hilfe des ControlEvent "Remove".
Stefan Krüger
InstallSite.org twitter facebook
Posted 19 September 2006 - 10:54
Wie in dem beigefügten Bild zu sehen ist, ist "EKA" kein Top-Level Feature und es ist auch nicht "Favor Parent" eingestellt.
Ich würde dann REMOVE testen, wenn ich wüsste, wo ich das setzen soll. Ich das denn eine Condition dieses Features oder muss ich das als MSI CommandLine Argument setzen? Z.B. REMOVE=EKA.
Edited by Healy, 19 September 2006 - 10:54.
Posted 19 September 2006 - 11:09
Stefan Krüger
InstallSite.org twitter facebook
Posted 19 September 2006 - 12:22
CODE |
MSI (c) (24:2C) [13:20:23:257]: PROPERTY CHANGE: Adding REINSTALL property. Its value is 'Agency,Coface,DebitexServer,Maintenance,Scoring,Schufa,SalesReference,InfoScore,Dnb,CustomerReference,Crefo,Bwi,BankOnline,Bank,SchedulerService'. MSI (c) (24:2C) [13:20:23:257]: PROPERTY CHANGE: Adding ADDLOCAL property. Its value is 'Eka'. |
Posted 19 September 2006 - 17:15
Als Test kannst du das REMOVE mal auf der Kommandozeile beim Installieren des Patches setzen. Oder du machst es z.B. auf dem Next-Button der PatchWelcome Dialogs mit dem Control Event "Remove".
Stefan Krüger
InstallSite.org twitter facebook
Posted 20 September 2006 - 09:27
Ich werde das REMOVE noch mal als Übergabeparameter testen, wenn es nichts bringt, dann lass ich das einfach so wie es ist.