Groups | Blog | Home
all groups > dotnet setup > june 2005 >

dotnet setup : How to prevent the .NET framework 1.1 installation from restarting


pilot
6/22/2005 7:29:09 AM
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
Phil Wilson
6/22/2005 8:59:53 AM
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?
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

[quoted text, click to view]

AddThis Social Bookmark Button