Further testing shows that when CustomActionData needs to be blank it

is an empty string not ' '.
This commit is contained in:
Aric Stewart 2005-07-12 19:18:48 +00:00 committed by Alexandre Julliard
parent 8012754ee2
commit 2e963b89e2
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ UINT ACTION_CustomAction(MSIPACKAGE *package,LPCWSTR action, BOOL execute)
static const WCHAR szActionData[] = {
'C','u','s','t','o','m','A','c','t','i','o','n','D','a','t','a',0};
static const WCHAR szBlank[] = {' ',0};
static const WCHAR szBlank[] = {0};
LPWSTR actiondata = load_dynamic_property(package,action,NULL);
if (actiondata)
MSI_SetPropertyW(package,szActionData,actiondata);