New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wixfeat4190.1 #29
Wixfeat4190.1 #29
Conversation
|
||
|
||
// If the destination file already exists, clear the readonly bit to avoid E_ACCESSDENIED. | ||
if (FileExistsEx(sczDestinationPath, &dwFileAttributes)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't think this can happen (from PathCreateTimeBasedTempFile).
On Thu, May 8, 2014 at 3:49 PM, jchoover notifications@github.com wrote:
|
|
||
if (IDOK == nResult) | ||
{ | ||
break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to put "pUpdate->fUpdateAvailable = TRUE;" here.
…detection Reverse checks to look for per-machine package registration first
I think I finally have the right branch merged and in the right state for this to function.
These are the needed 3.x changes for a BA/UX to be able to self update. In 4.x, it's desirable to allow OnDetectUpdateComplete to modify the HRESULT returned by DetectUpdate (so if a user is offline or the website is down, that the BA doesn't have to call Detect a second time).