Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / December 2006

Tip: Looking for answers? Try searching our database.

Windows Install needs required download when installing on a Win98 system

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Edward Mitchell - 01 Dec 2006 19:13 GMT
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
Gary Chang[MSFT] - 04 Dec 2006 08:20 GMT
Hi Edward,

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

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.
Edward Mitchell - 05 Dec 2006 13:10 GMT
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

> Hi Edward,
>
[quoted text clipped - 47 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
Gary Chang[MSFT] - 06 Dec 2006 03:27 GMT
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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.