Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-05 Thread nagaram.c
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

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-05 Thread nagaram.c
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

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-05 Thread nagaram.c
; '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

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-05 Thread Blair
[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

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-04 Thread nagaram.c
'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

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-04 Thread Blair
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

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-04 Thread nagaram.c
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

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-04 Thread Blair
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

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-03 Thread nagaram.c
; '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

Re: [WiX-users] writing to console from smoke.exe using customaction

2009-12-31 Thread Blair
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

Re: [WiX-users] writing to console from smoke.exe using customaction

2009-12-31 Thread nagaram.c
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

Re: [WiX-users] writing to console from smoke.exe using customaction

2009-12-29 Thread Schrieken, Rene
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

Re: [WiX-users] writing to console from smoke.exe using customaction

2009-12-28 Thread nagaram.c
...@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

Re: [WiX-users] writing to console from smoke.exe using customaction

2009-12-24 Thread Schrieken, Rene
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

Re: [WiX-users] writing to console from smoke.exe using customaction

2009-12-23 Thread nagaram.c
; 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