We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

noioion
Posts: 1
Joined: Tue Sep 16, 2025 3:20 pm

Failed to execute view: 'Patch'

When I was using msimsp to create the msp file, after comparing all the files, and then preparing to build the patch, this error would occur:
INFO Comparing bytes...
ERROR: Failed to execute view: 'Patch'
ERROR: The Last Error Received is: 0x65b (1627)
ERROR: The Last Error Received is: 1: 2210 2: \\?\E:\msiUpdate\temp\SampleTarget.MSI 3: 1
INFO: Temporary folder is about to be cleaned out and deleted: E:\msiUpdate\temp
ERROR: Internal PatchWiz Error occurred.
ERROR: The Last Error Received is: 0x91 (145)
ERROR: During cleanup, could not delete the temporary folder: E:\msiUpdate\temp.
ERROR: The Last Error Received is: 0x91 (145)
I don't know which direction I should start investigating from.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Failed to execute view: 'Patch'

Hello and welcome to our forums,

I'm afraid I can't say for sure why that is happening.

Are you using Advanced Installer to build the patch file?

Note that creating patches is a bit more strict compared to creating a major upgrade. A set of rules must be respected so that everything works as expected.

Creating Patches

Please have a look over the above article for mor information on this.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”