473,387 Members | 1,705 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,387 software developers and data experts.

Deploying .NET from a CD

I have an application that I am giving to customers from a CD. Using
the setup everything works fine but one thing.

When the customer doesn't have .NET rather than having them go to the
InstallURL in the Launch Conditions I am having them go to
".\dependencies\dotnetfx.exe" which is on my CD and this works fine.
Except after it installs .NET on their machine the user then has to
run the Setup AGAIN to install my Setup.exe. It doen't go directly to
my setup after it installs the .NET framework as it does if I used the
internet link for installing .NET.

Anybody ever come across this and could this be resolved?

th***********@yahoo.com
John

Aug 2 '06 #1
4 2118
I'd use the bootstrapper to install the framework and then run your MSI
file, instead of the download from the MSI (which is what you are doing).
The MSI setup can't reverse itself once it's started.
http://msdn.microsoft.com/msdnmag/is.../Bootstrapper/
--
Phil Wilson [MVP Windows Installer]
----
<th***********@yahoo.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
>I have an application that I am giving to customers from a CD. Using
the setup everything works fine but one thing.

When the customer doesn't have .NET rather than having them go to the
InstallURL in the Launch Conditions I am having them go to
".\dependencies\dotnetfx.exe" which is on my CD and this works fine.
Except after it installs .NET on their machine the user then has to
run the Setup AGAIN to install my Setup.exe. It doen't go directly to
my setup after it installs the .NET framework as it does if I used the
internet link for installing .NET.

Anybody ever come across this and could this be resolved?

th***********@yahoo.com
John

Aug 2 '06 #2
I AM using the bootstrap program. The setup program IS A bootstrap
application that opens an MSI Package and installs the application and
its components on the client computer. The CD consists of the following
in the CD root:

1. C5_Setup.msi
2. setup.exe
3. autorun.inf
4. dependencies folder

In the dependencies folder is the following:
1.dotnetfx.exe
2. MDAC_TYP.EXE
3. W2KSP4_EN.EXE
4.WindowsInstaller-KB884016-v2-x86.exe

However, if the customer has .net framework everything installs
correctly. If they do not, it intsalls the .NET framework correctly.
However, after it installs the .net framework it doesn't continue with
the setup.exe, it just hangs. The User has to select the setup.exe
again (If .NET framework was installed first) in order to install the
program

Understand?
John
Phil Wilson wrote:
I'd use the bootstrapper to install the framework and then run your MSI
file, instead of the download from the MSI (which is what you are doing).
The MSI setup can't reverse itself once it's started.
http://msdn.microsoft.com/msdnmag/is.../Bootstrapper/
--
Phil Wilson [MVP Windows Installer]
----
<th***********@yahoo.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
I have an application that I am giving to customers from a CD. Using
the setup everything works fine but one thing.

When the customer doesn't have .NET rather than having them go to the
InstallURL in the Launch Conditions I am having them go to
".\dependencies\dotnetfx.exe" which is on my CD and this works fine.
Except after it installs .NET on their machine the user then has to
run the Setup AGAIN to install my Setup.exe. It doen't go directly to
my setup after it installs the .NET framework as it does if I used the
internet link for installing .NET.

Anybody ever come across this and could this be resolved?

th***********@yahoo.com
John
Aug 2 '06 #3
Let's be precise here - if you are using terms like Launch Condition and
InstallUrl you are not using the bootstrapper prerequisites button that
creates a bootstrapper to install the prerequisites before launching the MSI
file. InstallUrl is a property of the MSI setup's .NET framework launch
condition, not a bootstrapper term. In the setup project, right-click the
project, select properties, click prerequisites, and use those to install
the prerequisites. The behavior of your setup and the terms you're using
imply that you are using a setup.exe to launch the MSI file which fails the
framework installation test, installs the framework and then requires that
you run the setup.exe again (as the messagebox says in this situation). When
I use the *bootstrapper* (as opposed to the MSI launch condition) to
install a dependency it does not require me to rerun setup.exe again.
--
Phil Wilson [MVP Windows Installer]
----
<th***********@yahoo.comwrote in message
news:11*********************@i3g2000cwc.googlegrou ps.com...
>I AM using the bootstrap program. The setup program IS A bootstrap
application that opens an MSI Package and installs the application and
its components on the client computer. The CD consists of the following
in the CD root:

1. C5_Setup.msi
2. setup.exe
3. autorun.inf
4. dependencies folder

In the dependencies folder is the following:
1.dotnetfx.exe
2. MDAC_TYP.EXE
3. W2KSP4_EN.EXE
4.WindowsInstaller-KB884016-v2-x86.exe

However, if the customer has .net framework everything installs
correctly. If they do not, it intsalls the .NET framework correctly.
However, after it installs the .net framework it doesn't continue with
the setup.exe, it just hangs. The User has to select the setup.exe
again (If .NET framework was installed first) in order to install the
program

Understand?
John
Phil Wilson wrote:
>I'd use the bootstrapper to install the framework and then run your MSI
file, instead of the download from the MSI (which is what you are doing).
The MSI setup can't reverse itself once it's started.
http://msdn.microsoft.com/msdnmag/is.../Bootstrapper/
--
Phil Wilson [MVP Windows Installer]
----
<th***********@yahoo.comwrote in message
news:11**********************@h48g2000cwc.googleg roups.com...
>I have an application that I am giving to customers from a CD. Using
the setup everything works fine but one thing.

