473,287 Members | 1,515 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Deploy simple windows form application

Help

I am trying to deploy to another pc a vb.net std 2002
windows form application. I am confused.

I created a project - windows form
I built form, compiled and debugged.
I created a deployment project (myproj installer)
I added my windows app to the installer
under myproj installer properties, I set bootstrapper
to none, in order to use the one I downloaded which
does a silent (if needed) install of dotnetfx.exe for
pc's w/o dotnet framework
I built myproj installer

in solution explorer, I see 2 projects
myproj
myproj installer

Here's where I get stuck. I found the .msi file in the
release dir under myproj installer dir. MS dynamic help
says copy that file and all dir's under the dir where msi
file is to cd-rom for target pc install.

Theres nothing under it !

Does the msi file have the myproj.exe file and all the
stuff needed bundled into it ? Because I see myproj
folder at the same dir level as myproj installer dir. I
don't need that stuff do I ?

I think I need dotnetfx.exe, myproj installer.msi,
setup.exe, settings.ini. Not sure what else ?

I tried to deploy this once and it crapped out during
install on target pc.

Please help. For a new user, the documentation is poor.

Thanks

Bob Lambert
Nov 20 '05 #1
4 7031
Here's what I get when I try to install:

takes forever installing, then gives the following errors
the msiexec.exe file is linked to missing export
msi.dll:222

then in another popup

create process failed for the following command line:
msiexec /l
myproj installer.msi REBOOT = ReallySuppress
I rebooted (thinking maybe dotnetfx.exe got installed)
and re launched setup to get this error set

incorrect command line parameters
win installer v.2.00.2600.1

and myproj setup failed.

so here is my settings.ini file:

[Bootstrap]
Msi=myproj installer.msi
'LanguageDirectory=jpn
ProductName=My Project by Bob
DialogText=My Project by Bob
'CaptionText=
ErrorCaptionText=My Project Application Error
FxInstallerPath=/.

I actually copied the files from cd to hard drive dir and
executed setup from that dir.

Thanks for help.

Bob
-----Original Message-----
Help

I am trying to deploy to another pc a vb.net std 2002
windows form application. I am confused.

I created a project - windows form
I built form, compiled and debugged.
I created a deployment project (myproj installer)
I added my windows app to the installer
under myproj installer properties, I set bootstrapper
to none, in order to use the one I downloaded which
does a silent (if needed) install of dotnetfx.exe for
pc's w/o dotnet framework
I built myproj installer

in solution explorer, I see 2 projects
myproj
myproj installer

Here's where I get stuck. I found the .msi file in the
release dir under myproj installer dir. MS dynamic help
says copy that file and all dir's under the dir where msifile is to cd-rom for target pc install.

Theres nothing under it !

Does the msi file have the myproj.exe file and all the
stuff needed bundled into it ? Because I see myproj
folder at the same dir level as myproj installer dir. I
don't need that stuff do I ?

I think I need dotnetfx.exe, myproj installer.msi,
setup.exe, settings.ini. Not sure what else ?

I tried to deploy this once and it crapped out during
install on target pc.

Please help. For a new user, the documentation is poor.
Thanks

Bob Lambert
.

Nov 20 '05 #2
The bootstrapper is only used to upgrade/install Windows Installer to
version 2.0 or greater. The Setup.exe, InstmsiA.exe, InstMsiW.exe, and
Setup.ini files are all related to the bootstrapper and aren't needed if
you don't need to do the upgrade.

The .MSI file is the installation package. By default, all of the files in
your application are compressed and packaged inside the .MSI file.
However, there are some cases where you can build "loose" and have the
files externally. In this case, you will have files in various
subdirectories of the built output directory, and you need to copy or
include these. That is why the documentation said to copy the folders, but
there aren't any in your case.

