Hi All,

I have created Windows Installer package for my application.
I am installing package using MsiInstallProduct().
But sometimes it gives me errors like 2502, 2503.
What will be the problem with the package?

Thanks & Regards,
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Start here and here. There's a common thread... :-)
Answered 12/24/2010 by: VBScab
Red Belt

Please log in to comment

Here a script I've done to fix it :

- Close all your applications before

- Make a .BAT file

- Run .BAT file as admin.

.BAT source code :

msiexec /unreg
msiexec /regserver
TASKKILL /IM explorer.exe /F

Answered 09/09/2015 by: nolme
White Belt

Please log in to comment