473,396 Members | 2,017 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,396 software developers and data experts.

setup project bootstrapper question

I'm writing a new install as a setup and deployment project. I have 3
pre-requisites set in the bootstrapper - Framework V2, SQL Express, Windows
Installer 3.1. When the setup is launched, it immediately recognizes which
items aren't installed and prompts with the appropriate license agreements
for each product needed. What I need is to find a way to inform my users of
what is happening before just flashing new EULA's in front of them -
something to the affect of a form stating that their system will be checked
for necessary components etc. The way things work now without letting users
know what's going on is less than user-friendly.
Jan 8 '07 #1
11 1589
Hello Matt,

From your description, you're wondering how to prompt some instruction or
information before the VS generated setup program do the bootstrapper
(prerequists installing), correct?

Based on my experience, since the bootstrapper stub is called at the
earliest time in a setup program(VS generated or manually developed through
windows installer sdk), you can not directly add such an additional prompt
in the setup program. I've discussed this with some setup engineers and
they suggest that you create a thim program(exe) in which you first display
all the instruction or information you want to prompt and then
programmatically launch the actual setup.exe(generated throgh VS setup
project). How do you think?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 9 '07 #2
I've thought about the idea of creating just a small app that lets them know
what's about to happen as you've suggested. The problem is how do I do that
when one of the pre-requisited is the .Net framework itself? I suppose I
could do something very simple in VB6, but am concerned about it looking
poor. Are there other options for doing this type of thing?

"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:sp**************@TK2MSFTNGHUB02.phx.gbl...
Hello Matt,

From your description, you're wondering how to prompt some instruction or
information before the VS generated setup program do the bootstrapper
(prerequists installing), correct?

Based on my experience, since the bootstrapper stub is called at the
earliest time in a setup program(VS generated or manually developed
through
windows installer sdk), you can not directly add such an additional prompt
in the setup program. I've discussed this with some setup engineers and
they suggest that you create a thim program(exe) in which you first
display
all the instruction or information you want to prompt and then
programmatically launch the actual setup.exe(generated throgh VS setup
project). How do you think?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.

Jan 9 '07 #3
Thanks for your reply Matt,

Yes, for such shim app, it is recommended not use .net framework to build
it(or VB) since they will rely on runtime framework(or VB runtime libs ).
If possible, using vc to build a small windows application would be
preferred. Also, there are other options such as use a html page (which is
easy to design and can display on any machine which has webbrowser). And in
the default.htm(or readme.htm) page you can prompt all the necessary
installation instructions include the pre-requisited. And you can provide
some link on the page which point to the actual setup program. How about
this?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 10 '07 #4
To get around this problem, we created a nice looking WinForms application
in .Net, and then compiled it to a native EXE using remotesoft's linker.

This gives us a very nice looking app that that user can use to select "what
to install", we can show whatever we want prior to the actually MSI being
run, and then the MSI goes through the standard bootstrap process.

Using the RemoteSoft product, we're able to build .Net apps that run
everywhere and don't need the .Net framework to be installed.

--
Chris Mullins, MCSD.NET, MCPD:Enterprise, MVP C#
http://www.coversant.net/blogs/cmullins

"Matt Fielder" <mf****************@nospam.nospamwrote in message
news:OZ*************@TK2MSFTNGP03.phx.gbl...
I'm writing a new install as a setup and deployment project. I have 3
pre-requisites set in the bootstrapper - Framework V2, SQL Express,
Windows Installer 3.1. When the setup is launched, it immediately
recognizes which items aren't installed and prompts with the appropriate
license agreements for each product needed. What I need is to find a way
to inform my users of what is happening before just flashing new EULA's in
front of them - something to the affect of a form stating that their
system will be checked for necessary components etc. The way things work
now without letting users know what's going on is less than user-friendly.

Jan 10 '07 #5
Chris,

