Hi Hidenori Yamanishi,
please explain what is/are the meaning of commit & rollback in "In-script execution" in the custom action.
I also tried with deferred and immediate execution in "In-script execution" in the custom action but it unable to get installed path.
You said to me in the previous reply. (01-25-2017, 08:36 AM - Post Number - #3 )
CustomAction Name and Property key both are same.
I had applied to set same of CustomAction Name and Property key.
PropertyKey = "CustomActionForInstall".
I also changed MSI DLL code.
Please read my (01-27-2017, 01:35 PM Post Number - #4) and tell me
UINT __stdcall Install( MSIHANDLE hInstall )
TCHAR customData[MAX_FILE_PATH * 3];
DWORD len = sizeof( customData ) / sizeof( TCHAR );
UINT gp = ::MsiGetProperty( hInstall,
::MessageBox(NULL, customData, "Install", MB_OK);
if (gp != ERROR_SUCCESS)
::OutputDebugString("gp != ERROR_SUCCESS");
what is/are wrong?