473,503 Members | 3,171 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Setup Program

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
4 1793
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
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
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
Thanks... the problem is solved.

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1284
by: Jean Moser | last post by:
I tried many times to connect to numarray without success. I choosed the release: numarray-1.1.1.win32py2.2.exe then I went to the setup program made by Greenfield and I tried to follow the...
2
2078
by: steve b | last post by:
I need to add a registry entry to internet explorer (I'm adding a right click menu item) with vb.net setup program. Anyone know how to do that? Thanks!
2
1611
by: Job Lot | last post by:
How can I make my setup program create folders with specific name while installing application? I want to create these folders in application folder. Thanks
1
2249
by: Ashwin Philar | last post by:
Hi!! Everyone, I have built a windows application in C#. I created a setup program, but when I run it I get the following error: "Could not access network location \." Why am I getting this...
9
1795
by: I_AM_DON_AND_YOU? | last post by:
I am creating small project comprising of 10 forms. On all of the forms there are basic controls like menus, buttons, lists etc. I am (only) using the system.io namespace for this project. I am...
4
1333
by: I_AM_DON_AND_YOU? | last post by:
Hi Cor: You have given a very good suggestion that I can directly reference the "Program Files" Folder. Actually my vb.net program reads/write a notepad file record.txt. For example, the name...
3
1149
by: CR | last post by:
To prepare a PC for my .NET apps I have to run mdac_typ.exe, dotnetfx.exe, and .NET setup programs for every application. Since I have around 8 apps this adds up to 10 installs for every pc. Is...
0
942
by: dan | last post by:
hi, i am building a setup program but i am not able to automate a change into the environment variable "Path"....any help? thx.
1
1483
by: harry_noble1902 | last post by:
Hello I have a "solution" that has 7 VB.Net projects in it. Some of the VB.Net projects are dll librarys but 3 are applications (so there are 7-3=4 dlls) I want to install with a setup...
0
7063
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7258
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7441
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4987
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4663
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3156
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3146
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
366
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.