PC Review


Reply
Thread Tools Rate Thread

Deploying application got error

 
 
ykffc
Guest
Posts: n/a
 
      31st Jan 2008
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.

 
Reply With Quote
 
 
 
 
Peter Ritchie [C# MVP]
Guest
Posts: n/a
 
      31st Jan 2008
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.
>

 
Reply With Quote
 
Phil Wilson
Guest
Posts: n/a
 
      31st Jan 2008
When you say "it gave out this error", at which point in the process is this
happening? Does "through the early steps" mean that it shows the usual
wizard dialogs, then it fails? I ask because one of the issues that
occasionally arises is when the SYSTEM account does not have access to that
directory/file, and you get the error after the UI wizard sequence (which
runs with your credentials) when the actual installation switches to the
msiexec service to do the actual install (whichj runs with the system
account). So check that the SYSTEM account has access to that directory.
--
Phil Wilson
[MVP Windows Installer]

"ykffc" <(E-Mail Removed)> wrote in message
news:5D44F759-A117-4577-952B-(E-Mail Removed)...
>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.
>



 
Reply With Quote
 
ykffc
Guest
Posts: n/a
 
      1st Feb 2008
Phil Wilson, brilliant answer.

It worths puting this in my notes: the actual installation switches to the
msiexec service to do the actual install (whichj runs with the system
account).

Problem solved.


"Phil Wilson" wrote:

> When you say "it gave out this error", at which point in the process is this
> happening? Does "through the early steps" mean that it shows the usual
> wizard dialogs, then it fails? I ask because one of the issues that
> occasionally arises is when the SYSTEM account does not have access to that
> directory/file, and you get the error after the UI wizard sequence (which
> runs with your credentials) when the actual installation switches to the
> msiexec service to do the actual install (whichj runs with the system
> account). So check that the SYSTEM account has access to that directory.
> --
> Phil Wilson
> [MVP Windows Installer]
>
> "ykffc" <(E-Mail Removed)> wrote in message
> news:5D44F759-A117-4577-952B-(E-Mail Removed)...
> >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.
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error while deploying application on emulator Murtuza Microsoft Dot NET Compact Framework 3 19th Sep 2008 02:39 PM
Perflib Application Log Error when Deploying a Site =?Utf-8?B?TWlrZQ==?= Microsoft ASP .NET 0 14th Sep 2006 03:07 PM
error while deploying a windows application Dsquare Microsoft ASP .NET 0 28th Dec 2005 05:16 AM
Continuos error appearing when deploying a certain application! HELP! Joe \(thrillerIT\) Microsoft Windows 2000 Group Policy 2 7th Jun 2004 05:27 PM
Deploying my ASP.NET application Michelle Stone Microsoft ASP .NET 2 17th Nov 2003 07:02 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:24 AM.