Sometimes while Setup files build by the Development team fails installing successfully and ends up throwing the error "There is a problem with this windows installer package". When this error pops up it doesn't provide the error number and you may have to search in internet using the error message.
Today I encountered the same error while installing a setup file on Test Environment. First thing I tried searching on the Google to know if there is a readymade fix to this problem. I found some of the links that talked about rectifying the issue, but it didnt help for my scenario. I kept trying for some time rebuilding the package myself and installing it. I was not successfull. Then I tried installing on a machine which had full installation of Visual Studio 2005/2008/2010. When it was installing and encountered the error, it gave me an option to debug the error. When I provided the Visual Studio editor to open the error for debugging it provided me the exact message. In my case there was a folder with no files in it and there was a custom script component that was failing. I fixed it and next time I build the setup file and installed, it installed successfully without any issues. Finally I found another answer for this kind of strange error. Hopefully I may not encounter these kind of error in future.
In Short, it would be wise to install the Setup file build by the Development team to test on a machine which has full the similar environment but not the complete replica. Hope this helps.
Also thanks for your patience to go through this lengthy piece of descripiton.
Have a great day!!
Cheers,
Ananda
No comments:
Post a Comment