Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: installer/src/installer-lib/interaction.cpp

Issue 5675960980471808: Updated installer with custom action (Closed)
Patch Set: Created March 8, 2014, 5:06 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: installer/src/installer-lib/interaction.cpp
===================================================================
--- a/installer/src/installer-lib/interaction.cpp
+++ b/installer/src/installer-lib/interaction.cpp
@@ -5,9 +5,25 @@
#include "interaction.h"
/*
- * /sa MSDN "MsiProcessMessage function"
- * http://msdn.microsoft.com/en-us/library/windows/desktop/aa370354%28v=vs.85%29.aspx
- *
- * /sa MSDN "Sending Messages to Windows Installer Using MsiProcessMessage"
- * http://msdn.microsoft.com/en-us/library/windows/desktop/aa371614%28v=vs.85%29.aspx
- */
+ * The two constructors are identical except for the type of argument 'message'
+ * They rely on overloads of the Message constructor
+ */
+Installer_Message_Box::Installer_Message_Box(
+ std::wstring message,
+ box_type box,
+ buttonset_type buttonset,
+ default_button_type default_button,
+ icon_type icon
+)
+ : Message( message, INSTALLMESSAGE( box | buttonset | default_button | icon ) )
+{}
+
+Installer_Message_Box::Installer_Message_Box(
+ std::string message,
+ box_type box,
+ buttonset_type buttonset,
+ default_button_type default_button,
+ icon_type icon
+)
+ : Message( message, INSTALLMESSAGE( box | buttonset | default_button | icon ) )
+{}

Powered by Google App Engine
This is Rietveld