[wix-users] Message Box in Wix Control & Custom Action
Nir Bar
nir.bar at panel-sw.com
Wed Apr 4 10:38:35 PDT 2018
The following code works for me in C++
You can try porting it to C#
hRecord = ::MsiCreateRecord(1);
ExitOnNullWithLastError(hRecord, hr, "Failed to create a warning record.");
hr = WcaSetRecordString(hRecord, 0, szMsg);
ExitOnFailure(hr, "Failed to set warning record message");
WcaProcessMessage( INSTALLMESSAGE::INSTALLMESSAGE_WARNING, hRecord);
--
Nir Bar, Independent WiX Expert. Creator of-
JetBA: WiX WPF Bootstrapper User Interface Framework
JetBA++: WiX Native Bootstrapper User Interface Framework
More information about the wix-users
mailing list