Setup problem VB.net 2005

S

steve

Hi All

I have an application with a setup project which has worked faultlessly for
months

Today I added some graphs to the Report viewer in VB.net 2005 and when I
build the setup project and try to install on a PC I get the error message

Exception occurred while initialising the installation
Syystem.IO.FileNotFoundException. Could not load file or assembly
file:///C:\Windows\system32\setup\CD\ or one of its dependencies.
The system cannot find the file specified

How can I debug the setup project to find which file is missing?


Regards
Steve
 
G

Gary Chang[MSFT]

Hi Steve,

Based on the description, you add some graphs to the Report viewer in your
VB.NET 2005 application, then create a VS2005 setup project for that
application. The problem occurs while initializing the installation process
to install the VB.NET 2005 application on a client machine. Please correct
me if I misunderstood anything.

According to the error message:

"Could not load file or assembly file:///C:\Windows\system32\setup\CD\ or
one of its dependencies."

It seems not one of your application's dependencies absent, but one Windows
system dependency files cannot be loaded in the target machine's
Windows\system32\setup\CD\ directory. This could be caused by one of the
Windows components(which is necessary to the installation process) hasn't
been installed on the target client machine.

Since the error message doesn't tell us which dll it tries to load, I
suggest you launch that installation package with a log option. You can
perform this as the following in the the target client machine's command
line:

msiexec /iVBApp.msi /l*v log.txt

The detailed log information would be logged into the log.txt file, you can
check it for which exact dll missing in the installation.

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top