Also, the output of the Setup project does NOT install the .NET Frameworks.
That might be how your application is failing. The .NET Frameworks needs
to be on the target system. Or, you can use a different bootstrapper that
installs it for you. It can be found at:
http://msdn.microsoft.com/library/en...amedepguid.asp
I hope this clarifies a few things.

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Content-Class: urn:content-classes:message
From: "bob lambert" <na*******@cinci.rr.com>
Sender: "bob lambert" <na*******@cinci.rr.com>
References: <06****************************@phx.gbl>
Subject: Deploy simple windows form application - Followup
Date: Thu, 11 Sep 2003 17:41:26 -0700
Lines: 87
Message-ID: <10****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcN4xplZEOP6b+iuS16JJFUKV+4Oow==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.public.dotnet.languages.vb
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:136872
NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

Here's what I get when I try to install:

takes forever installing, then gives the following errors
the msiexec.exe file is linked to missing export
msi.dll:222

then in another popup

create process failed for the following command line:
msiexec /l
myproj installer.msi REBOOT = ReallySuppress
I rebooted (thinking maybe dotnetfx.exe got installed)
and re launched setup to get this error set

incorrect command line parameters
win installer v.2.00.2600.1

and myproj setup failed.

so here is my settings.ini file:

[Bootstrap]
Msi=myproj installer.msi
'LanguageDirectory=jpn
ProductName=My Project by Bob
DialogText=My Project by Bob
'CaptionText=
ErrorCaptionText=My Project Application Error
FxInstallerPath=/.

I actually copied the files from cd to hard drive dir and
executed setup from that dir.

Thanks for help.

Bob
-----Original Message-----
Help

I am trying to deploy to another pc a vb.net std 2002
windows form application. I am confused.

I created a project - windows form
I built form, compiled and debugged.
I created a deployment project (myproj installer)
I added my windows app to the installer
under myproj installer properties, I set bootstrapper
to none, in order to use the one I downloaded which
does a silent (if needed) install of dotnetfx.exe for
pc's w/o dotnet framework
I built myproj installer

in solution explorer, I see 2 projects
myproj
myproj installer

Here's where I get stuck. I found the .msi file in the
release dir under myproj installer dir. MS dynamic help
says copy that file and all dir's under the dir where

msi
file is to cd-rom for target pc install.

Theres nothing under it !

Does the msi file have the myproj.exe file and all the
stuff needed bundled into it ? Because I see myproj
folder at the same dir level as myproj installer dir. I
don't need that stuff do I ?

I think I need dotnetfx.exe, myproj installer.msi,
setup.exe, settings.ini. Not sure what else ?

I tried to deploy this once and it crapped out during
install on target pc.

Please help. For a new user, the documentation is

poor.

Thanks

Bob Lambert
.


Nov 20 '05 #3
Dave

Thanks for the info, especially on the .msi file. The
setup.exe file I was talking about below is the one that
does the .net framework silent install if needed. My
understanding was not to build one w/ my project, but to
use the one that was at the address you suggested.

I did that, but it does not seem to be working when I try
to install.

Are you saying below that the setup file visual studio
creates does another task besides installing my app
via .msi file ? Are you saying that the upgrade to 2.0
or greater is something else I need to be worried about
when I deploy ? I thought the only thing I needed to
worry about was installing dotnetfx (.net framework) on
pc's that did not already have it.

Bob Lambert

-----Original Message-----
The bootstrapper is only used to upgrade/install Windows Installer toversion 2.0 or greater. The Setup.exe, InstmsiA.exe, InstMsiW.exe, andSetup.ini files are all related to the bootstrapper and aren't needed ifyou don't need to do the upgrade.

The .MSI file is the installation package. By default, all of the files inyour application are compressed and packaged inside the .MSI file.However, there are some cases where you can build "loose" and have thefiles externally. In this case, you will have files in varioussubdirectories of the built output directory, and you need to copy orinclude these. That is why the documentation said to copy the folders, butthere aren't any in your case.

Also, the output of the Setup project does NOT install the .NET Frameworks. That might be how your application is failing. The .NET Frameworks needsto be on the target system. Or, you can use a different bootstrapper thatinstalls it for you. It can be found at:
http://msdn.microsoft.com/library/en- us/dnnetdep/html/dotnetframedepguid.asp

