Do you have a setup and deployment project to create this setup? If you
rebuild that project, what output does it give?
I've seen this error sometimes when the MSI file wasn't created properly.
--
Browse
http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#
"ykffc" wrote:
> I try deploying a very simple (very simple indeed) Vb.net application by
> following the basic steps according to some tutorials.
>
> My pc runs Visual Studio 2005 and it reports "Build successful" but I build
> my application. Then I run setup.exe from the debug folder on the same
> machine that develops this application, it went through all early steps but
> when coming to the appeared-to-be last step, it gave out the following error
> message:
>
> Error reading from file
> C:\..\mysetupPath\debug\myAppn.msi Verify that the file exists and that you
> can
> access it.
>
> My debug directory does contains both the msi file and setup.exe
>
> I can't see anything to do with "having no access" or file not exists. Then
> I copied these two files to another PC and run the setup. Setup works and my
> application runs normally at the other machine.
>
> So it got to have something to do with my PC (Windows XP). I know I don't
> really need setup to run on my own PC but I would like to learn why.
>
> I am not sure what other information are helpful. It has Windows installer
> 3.1 (KB893803) isntalled and the these dotnet programs are found installed:
> - .net Compact Framework 1.0 SP3 Developer
> - .net compact Framework 2.0
> - .net Framework 1.1
> - .net Framework 1.1 Hotfix ( KB886903)
> - .net Framework 2.0
>
> I am not sure if I need to remove any installed program. What else do you
> suggest me to check for now? Thank you.
>