hariprasad
Posts: 1
Joined: Wed Dec 27, 2017 1:03 pm

MsiMsp.exe failed to create the patch file

Hello,

While creating patch file we are getting below error. we installed all required softwares and followed patch rules but still we are getting same error.

Checking builds status... done.
Build required.
Building package: C:\Users\h.appala\Desktop\latest\PATCH\VPDA-Client_Patch-SetupFiles\VPDA-Client_Patch.msp
Running MSI patch compatibility tests... done.
Creating PCP database... done.
Creating MSP... error.
MsiMsp.exe failed to create the patch file.

Build finished because an error was encountered.

Thanks,
Hariprasad
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: MsiMsp.exe failed to create the patch file

Hi Hariprasad and welcome to Advanced Installer forums.

I'm not sure why you encounter this problem, however, you can try to get rid of it by trying the solutions below:
1. Test this on another machine to make sure this is not a project-related problem.
2. Try to see if that path exists ('C:\Users\<username>\AppData\Local\Temp\~pcw_tmp.tmp') delete it then try to build the patch again.
3. The most common reason is that some other process, like a virus scanner, is locking files and folders and preventing the patch building. Try excluding the %TEMP% directory from real-time virus scanning or even disable the antivirus when the patch is building and see if it works.

Let me know if any of these helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jes
Posts: 34
Joined: Mon Oct 23, 2017 12:51 pm

Re: MsiMsp.exe failed to create the patch file

Hi,
I am also facing the same problem when trying to create a patch in the advanced installer.
will you please tell me what you have done when this problem occurred.

thanks,
jes.
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: MsiMsp.exe failed to create the patch file

Hi Jes,

Did you try the solutions mentioned above and none of them work for you? If so, can you send me a screenshot with the problem that you encounter?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jes
Posts: 34
Joined: Mon Oct 23, 2017 12:51 pm

Re: MsiMsp.exe failed to create the patch file

Hi,
I have tried the above solutions and I created patch too. But while installing patch there comes an error. I attached the screenshot of the document along with this.
Will you please check and try to give a solution.
Thanks,
Jes.
Attachments
forum.png
forum.png (12.05 KiB) Viewed 4349 times
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: MsiMsp.exe failed to create the patch file

Hi Jes,

Please see my reply from the "Error while installing patch" thread.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”