Further testing shows that when CustomActionData needs to be blank it
is an empty string not ' '.
This commit is contained in:
parent
8012754ee2
commit
2e963b89e2
|
@ -182,7 +182,7 @@ UINT ACTION_CustomAction(MSIPACKAGE *package,LPCWSTR action, BOOL execute)
|
||||||
|
|
||||||
static const WCHAR szActionData[] = {
|
static const WCHAR szActionData[] = {
|
||||||
'C','u','s','t','o','m','A','c','t','i','o','n','D','a','t','a',0};
|
'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);
|
LPWSTR actiondata = load_dynamic_property(package,action,NULL);
|
||||||
if (actiondata)
|
if (actiondata)
|
||||||
MSI_SetPropertyW(package,szActionData,actiondata);
|
MSI_SetPropertyW(package,szActionData,actiondata);
|
||||||
|
|
Loading…
Reference in New Issue