Deploy simple windows form application

  • Thread starter Thread starter bob lambert
  • Start date Start date
B

bob lambert

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
 
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
 
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" <[email protected]>
| >Sender: "bob lambert" <[email protected]>
| >References: <[email protected]>
<[email protected]>
<[email protected]>
| >Subject: RE: Deploy simple windows form application - Followup
| >Date: Fri, 12 Sep 2003 16:52:20 -0700
| >Lines: 182
| >Message-ID: <[email protected]>
| >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" <[email protected]>
| >>>Sender: "bob lambert" <[email protected]>
| >>>References: <[email protected]>
| >>>Subject: Deploy simple windows form application -
| >Followup
| >>>Date: Thu, 11 Sep 2003 17:41:26 -0700
| >>>Lines: 87
| >>>Message-ID: <[email protected]>
| >>>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
| >>>>
| >>>>
| >>>>.
| >>>>
| >>>
| >>
| >>.
| >>
| >
 
Back
Top