Thanks for your reply. As this is a downloadable "try before you buy" type
situation, size matters. We have been using XenoCodes product to generate
Native X86 Assemblies already, and we could do this to create a form as
you've stated, but about the minimum size for a native file is 11MB, which
is a file size cost higher than I'm comfortable with just for a single form
and launcher.
"Chris Mullins [MVP]" <cm******@yahoo.comwrote in message
news:eD**************@TK2MSFTNGP02.phx.gbl...
To get around this problem, we created a nice looking WinForms application
in .Net, and then compiled it to a native EXE using remotesoft's linker.

This gives us a very nice looking app that that user can use to select
"what to install", we can show whatever we want prior to the actually MSI
being run, and then the MSI goes through the standard bootstrap process.

Using the RemoteSoft product, we're able to build .Net apps that run
everywhere and don't need the .Net framework to be installed.

--
Chris Mullins, MCSD.NET, MCPD:Enterprise, MVP C#
http://www.coversant.net/blogs/cmullins

"Matt Fielder" <mf****************@nospam.nospamwrote in message
news:OZ*************@TK2MSFTNGP03.phx.gbl...
>I'm writing a new install as a setup and deployment project. I have 3
pre-requisites set in the bootstrapper - Framework V2, SQL Express,
Windows Installer 3.1. When the setup is launched, it immediately
recognizes which items aren't installed and prompts with the appropriate
license agreements for each product needed. What I need is to find a way
to inform my users of what is happening before just flashing new EULA's
in front of them - something to the affect of a form stating that their
system will be checked for necessary components etc. The way things work
now without letting users know what's going on is less than
user-friendly.


Jan 10 '07 #6
Steven,

I want to stay away from the htlml page as it would seem odd to me as an end
user to start out the install process for my windows forms application in a
web browser.

This leaves the two options of VB6 or vc:
I've started down the path of creating the form and launcher in VB6 --- you
did mention the runtime libs being needed --- have they not been distributed
with all versions of Windows for years?

As for vc - I know absolutely nothing about it at all - as for just creating
a message, I suppose it's nothing more than a "hello world" fancied up a
bit, but when talking about vc and starting other applications, I get a
little concerned on how long of a learning curve would be involved.

"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:Rs**************@TK2MSFTNGHUB02.phx.gbl...
Thanks for your reply Matt,

Yes, for such shim app, it is recommended not use .net framework to build
it(or VB) since they will rely on runtime framework(or VB runtime libs ).
If possible, using vc to build a small windows application would be
preferred. Also, there are other options such as use a html page (which
is
easy to design and can display on any machine which has webbrowser). And
in
the default.htm(or readme.htm) page you can prompt all the necessary
installation instructions include the pre-requisited. And you can provide
some link on the page which point to the actual setup program. How about
this?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no
rights.

Jan 10 '07 #7
Thank for your reply Matt,

I agree that VB will be preferred if you haven't any available vc
development resource at hand. Also, you're right that for most lastest
windows OS(from XP, 2003...), VB6 runtime is preinstalled and you only need
the application program(if it simply display some UI window).

Anyway, in case you have interets, here are some web article demonstrating
creating simple MFC dialog(SDI) based application:

http://www.codeproject.com/dialog/we...6512&exp=0&sel
ect=876110

http://courses.washington.edu/css450...rom_students/4
50Hints/VC7.Help/CreatingDialogAppWithMFC7.pdf

http://www.flounder.com/dialogapp.htm

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 11 '07 #8
Steven,

The VB6 UI that I have is a simple form with some labels telling them what's
about to happen, a graphic to make things look nice and two buttons - one
that launches the install and one that cancels. Just a few controls and
about 3 lines of code.

You mention that the VB6 Runtime is included with OS of XP or greater.
A couple of quick quesitons: First is it safe to assume Vista will include
as well? Do you know if the runtime is included on Windows 2K?

"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:FL**************@TK2MSFTNGHUB02.phx.gbl...
Thank for your reply Matt,

I agree that VB will be preferred if you haven't any available vc
development resource at hand. Also, you're right that for most lastest
windows OS(from XP, 2003...), VB6 runtime is preinstalled and you only
need
the application program(if it simply display some UI window).