When the customer doesn't have .NET rather than having them go to the
InstallURL in the Launch Conditions I am having them go to
".\dependencies\dotnetfx.exe" which is on my CD and this works fine.
Except after it installs .NET on their machine the user then has to
run the Setup AGAIN to install my Setup.exe. It doen't go directly to
my setup after it installs the .NET framework as it does if I used the
internet link for installing .NET.

Anybody ever come across this and could this be resolved?

th***********@yahoo.com
John

Aug 2 '06 #4

Phil, thank you for taking the time to review my question. I did use
the bootstrapper button and selected that .NET to be installed from my
location (the CD). Perhaps my problem is I think I used both he MSI
properties and the bootstrapper.

It never fails the installation test. It tests to see if the client
computer has .NET or not. If the User does not have it, it correctly
installs it. If the user has dotnet, it correctly installs the program.

The only issue is if the user doesn't have .net and after it intstalls
it from the CD it fails to go to the setup. I think I used both, the
MSI properties and the bootstrapper.

John

Phil Wilson wrote:
Let's be precise here - if you are using terms like Launch Condition and
InstallUrl you are not using the bootstrapper prerequisites button that
creates a bootstrapper to install the prerequisites before launching the MSI
file. InstallUrl is a property of the MSI setup's .NET framework launch
condition, not a bootstrapper term. In the setup project, right-click the
project, select properties, click prerequisites, and use those to install
the prerequisites. The behavior of your setup and the terms you're using
imply that you are using a setup.exe to launch the MSI file which fails the
framework installation test, installs the framework and then requires that
you run the setup.exe again (as the messagebox says in this situation). When
I use the *bootstrapper* (as opposed to the MSI launch condition) to
install a dependency it does not require me to rerun setup.exe again.
--
Phil Wilson [MVP Windows Installer]
----
<th***********@yahoo.comwrote in message
news:11*********************@i3g2000cwc.googlegrou ps.com...
I AM using the bootstrap program. The setup program IS A bootstrap
application that opens an MSI Package and installs the application and
its components on the client computer. The CD consists of the following
in the CD root:

1. C5_Setup.msi
2. setup.exe
3. autorun.inf
4. dependencies folder

In the dependencies folder is the following:
1.dotnetfx.exe
2. MDAC_TYP.EXE
3. W2KSP4_EN.EXE
4.WindowsInstaller-KB884016-v2-x86.exe

However, if the customer has .net framework everything installs
correctly. If they do not, it intsalls the .NET framework correctly.
However, after it installs the .net framework it doesn't continue with
the setup.exe, it just hangs. The User has to select the setup.exe
again (If .NET framework was installed first) in order to install the
program

Understand?
John
Phil Wilson wrote:
I'd use the bootstrapper to install the framework and then run your MSI
file, instead of the download from the MSI (which is what you are doing).
The MSI setup can't reverse itself once it's started.
http://msdn.microsoft.com/msdnmag/is.../Bootstrapper/
--
Phil Wilson [MVP Windows Installer]
----
<th***********@yahoo.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
I have an application that I am giving to customers from a CD. Using
the setup everything works fine but one thing.

When the customer doesn't have .NET rather than having them go to the
InstallURL in the Launch Conditions I am having them go to
".\dependencies\dotnetfx.exe" which is on my CD and this works fine.
Except after it installs .NET on their machine the user then has to
run the Setup AGAIN to install my Setup.exe. It doen't go directly to
my setup after it installs the .NET framework as it does if I used the
internet link for installing .NET.

Anybody ever come across this and could this be resolved?

th***********@yahoo.com
John
Aug 2 '06 #5

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

Similar topics

0
by: Sean Campbell | last post by:
Hi, My group have a ASP.NET based application ( currently running on 1.0.3705 ). Ideally, we would like to deploy new components(asp files/assemblies/db updates) into a live environment without...
1
by: Terry H | last post by:
Hi I am deploying a winforms app via the windows installer and a VS.Net 2003 setup and deploymnet project. At the moment, I am adding launch conditions for the .Net Framework 1.1 and MDAC 2.7...
1
by: dansan | last post by:
We have a webservice that we have been deploying using the deployment project in Visual Studio. Now we are trying to deploy this service to a server that has multiple sites. I have looked...
2
by: Flip | last post by:
I am deploying webapps using XP (IIS5) and deploying them to a Windows 2003 Server box (IIS6). So far so good. However, when I try to manage my w2k3 server from XP, I get an error message saying...
3
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following ...
4
by: john | last post by:
I think some of the changes to Asp.net are rediculous. Take the ability to deploy source code to production that is compiled on the fly. If this is such a great model, why not distribute your...
10
by: Bryan Dickerson | last post by:
I fairly have my Web Service working the way that I want, so my next step will be to deploy it on a server. Do I just add a deployment/install project, build it and install it on the server? ...
0
by: Dave | last post by:
Hello The application I'm building an installer for uses dlls which were developed originally in C. Since the application itself is developed in C#, these dlls were wrapped using SWIG....
0
by: steve | last post by:
H I new in deploying applications with visual studio 2005. I've used the setup wizard for a project when the user deploys the project I need to now where the user has put it. (path of the...
6
by: Ryan | last post by:
Is there any way to save a VB 2005 created application as an .MSI install file? The only method I see is to publish as a .EXE. Curious because I want to push out an application with Group Policy....
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.