WIX CustomAction - wie erhalten Sie weitere Informationen unter installieren/melden

Jemand sagte mir, es war ein Weg für die CustomAction im WIX-zur Anzeige der Ausgabe in der Konsole an. Ich bin auch eine .exe genannt XmlPreprocess.exe manipulieren meine web.config, basierend auf parms in einer Datei namens SettingsFileGenerator.xml,

Ich bin mit, wie diese:
msiexec /i " bin\Debug\TFBIC.RCT.WCFWebServicesWIXSetup.msi /L*V "C:\logs\WixInstall01.log"

Dies ist mein WIX-build-file:

 <CustomAction Id="**SAMPLE_CONFIG**" BinaryKey="XMLPREPROCESS" ExeCommand="/i:&quot;[INSTALLLOCATION]web.config&quot; /x:&quot;[INSTALLLOCATION]SettingsFileGenerator.xml&quot; /e:QA /d:ServiceLocation=[SERVICELOCATION]" Execute="deferred" />
    <Binary Id="XMLPREPROCESS" SourceFile="../TFBIC.RCT.WCFWebServices/RequiredBins/XMLPreprocess.exe" />
    <InstallExecuteSequence>
        <Custom Action="SAMPLE_CONFIG" After="StartServices"><![CDATA[NOT Installed]]></Custom>
    </InstallExecuteSequence>

Install-log zeigt das:

Action 15:22:27: StartServices. Starting services
Action start 15:22:27: StartServices.
MSI (s) (58:CC) [15:22:27:898]: Note: 1: 2205 2:  3: ServiceControl
MSI (s) (58:CC) [15:22:27:898]: Note: 1: 2228 2:  3: ServiceControl 4: SELECT `Name`,`Wait`,`Arguments`,`Event`, `Action` FROM `ServiceControl`, `Component` WHERE `Component_` = `Component` AND (`Action` = 0 OR `Action` = 1 OR `Action` = 2)
Action ended 15:22:27: StartServices. Return value 1.
MSI (s) (58:CC) [15:22:27:899]: Doing action: SAMPLE_CONFIG
Action 15:22:27: SAMPLE_CONFIG.
Action start 15:22:27: **SAMPLE_CONFIG**.
SAMPLE_CONFIG:
Action ended 15:22:27: **SAMPLE_CONFIG**. Return value 1.

Dies ist mein aller Erster Versuch zu tun, WIX, also bitte Geduld mit meiner Unwissenheit.

Dank

UPDATE:

Dies ist ein Zitat aus einem anderen forum - aber das muss er auch nicht angeben, wie es funktioniert und er nicht scheinen, um zu überprüfen oft zurück.

WiX hat eine benutzerdefinierte Aktion erfasst
die Ausgabe in der Konsole, und steckt Sie
direkt in die ausführliche MSI-Protokoll, so dass
das ist, was ich verwenden.

Referenz: http://xmlpreprocess.codeplex.com/Thread/View.aspx?ThreadId=79454

Wäre dies das tool, von dem er redet?
http://wix.sourceforge.net/manual-wix2/qtexec.htm
Ich bekomme diese Fehlermeldung, wenn Sie versuchen es:
Fehler LGHT0103: The system cannot find The file 'wixca.dll'.
Ich habe durchsucht die gesamte Festplatte für diese .dll und konnten es nicht finden.

InformationsquelleAutor NealWalters | 2010-01-12
Schreibe einen Kommentar