--- a/secureswitools/swisistools/source/sisxlibrary/utility_windows.cpp Fri Mar 12 15:43:14 2010 +0200
+++ b/secureswitools/swisistools/source/sisxlibrary/utility_windows.cpp Mon Mar 15 12:41:05 2010 +0200
@@ -129,7 +129,9 @@
HANDLE MakeSISOpenFile(LPCWSTR pszFilename, DWORD dwAccessMode, DWORD dwCreateFlags)
// Open file with Unicode filename correctly under Win95 and WinNT
{
- return CreateFileW(pszFilename, dwAccessMode, 0, NULL, dwCreateFlags, FILE_ATTRIBUTE_NORMAL, NULL);
+ // Opening the file with FILE_SHARE_READ access, so that other processes can access
+ // the package file in parallel( Issue observed in Raptor with parallel builds udeb and urel)
+ return CreateFileW(pszFilename, dwAccessMode, 1, NULL, dwCreateFlags, FILE_ATTRIBUTE_NORMAL, NULL);
}
BOOL MakeSISDeleteFile(LPCWSTR pszFilename)