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 / .NET Framework / Setup / June 2005

Tip: Looking for answers? Try searching our database.

How to prevent the .NET framework 1.1 installation from restarting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pilot - 22 Jun 2005 15:29 GMT
Hi,

I'm using the .NET framework (version 1.1) merge module / object as part of
my product installation (developing with InstallShield 10.5).
As part of the .Net framework installation, a restart request is displayed
to the user.
Once the pc restarts, the installation fails to continue as some services
which are already installed on the target pc get started (upon restart) and
prevent (for some reason) from the installation to continue (just to clarify:
those services I've mentioned do not get installed by my installation
package, they are already present on the target pc).

Is there a way to disable this "restart" request or at least postpone it to
the end of the installation?
Phil Wilson - 22 Jun 2005 16:58 GMT
I don't know what that merge module does, but the idea that the framework
would be distributed as a merge module was abandoned when 1.0 shipped, but
vestiges remain. You should be launching the framework redist before
launching the MSI install, then you wouldn't be getting most of these issues
(which seem to be caused by having the framework installed during your
install).

If you are installing Services using Installer classes, that's not required.
.NET Services install fine using the Service features in the InstallShiled
IDE which end up populating the MSI file ServiceInstall and ServiceControl
tables.

Most of what you're asking is Windows Installer, not framework setup.
Properties like AFTERREBOOT, and REBOOT would help, but if you install the
framework separately you won't need them.  Postponing a reboot doesn't
always help. If the framework isn't completely installed (because of a
pending reboot), then when your MSI installs there may be failures - will
custom actions that use the framework work ok? Will assemblies install
properly?
Signature

Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

> Hi,
>
[quoted text clipped - 14 lines]
> to
> the end of the installation?

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.