Anyway, in case you have interets, here are some web article demonstrating
creating simple MFC dialog(SDI) based application:

http://www.codeproject.com/dialog/we...6512&exp=0&sel
ect=876110

http://courses.washington.edu/css450...rom_students/4
50Hints/VC7.Help/CreatingDialogAppWithMFC7.pdf

http://www.flounder.com/dialogapp.htm

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no
rights.

Jan 11 '07 #9
Thanks for your quick reply,

For Vista should have been included and here is the Vista VB6 support
statement:

#Support Statement for Visual Basic 6.0 on Windows Vista
http://msdn2.microsoft.com/en-us/vbrun/ms788708.aspx

For windows 2000, I haven't found the definite statement. However, I don't
think it is completely installed, at least depend on the service pack
installed.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 11 '07 #10
What I'll be doing is using a self extracting exe that: (via WinZip Self
Extrator)
1: extracts files
2: runs a specific executable
3: deletes the extracted files from file system
4: closes

Therefor, if having the runtime files for VB6 available in the same folder
as the executable is sufficent, it's worth looking into. Do you know if
having the files available is sufficent or would they need to be registered
with the OS?
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:ii**************@TK2MSFTNGHUB02.phx.gbl...
Thanks for your quick reply,

For Vista should have been included and here is the Vista VB6 support
statement:

#Support Statement for Visual Basic 6.0 on Windows Vista
http://msdn2.microsoft.com/en-us/vbrun/ms788708.aspx

For windows 2000, I haven't found the definite statement. However, I don't
think it is completely installed, at least depend on the service pack
installed.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.

Jan 11 '07 #11
Hi Matt,

I've discussed with other engineer. For VB6, we can not simple package all
the individual dll with our VB6 exe when deploying to other machines which
may not have VB6 runtime installed. The recommended means is to use VB6
setup program's generated redistribute package to install the runtime.
That's why I don't thnk using VB 6 to create such as shim program a good a
idea since it involves another setup/deployment question(for vb6 runtime)
here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 12 '07 #12

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

Similar topics

2
by: Jeremy Ames | last post by:
I saw a post on here with in the past week or so, but I cannot seem to find it now. It had something to do with loading the .Net framework bootstrap to the msi installation. Can someone please help?
2
by: Ofer Lavi | last post by:
Hi, I am trying to build an activeX that, if missing, will be downloaded and setup automatically on the client's browser (internet explorer). Using VB6, it was easy, using the <Object> tag,...
0
by: Husam | last post by:
Hi EveryBody : I did the follwoing procuderes but it did not work with me: 1- Make sure that the Visual Studio .NET Framework Bootstrapper Plug-in is installed. 2- Select the Setup project in...
0
by: Husam | last post by:
Hi EveryBody: I read the articl "using Visual Studio Net 2003 to redistrbuted the Net framework" which is in the msdn library and I applied every step in it to add the Net framework to the...
0
by: Husam | last post by:
Hi EveryBody: I read the articl "using Visual Studio Net 2003 to redistrbuted the Net framework" which is in the msdn library and I applied every step in it to add the Net framework to the...
2
by: Dennis | last post by:
I have created a setup project and it works fine. However, it inlcudes a file "Dotnetfx.exe" which I have read is the installer for the required .net framework. I have read the documentation that...
2
by: Norman Diamond | last post by:
My C# code is I18N'ed by appropriately naming and editing .resx files. At execution time, it works. My C++ code is somewhat I18N'ed. When I put UI code in C++ I use .rc files. When I link to a...
1
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post by:
Hi misters, I continue installing; my production PC is Windows 2003; development environment: using VS 2005 in Windows XP for create Setup Project Now, I need install Acrobat Reader...
0
by: tcomer | last post by:
I'm creating a setup and deployment application that will ultimately install some prerequisites, a windows application, and then transfer a file to a handheld device. The setup process works fine...
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?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.