I hope this clarifies a few things.

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.--------------------
Content-Class: urn:content-classes:message
From: "bob lambert" <na*******@cinci.rr.com>
Sender: "bob lambert" <na*******@cinci.rr.com>
References: <06****************************@phx.gbl>
Subject: Deploy simple windows form application - FollowupDate: Thu, 11 Sep 2003 17:41:26 -0700
Lines: 87
Message-ID: <10****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcN4xplZEOP6b+iuS16JJFUKV+4Oow==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.public.dotnet.languages.vb
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:136872NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

Here's what I get when I try to install:

takes forever installing, then gives the following errorsthe msiexec.exe file is linked to missing export
msi.dll:222

then in another popup

create process failed for the following command line:
msiexec /l
myproj installer.msi REBOOT = ReallySuppress
I rebooted (thinking maybe dotnetfx.exe got installed)
and re launched setup to get this error set

incorrect command line parameters
win installer v.2.00.2600.1

and myproj setup failed.

so here is my settings.ini file:

[Bootstrap]
Msi=myproj installer.msi
'LanguageDirectory=jpn
ProductName=My Project by Bob
DialogText=My Project by Bob
'CaptionText=
ErrorCaptionText=My Project Application Error
FxInstallerPath=/.

I actually copied the files from cd to hard drive dir andexecuted setup from that dir.

Thanks for help.

Bob
-----Original Message-----
Help

I am trying to deploy to another pc a vb.net std 2002
windows form application. I am confused.

I created a project - windows form
I built form, compiled and debugged.
I created a deployment project (myproj installer)
I added my windows app to the installer
under myproj installer properties, I set bootstrapper
to none, in order to use the one I downloaded which
does a silent (if needed) install of dotnetfx.exe for
pc's w/o dotnet framework
I built myproj installer

in solution explorer, I see 2 projects
myproj
myproj installer

Here's where I get stuck. I found the .msi file in therelease dir under myproj installer dir. MS dynamic helpsays copy that file and all dir's under the dir where

msi
file is to cd-rom for target pc install.

Theres nothing under it !

Does the msi file have the myproj.exe file and all the
stuff needed bundled into it ? Because I see myproj
folder at the same dir level as myproj installer dir. Idon't need that stuff do I ?

I think I need dotnetfx.exe, myproj installer.msi,
setup.exe, settings.ini. Not sure what else ?

I tried to deploy this once and it crapped out during
install on target pc.

Please help. For a new user, the documentation is

poor.

Thanks

Bob Lambert
.


.

Nov 20 '05 #4
In general, you are correct. If you install the .net framework on the
machine, it will ensure that windows installer 2.0 is installed on your
machine.

Note: There will be an updated bootstrapper for the 2003 framework
available soon (within a few weeks) on either http://gotdotnet and msdn, so
that will be worth checking out if you wan to make sure the framework is
installed.

