agara...@symphony.cc]
Sent: Tuesday, January 05, 2010 12:39 AM
To: 'Blair'; 'General discussion for Windows Installer XML toolset.';
'Schrieken, Rene'
Subject: Re: [WiX-users] writing to console from smoke.exe using
customaction
It looks like MsiProcessMessage works only
ler XML toolset.';
'Schrieken, Rene'
Subject: RE: [WiX-users] writing to console from smoke.exe using
customaction
These CA are called through DoAction, in the msdn it is clearly stated that
if MsiProcessMessage invoked through DoAction the function will not work.
http://msdn.microsoft
; 'General discussion for Windows Installer XML
toolset.'; 'Schrieken, Rene'
Subject: RE: [WiX-users] writing to console from smoke.exe using
customaction
Tests in a .CUB are always run from a sequence table (similar to the UI
sequence table, but the sequence table is named _ICESe
[mailto:nagara...@symphony.cc]
Sent: Monday, January 04, 2010 10:39 PM
To: 'Blair'; 'General discussion for Windows Installer XML toolset.';
'Schrieken, Rene'
Subject: RE: [WiX-users] writing to console from smoke.exe using
customaction
It looks like MsiProcessMessage work
'Schrieken, Rene'
Subject: RE: [WiX-users] writing to console from smoke.exe using
customaction
Something like this?
int SendSampleICEMessage(void)
{
PMSIHANDLE hRecord = MsiCreateRecord(1);
UINT error = MsiRecordSetString(hRecord, 0,
"Name of ICE\tMessage Type\tDescription\tHe
eturn (int) error;
}
-Original Message-
From: nagaram.c [mailto:nagara...@symphony.cc]
Sent: Monday, January 04, 2010 5:20 AM
To: 'Blair'; 'General discussion for Windows Installer XML toolset.';
'Schrieken, Rene'
Subject: RE: [WiX-users] writing to console from sm
lair'; 'General discussion for Windows Installer XML toolset.';
'Schrieken, Rene'
Subject: RE: [WiX-users] writing to console from smoke.exe using
customaction
Thanks Blair, yes I have read it in MSDN, but the example code for such
configuration uses Microsoft Installer project
e-
From: Blair [mailto:os...@live.com]
Sent: Thursday, December 31, 2009 9:47 PM
To: nagara...@symphony.cc; 'General discussion for Windows Installer XML
toolset.'; 'Schrieken, Rene'
Subject: RE: [WiX-users] writing to console from smoke.exe using
customaction
Custom
; 'General discussion for Windows Installer XML
toolset.'; 'Schrieken, Rene'
Subject: RE: [WiX-users] writing to console from smoke.exe using
customaction
Custom Actions in CUB files are supposed to be immediate custom actions.
Please read MSDN. Use MsiProcessMessage.
-Origin
ndows Installer XML
toolset.'
Subject: Re: [WiX-users] writing to console from smoke.exe using
customaction
With the below code WriteFile is returning false, GetLastError shows “Handle
is invalid”
Nag
_
From: Schrieken, Rene [mailto:rene.schrie...@logica.com]
Sent: Tuesday, Decemb
Subject: RE: [WiX-users] writing to console from smoke.exe using
customaction
Looking at your code and reading msdn WriteConsole(szBuffer); might fail.
Something with ansi and widechar but this is really not my area of
expertise. Can you try to see if this might work: (everybody else: HELP
this...
Van: nagaram.c [mailto:nagara...@symphony.cc]
Verzonden: di 29-12-2009 8:04
Aan: Schrieken, Rene; 'General discussion for Windows Installer XML toolset.';
'General discussion for Windows Installer XML toolset.'
Onderwerp: Re: [WiX-users] writing to console from smok
...@logica.com]
Sent: Thursday, December 24, 2009 10:46 AM
To: nagara...@symphony.cc; General discussion for Windows Installer XML
toolset.; General discussion for Windows Installer XML toolset.
Subject: RE: [WiX-users] writing to console from smoke.exe using
customaction
smoke.exe - cub myCub.cub
Windows Installer XML toolset.'; 'Blair'
Onderwerp: Re: [WiX-users] writing to console from smoke.exe using customaction
I found a solution, the custom action DLL isn't writing to console unless I
call AttachConsole as like below
cpid = GetCurrentProcessId();
hWnd = FindWindow
; switch in the command line could get appended every time the program is
executed
Nag
-Original Message-
From: nagaram.c [mailto:nagara...@symphony.cc]
Sent: Tuesday, December 22, 2009 11:54 PM
To: 'Blair'; 'General discussion for Windows Installer XML toolset.'
Subj
15 matches
Mail list logo