all groups > visual studio .net setup > december 2006 >
You're in the

visual studio .net setup

group:

Windows Install needs required download when installing on a Win98 system


Windows Install needs required download when installing on a Win98 system Edward Mitchell
12/1/2006 2:13:37 PM
visual studio .net setup:
I have built a Setup project for my app. The Setup project has "Detected
Dependencies" of:

Microsoft_VC80_CRT_x86.msm
Microsoft_VC80_MFC_x86.msm
policy_8_0_microsoft_vc80_crt_x86.msm
policy_8_0_microsoft_vc80_mfc_x86.msm

and the other files are "Primary Output from myApp (Active)" and my test
program.

I build the project and then when I look at the file structure under
release, I see:

setup.exe file
Setup.msi file
vcredist_x86 folder

and under the vcredist_x86 is vcredist_x86.exe.

The project installs correctly on my XP machine that has VS.NET 2005
installed.

When I take the setup folder to a Win98 machine, I'm asked to accept the
license agreement for the .NET Framework 2.0. Then a window is popped up
that says "Downloading required files." Since the Win98 machine is not
connected to the Internet, the installation fails at this point.

How can I get all the files my app needs into the distributable folders?

Ed
--
Edward E.L. Mitchell
Phone: (239)415-7039
6707 Daniel Court
Fort Myers, FL 33908

RE: Windows Install needs required download when installing on a Win98 system v-garych NO[at]SPAM online.microsoft.com (
12/4/2006 8:20:25 AM
Hi Edward,

[quoted text, click to view]

I suggest you can add the .NET Framework 2.0 as a prerequisite to your
application's setup project.

To do this you need to create a bootstrapper--in Solution Explorer,
right-click the setup project and then click Properties. In the Property
pages box click Prerequisites and then check Create setup program to
install the prerequisite components. Choose .NET Framework 2.0 and specify
the install location for prerequisites. In current case, you can choose the
"Download prerequisites from the same location as my application ".

After building your setup project, VS2005 would create a dotnetfx folder
which contains the .NET Framework Version 2.0 Redistributable Package as
well as your installation package. Your customer should use the "setup.exe"
to launch the installation process.

Please refer to the following MSDN documentation for the details:

Using Visual Studio 2005 to Redistribute the .NET Framework 2.0
http://msdn2.microsoft.com/en-us/library/aa480239.aspx


Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Re: Windows Install needs required download when installing on a Win98 system Edward Mitchell
12/5/2006 8:10:33 AM
Gary,

I don't really think that I need the .NET Framework. My app is a simple
C++/MFC project with no .NET stuff. You solved the problem however in that
I hadn't noticed that the .NET Framework was checked in the Prerequisites
window and also the "Download prerequisites from the component vendor's web
site" radio button was selected. So the installer was going off to download
a file that wasn't really needed.

When I changed the radio button selection to "Download prerequisites from
the same location as my application", then the Framework was put into a
folder of it's own within the distributable folder. Unfortunately this
added 25MB to the size of the app. My .exe is only 128KB and the VSC++
runtime libraries are about 2.6MB so there's a lot of overhead for the
Framework.

So I unchecked the box for the Framework and selected the radio button for
getting the libraries from the app folder itself and I was able to complete
the install.

Thanks for the feedback. It's very difficult to understand the
documentation that supposedly describes creating a Setup project. It would
be nice it there were a few more walkthroughs of typical projects beside the
Notepad example.

Ed

[quoted text, click to view]

Re: Windows Install needs required download when installing on a Win98 system v-garych NO[at]SPAM online.microsoft.com (
12/6/2006 3:27:26 AM
Hi Ed,

Thanks for the response, and I am glad to know you found the workaround to
this issue.

I know there is not enough documentation and samples on our VS setup
project, I will forward your concern to our corresponding product team for
review.

Have a nice day!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
AddThis Social Bookmark Button