By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,696 Members | 1,462 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,696 IT Pros & Developers. It's quick & easy.

Setup Program

P: n/a
Hello,

I have created a vb.net program... and now wish to do a
setup program so that i can
[b:68df4cf127]open the .exe in another computer[/b:68df4cf127] which
do not have vb.net.
Can someone show me the simplest way to do this, because I've been
looking for guides for a few days now and havent found one..

Thanks

Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
The computer you want to run the .Exe on just has to have the .NET framework
installed.
If that's the case you can use XCopy deployment to run the application.

Greets,

Poolbeer

--

Poolbeer (MCP)

"blackdevil1979" <bl************@yahoo-dot-com.no-spam.invalid> wrote in
message news:41**********@Usenet.com...
Hello,

I have created a vb.net program... and now wish to do a
setup program so that i can
[b:68df4cf127]open the .exe in another computer[/b:68df4cf127] which
do not have vb.net.
Can someone show me the simplest way to do this, because I've been
looking for guides for a few days now and havent found one..

Thanks

Nov 20 '05 #2

P: n/a
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

Nov 20 '05 #3

P: n/a
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


Nov 20 '05 #4

P: n/a
Thanks... the problem is solved.

Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.