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 ListBox


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.nabble.com/Problems-with-adding-items-to-ListBox-tp4875793p487
6874.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------
------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to