The new Insert fixes now properly require ?,? instead of just ? for
the Insert call. This fix modifies the MSI_SetProperty query to be correct.
This commit is contained in:
parent
9999e6ccdf
commit
0252761c0b
@ -101,7 +101,7 @@ static const UINT clone_properties(MSIDATABASE *db)
|
|||||||
'`','_','P','r','o','p','e','r','t','y','`',' ',
|
'`','_','P','r','o','p','e','r','t','y','`',' ',
|
||||||
'(','`','_','P','r','o','p','e','r','t','y','`',',',
|
'(','`','_','P','r','o','p','e','r','t','y','`',',',
|
||||||
'`','V','a','l','u','e','`',')',' ',
|
'`','V','a','l','u','e','`',')',' ',
|
||||||
'V','A','L','U','E','S',' ','(','?',')',0};
|
'V','A','L','U','E','S',' ','(','?',',','?',')',0};
|
||||||
|
|
||||||
/* create the temporary properties table */
|
/* create the temporary properties table */
|
||||||
rc = MSI_DatabaseOpenViewW(db, CreateSql, &view);
|
rc = MSI_DatabaseOpenViewW(db, CreateSql, &view);
|
||||||
@ -664,7 +664,7 @@ UINT MSI_SetPropertyW( MSIPACKAGE *package, LPCWSTR szName, LPCWSTR szValue)
|
|||||||
{'I','N','S','E','R','T',' ','i','n','t','o',' ','`','_','P','r','o','p'
|
{'I','N','S','E','R','T',' ','i','n','t','o',' ','`','_','P','r','o','p'
|
||||||
,'e','r','t','y','`',' ','(','`','_','P','r','o','p','e','r','t','y','`'
|
,'e','r','t','y','`',' ','(','`','_','P','r','o','p','e','r','t','y','`'
|
||||||
,',','`','V','a','l','u','e','`',')',' ','V','A','L','U','E','S'
|
,',','`','V','a','l','u','e','`',')',' ','V','A','L','U','E','S'
|
||||||
,' ','(','?',')',0};
|
,' ','(','?',',','?',')',0};
|
||||||
static const WCHAR Update[]=
|
static const WCHAR Update[]=
|
||||||
{'U','P','D','A','T','E',' ','_','P','r','o','p','e'
|
{'U','P','D','A','T','E',' ','_','P','r','o','p','e'
|
||||||
,'r','t','y',' ','s','e','t',' ','`','V','a','l','u','e','`',' ','='
|
,'r','t','y',' ','s','e','t',' ','`','V','a','l','u','e','`',' ','='
|
||||||
|
Loading…
x
Reference in New Issue
Block a user