Todd
Todd Apley – Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| >Content-Class: urn:content-classes:message
| >From: "bob lambert" <na*******@cinci.rr.com>
| >Sender: "bob lambert" <na*******@cinci.rr.com>
| >References: <06****************************@phx.gbl>
<10****************************@phx.gbl>
<x2**************@cpmsftngxa06.phx.gbl>
| >Subject: RE: Deploy simple windows form application - Followup
| >Date: Fri, 12 Sep 2003 16:52:20 -0700
| >Lines: 182
| >Message-ID: <1e****************************@phx.gbl>
| >MIME-Version: 1.0
| >Content-Type: text/plain;
| > charset="iso-8859-1"
| >Content-Transfer-Encoding: 7bit
| >X-Newsreader: Microsoft CDO for Windows 2000
| >Thread-Index: AcN5iOe35PQHyC0ET92CSmGObyrU8Q==
| >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| >Newsgroups: microsoft.public.dotnet.languages.vb
| >Path: cpmsftngxa06.phx.gbl
| >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:137185
| >NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
| >X-Tomcat-NG: microsoft.public.dotnet.languages.vb
| >
| >Dave
| >
| >Thanks for the info, especially on the .msi file. The
| >setup.exe file I was talking about below is the one that
| >does the .net framework silent install if needed. My
| >understanding was not to build one w/ my project, but to
| >use the one that was at the address you suggested.
| >
| >I did that, but it does not seem to be working when I try
| >to install.
| >
| >Are you saying below that the setup file visual studio
| >creates does another task besides installing my app
| >via .msi file ? Are you saying that the upgrade to 2.0
| >or greater is something else I need to be worried about
| >when I deploy ? I thought the only thing I needed to
| >worry about was installing dotnetfx (.net framework) on
| >pc's that did not already have it.
| >
| >Bob Lambert
| >
| >
| >>-----Original Message-----
| >>The bootstrapper is only used to upgrade/install Windows
| >Installer to
| >>version 2.0 or greater. The Setup.exe, InstmsiA.exe,
| >InstMsiW.exe, and
| >>Setup.ini files are all related to the bootstrapper and
| >aren't needed if
| >>you don't need to do the upgrade.
| >>
| >>The .MSI file is the installation package. By default,
| >all of the files in
| >>your application are compressed and packaged inside
| >the .MSI file.
| >>However, there are some cases where you can
| >build "loose" and have the
| >>files externally. In this case, you will have files in
| >various
| >>subdirectories of the built output directory, and you
| >need to copy or
| >>include these. That is why the documentation said to
| >copy the folders, but
| >>there aren't any in your case.
| >>
| >>Also, the output of the Setup project does NOT install
| >the .NET Frameworks.
| >> That might be how your application is failing.
| >The .NET Frameworks needs
| >>to be on the target system. Or, you can use a different
| >bootstrapper that
| >>installs it for you. It can be found at:
| >>http://msdn.microsoft.com/library/en-
| >us/dnnetdep/html/dotnetframedepguid.asp
| >>
| >>
| >>I hope this clarifies a few things.
| >>
| >>---
| >>David Guyer - VBQA Deployment Testing
| >>This posting is provided "AS IS" with no warranties, and
| >confers no rights.
| >>--------------------
| >>>Content-Class: urn:content-classes:message
| >>>From: "bob lambert" <na*******@cinci.rr.com>
| >>>Sender: "bob lambert" <na*******@cinci.rr.com>
| >>>References: <06****************************@phx.gbl>
| >>>Subject: Deploy simple windows form application -
| >Followup
| >>>Date: Thu, 11 Sep 2003 17:41:26 -0700
| >>>Lines: 87
| >>>Message-ID: <10****************************@phx.gbl>
| >>>MIME-Version: 1.0
| >>>Content-Type: text/plain;
| >>> charset="iso-8859-1"
| >>>Content-Transfer-Encoding: 7bit
| >>>X-Newsreader: Microsoft CDO for Windows 2000
| >>>Thread-Index: AcN4xplZEOP6b+iuS16JJFUKV+4Oow==
| >>>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| >>>Newsgroups: microsoft.public.dotnet.languages.vb
| >>>Path: cpmsftngxa06.phx.gbl
| >>>Xref: cpmsftngxa06.phx.gbl
| >microsoft.public.dotnet.languages.vb:136872
| >>>NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
| >>>X-Tomcat-NG: microsoft.public.dotnet.languages.vb
| >>>
| >>>Here's what I get when I try to install:
| >>>
| >>>takes forever installing, then gives the following
| >errors
| >>>the msiexec.exe file is linked to missing export
| >>>msi.dll:222
| >>>
| >>>then in another popup
| >>>
| >>>create process failed for the following command line:
| >>>msiexec /l
| >>>myproj installer.msi REBOOT = ReallySuppress
| >>>
| >>>
| >>>I rebooted (thinking maybe dotnetfx.exe got installed)
| >>>and re launched setup to get this error set
| >>>
| >>>incorrect command line parameters
| >>>win installer v.2.00.2600.1
| >>>
| >>>and myproj setup failed.
| >>>
| >>>so here is my settings.ini file:
| >>>
| >>>[Bootstrap]
| >>>Msi=myproj installer.msi
| >>>'LanguageDirectory=jpn
| >>>ProductName=My Project by Bob
| >>>DialogText=My Project by Bob
| >>>'CaptionText=
| >>>ErrorCaptionText=My Project Application Error
| >>>FxInstallerPath=/.
| >>>
| >>>I actually copied the files from cd to hard drive dir
| >and
| >>>executed setup from that dir.
| >>>
| >>>Thanks for help.
| >>>
| >>>Bob
| >>>>-----Original Message-----
| >>>>Help
| >>>>
| >>>>I am trying to deploy to another pc a vb.net std 2002
| >>>>windows form application. I am confused.
| >>>>
| >>>>I created a project - windows form
| >>>> I built form, compiled and debugged.
| >>>>I created a deployment project (myproj installer)
| >>>>I added my windows app to the installer
| >>>> under myproj installer properties, I set bootstrapper
| >>>> to none, in order to use the one I downloaded which
| >>>> does a silent (if needed) install of dotnetfx.exe for
| >>>> pc's w/o dotnet framework
| >>>>I built myproj installer
| >>>>
| >>>>in solution explorer, I see 2 projects
| >>>> myproj
| >>>> myproj installer
| >>>>
| >>>>Here's where I get stuck. I found the .msi file in
| >the
| >>>>release dir under myproj installer dir. MS dynamic
| >help
| >>>>says copy that file and all dir's under the dir where
| >>>msi
| >>>>file is to cd-rom for target pc install.
| >>>>
| >>>>Theres nothing under it !
| >>>>
| >>>>Does the msi file have the myproj.exe file and all the
| >>>>stuff needed bundled into it ? Because I see myproj
| >>>>folder at the same dir level as myproj installer dir.
| >I
| >>>>don't need that stuff do I ?
| >>>>
| >>>>I think I need dotnetfx.exe, myproj installer.msi,
| >>>>setup.exe, settings.ini. Not sure what else ?
| >>>>
| >>>>I tried to deploy this once and it crapped out during
| >>>>install on target pc.
| >>>>
| >>>>Please help. For a new user, the documentation is
| >>>poor.
| >>>>
| >>>>Thanks
| >>>>
| >>>>Bob Lambert
| >>>>
| >>>>
| >>>>.
| >>>>
| >>>
| >>
| >>.
| >>
| >

