views:

96

answers:

2

I have built a web setup project in Visual Studio. When it is installed on one machine it prompted the user to reboot and I don't know why.

It is installing over the top of a previous version. It doesn't do it on my machine.

What can cause this, and is there any way I can prevent it? I don't see any reason for it to occur, it's just a fairly standard ASP.NET site.

+2  A: 

Usually the only cause of a reboot on .NET is that it is trying to overwrite something that is in use. It needs the reboot in order to remove the handle. For an ASP.NET site, try stopping IIS before the install, then re-starting it afterwards.

Sohnee