iNET Interactive - Online Advertising Agency
          
Go Back  Xtreme .NET Talk > .NET > Deployment > Application deployment


Reply
 
Thread Tools Display Modes
  #1  
Old 03-26-2003, 05:23 AM
hog's Avatar
hog hog is offline
Senior Contributor

Preferred language:
VB .Net
 
Join Date: Mar 2003
Location: UK
Posts: 984
Default Application deployment

This is the first time I have tried this and am having difficulty doing it.

I have run through a book exercise, on line help etc and get the same result. .NET Framework not installed. I know I need dotnetfx.exe present which I include in my solution but it still does not work.

Does this mean I have to inform target users to run dotnetfx.exe first, then setup.exe? Is there not a way to have the whole thing automated?
Reply With Quote
  #2  
Old 03-26-2003, 05:55 AM
AndreRyan AndreRyan is offline
Junior Contributor

Preferred language:
VB.Net
 
Join Date: Jan 2002
Posts: 366
Default

Try setting the installation package to run dotnetfx.exe /Q when the user presses install, before actually installing your program.
I haven't used the installer system yet but this should be possible
__________________
.Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
Reply With Quote
  #3  
Old 03-26-2003, 09:03 AM
vnarod vnarod is offline
Regular

Preferred language:
VB.NET
 
Join Date: Mar 2002
Posts: 84
Default

there is a sample called Bootstrapper.exe. It does exactly what you need.
Reply With Quote
  #4  
Old 03-26-2003, 09:08 AM
hog's Avatar
hog hog is offline
Senior Contributor

Preferred language:
VB .Net
 
Join Date: Mar 2003
Location: UK
Posts: 984
Default

hi,

yes I'm trying to use the bootstap setup.exe file but not getting any joy.
__________________
My website
Reply With Quote
  #5  
Old 03-26-2003, 10:51 AM
vellaima vellaima is offline
Centurion
 
Join Date: Jan 2003
Posts: 109
Default

I get this Warning when i build my test application which is

Quote:
WARNING: This setup does not contain the .NET Framework which must be installed on the target machine by running dotnetfx.exe before this setup will install. You can find dotnetfx.exe on the Visual Studio .NET 'Windows Components Update' media. Dotnetfx.exe can be redistributed with your setup.
Does that mean that we should add dotnetfx.exe in the target machine in SetUp Project.

Did you get that warning Hog. May be it is due to that you are not able to run the set up successfully
Reply With Quote
  #6  
Old 03-26-2003, 10:57 AM
hog's Avatar
hog hog is offline
Senior Contributor

Preferred language:
VB .Net
 
Join Date: Mar 2003
Location: UK
Posts: 984
Default

No I have done loads of reading this afernoon. Goes like this.

Any .net app requires the framework on the target PC.

The warning you see is simply telling you that. The runtime of the framework dotnetfx.exe comes with VS or you can download it from the web.

You can also download a bootstrap setup.exe file that you configure via a setting.ini file. This setup file checks if the framework is on the target PC and installs it silently if it does not then install the application.

My problem is I have configured the settings.ini file correctly, and run setup.exe but it errors saying the setup has failed, before it even starts to install my application.

I can install my application and the framework manully OK but need to use the bootstrap way though.

The source files are in CPP I think, which I have not installed and don't know anyway.

Any help out there please??
__________________
My website
Reply With Quote
  #7  
Old 03-26-2003, 11:33 AM
vellaima vellaima is offline
Centurion
 
Join Date: Jan 2003
Posts: 109
Default

What about Launch Condition? Can we add some code which checks whether the .NET Framework is installed in the target machine if not then we can install the .NET Framework Software.
The thing i don't know is how to check the registry of the target machine
Reply With Quote
  #8  
Old 03-26-2003, 03:05 PM
hog's Avatar
hog hog is offline
Senior Contributor

Preferred language:
VB .Net
 
Join Date: Mar 2003
Location: UK
Posts: 984
Default

The bootstrap file setup.exe downloadable from MS does the detecting supposedly for you. You run this file, it detects .NET or installs it then install your application afterwards.

Just can't get it to do it at present,
__________________
My website
Reply With Quote
  #9  
Old 06-04-2003, 12:09 PM
donnacha's Avatar
donnacha donnacha is offline
Centurion
 
Join Date: Feb 2003
Posts: 187
Default

You need to include your own application setup file in the same directory as the bootstrap setup file, see the following example.

[Bootstrap]
Msi=Setup2.msi
'LanguageDirectory=jpn
'ProductName=Coolea Hazza-Class
'DialogText=
'CaptionText=
'ErrorCaptionText=
FxInstallerPath=NET_Framework/
__________________
Hamlet
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
XML Deployment in smart application??? Rothariger Deployment 0 09-14-2005 10:30 PM
Console Application deployment tykurez Deployment 4 06-06-2005 11:48 AM
application deployment fails on Pocket PC pavel47 Deployment 0 07-19-2004 12:52 PM
DB Deployment Matthias Deployment 7 03-08-2004 01:26 PM
Deployment Salat Deployment 9 02-25-2003 09:49 AM

Advertisement: