DSNAttributes collects MSI attributes and translates them onto an attribute string. More...
#include <DSNAttributes.h>
Public Member Functions | |
DSNAttributes (MSIHANDLE hInstall) | |
void | AddPropertyValue (const std::wstring &property_name, const std::wstring &attribute_name, bool blank=false) |
add the value of property_name as attribute_name to DSN_ATTRIBUTES | |
std::wstring | GetAttributes () const |
get the attributes value string | |
DSNAttributes () | |
void | Add (const std::wstring &namevaluepair) |
add a value of format name=value | |
void | AddRange (const std::vector< std::wstring > &namevaluepairs) |
add an array of values of format name=value | |
std::wstring | GetAttributes () const |
get the attributes value string |
DSNAttributes collects MSI attributes and translates them onto an attribute string.
DSNAttributes collects MSI attributes and translates them onto a DSN_ATTRIBUTES string
DSNAttributes::DSNAttributes | ( | MSIHANDLE | hInstall | ) |
DSNAttributes::DSNAttributes | ( | ) |
void DSNAttributes::Add | ( | const std::wstring & | namevaluepair | ) |
add a value of format name=value
void DSNAttributes::AddPropertyValue | ( | const std::wstring & | property_name, |
const std::wstring & | attribute_name, | ||
bool | blank = false |
||
) |
add the value of property_name as attribute_name to DSN_ATTRIBUTES
void DSNAttributes::AddRange | ( | const std::vector< std::wstring > & | namevaluepairs | ) |
add an array of values of format name=value
std::wstring DSNAttributes::GetAttributes | ( | ) | const |
get the attributes value string
std::wstring DSNAttributes::GetAttributes | ( | ) | const |
get the attributes value string
© Application Security Inc. - All Rights Reserved | http://msiext.codeplex.com |