473,414 Members | 1,723 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,414 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 7041
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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
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...

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.