Right, that's because you can only add temporary records from inside the
custom action.
-- Yan
-Original Message-
From: vunder [mailto:vun...@bk.ru]
Sent: Friday, April 09, 2010 15:52
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problems with adding items to Li
Problem solving with this query:
swprintf_s(lPath, L"INSERT INTO `ListBox`
(`Property`,`Order`,`Value`,`Text`) VALUES ('SELECTEDGUICONFIG', %d, '%d',
'%s') TEMPORARY", i++, i, sr.cFileName);
I added "TEMPORARY" at the end of the query and it work's
--
View this message in context:
http://n2
Thanks. MsiDatabaseOpenView() worked with
swprintf_s(lPath, L"INSERT INTO `ListBox`
(`Property`,`Order`,`Value`,`Text`) VALUES ('SELECTEDGUICONFIG', %d, '%d',
'%s')", i++, i, sr.cFileName);
But now there is another problem with MsiViewExecute(). I call it after
MsiDatabaseOpenView():
eforge.net
Subject: [WiX-users] Problems with adding items to ListBox
I have listbox in dialog:
Custom action:
C++ code:
void LogMsiMessage(MSIHANDLE hInstall, LPCWSTR szText) {
PMSIHANDLE hErr = MsiCreateRecord(
I have listbox in dialog:
Custom action:
C++ code:
void LogMsiMessage(MSIHANDLE hInstall, LPCWSTR szText) {
PMSIHANDLE hErr = MsiCreateRecord(1);
MsiRecordSetString(hErr, 0, szText);
MsiProcessMessage
5 matches
Mail list logo