The best way to create a setup project is to include a setup project in the
solution containing your vb.net program.
Then add the primary built project output of the vb project to you setup
project by right clicking on the setup project selecting add ->Project
outputs.
It also sounds like you need the crystral report MSM this should be added
to your setup project as well, from your description I could not gather
whether you added a file or the merge module.
Your app is throwing an exception which may be the result of a missing or
unregistered reference. The specific error is 2 (from below) which states
the system cannot find the file referenced.
You can try installing on your development machine to see if the problem
repros there (where you have a debugger)
If it does not repro run it on your dev machine, attach to the process
using the debugger, select break all, then view the modules through the
debug->windows option. This will tell you what dlls it is loading, then
you have to determine which of these are not on your target machine.
Hope that helps.
Todd Derksen
--------------------
Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: bl************@yahoo-dot-com.no-spam.invalid (blackdevil1979)
Newsgroups: microsoft.public.dotnet.languages.vb
Hi,
Since I am not 100% sure of what I am doing (I never done a setup
program, and there's not much easy guides you can find online, most
of them are rather confusing to me ), I have created a couple of
setup program Setup1 & Setup 2.
Setup1
From bin, select .exe, and crystal report.
Setup2
From bin, select .exe, and crystal report. and add the existing
project.
Both can be installed (well maybe looks like installing) perfectly.
However, when i tried to run it, but both is showing the same error
message.
(the setup program also install the .net framework into
the other computer. When i double click on the .exe file, it opens
the .net framework installation, after the installation complete,
installation for program begins, both looks
successful)
1. Common Language Runtime Debugging Services :
Application has generated an exception that could not be handled.
Process id=0x95c(2396), Thread id=0xa9c(2716)
Click OK to termiate the application. Click CANCEL to debug the
application.
[i:74b38ec9ce](When I press OK, application is terminated, but when I
press CANCEL another error message popped out.)[/i:74b38ec9ce]
2. No debugger found:
Registered JIT debugger is not available. An attempt to launch a JIT
debugger with the following command resulted in an error code of
0x2(2). Please check computer Settings.
cordbg.exe !a 0x95c
Click Retry to have the process wait while attaching a debugger
manually.
Click Cancel to abort the JIT debug request.
[i:74b38ec9ce](obviously, I pressed Cancel here.)[/i:74b38ec9ce]
And now, obviously I need help. HELP!
Thanks