Click here to Skip to main content
13,097,609 members (53,835 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hello sir,

I developed an windows application software , when i am going to install in windows Xp Version , It is showing an error , The error is "Encoded problem and need to be closed , We are sorry for the inconvenience . Please contact with microsoft about htis problem".

Please give me the solution as soon as possible .
Thanks in advance
Posted 1-Jan-13 20:08pm
Kiran Susarla 2-Jan-13 2:28am
Are you using Visual Studio Setup and Deployment or WIX to create the setup?
keshawa.mahi 2-Jan-13 2:37am
Visual Studio Setup and Deployment , i am working on VS 2010 , on C#
Kiran Susarla 2-Jan-13 3:28am
you can execute
msiexec /i "installer package name" /l*v "outputlogfile"

The above command will log all the verbose messages to a log file while the installation is in progress. It will help you in debugging what the issue is.
keshawa.mahi 2-Jan-13 3:44am
Sorry sir , I am not getting your point exactly, please explain neatly
Kiran Susarla 2-Jan-13 4:13am
what I am saying is, open the command prompt and execute the above command. upon executing a log file with all the verbose message will be generated.
For e.g. if the setup file name of your application is "MyApplication.msi" then you need to do like this
1. Windows key+R
2. Type cmd
3. Type msiexec.exe /i "MyApplication.msi" /l*v "outputlog.txt"

When the installation process is abrupted, open the above mentioned logfile in notepad or some text editor and go through each message. This can give you information about where and what is the error.

Also are you getting this error during the installation process or are you getting this error when you execute your application after the installation?
Hope I am clear.
keshawa.mahi 2-Jan-13 5:04am
I am getting the error message as " This installation package could not be opened. Verify that the package exists and that you can access it ,or contact the application vendor to verify that this is valid windows installer package " . the same message is showing in my system also , but executing in my system,
Please help me some one
ramukhsakarp 3-Jan-13 3:51am
1) After deployment, you will have a File with .msi extension like .txt[TEXT FILE] (which is present in the deployed directory),
2) Copy the .msi and place in D:\ or C:\
3) then run command prompt and do the steps said by Kiran Susarla

E.g msiexec.exe /i " {path of the .msi file } /l*v "{file path to the log file}"
i.e msiexec.exe /i "D:\MyApplication.msi" /l*v "outputlog.txt" (if .msi is in D:\ directory)
i.e msiexec.exe /i "C:\MyApplication.msi" /l*v "outputlog.txt" (if .msi is in C:\ directory)
keshawa.mahi 4-Jan-13 4:32am
Hi Sir ,
I did the same thing and installed now it is opening the login page ,after entering the credentials it is showing the error "Exception has been thrown by the target of an invocation"
I developed the windows application in vs2010, C# using "Target Framework 4.0 Client Profile ".Please reply as soon as possible .
Thanks in Advance

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 2 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100