Nov 20 '05 #5

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

Similar topics

1
by: Wilson Ricardo Passos Oliveira | last post by:
Hi fellows, I have two simple questions regarding the Framework's deploy and the Setup and Deploy Projects: 1. As I've read in another posts and newsgroups (and as I can imagine), VS.NET...
1
by: Mary | last post by:
I'm a newbie also. My app runs great on my PC. However, I don't want to run it for everyone else which is what is happening now. It's a pretty simple app, 1 windows form calls on 1 of 4 other...
0
by: Tal Sharfi | last post by:
Hi everyone I recently had the need for StringGrid object same as the one that Delphi has. An object that helps show lists of other objects in a simple grid. I searched the news groups and...
3
by: gladiator | last post by:
Hello everyone: I have developed a very simple asp.net web application and deployed.a week later,i have made some modifications. So I need to redeploy it.Do i need to stop IIS,or original web...
0
by: Robert Warnestam | last post by:
Hello, I have some problems deploying Crystal Reports. I'm using Visual Studio 2005 Beta 1. In this version Crystal Reports (9.7.3500.0) is included. I created a small test application...
1
by: alan | last post by:
I've try to deploy my application by using Setup Wizard. But after I build the setup application, it got a error said "unrecoverable error!". I don't know what's the problem. In order to the what...
3
by: Gianluca Carucci | last post by:
Hi all, i compiled a simple Hello World console application (Console project wizard) with c++/cli. I use /clr compiler option for compile mixed managed and unmanaged code. When i start application...
2
by: mfuribondo | last post by:
I have a solution with three projects in it. Two are windows forms applications and the third is a class library. I am trying to deploy the projects which use a single database located in one of...
6
by: =?Utf-8?B?QW5kcmV3X2QxMjM=?= | last post by:
Here is my problem. I have an app that has over 9 web services. For years I had not issues with clickonce but now it looks like the build is missing XmlSerializers.dll.deploy. I did have this...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.