none
Is is possible to suppress reboot for .NET 3.5 SP1 RRS feed

  • Question

  • I am deploying a .NET 3.5 application and I use the VS 2008 setup project to do so. In the prerequisites section there is the .NET framework 3.5SP1, which requires a reboot after it's install.

    I am using a self-extracting archive though to package the bootstrapper.exe and the .msi files and once the bootstrapper exists the self-extracting app deletes all the temp files it extractedincluding the msi, which means that after rebooting installation cannot continue.

    Is there a way to suppress the reboot completely? Is it necessary at all? Previous frameworks did not require reboots.
    Is it posssible to suppress the reboot until the msi is installed?

    Kusok
    Friday, October 17, 2008 6:39 AM

Answers

  • You can consider installing other stuff before the installation of .NET Framework 3.5 sp1, just change the order.
    Or deferring the reboot.

    Aaron Stebner has a blog about this question: How to manage reboots when deploying the .NET Framework
    http://blogs.msdn.com/astebner/archive/2006/06/13/627729.aspx

    Thanks.

    Please remember to mark the replies as answers if they help and unmark them if they provide no help. http://forums.msdn.microsoft.com/en-US/vssetup/thread/60424309-bd78-4ca2-b618-03c4a16123b6
    • Marked as answer by Figo Fei Friday, October 24, 2008 4:00 AM
    Monday, October 20, 2008 6:26 AM

All replies

  • You can consider installing other stuff before the installation of .NET Framework 3.5 sp1, just change the order.
    Or deferring the reboot.

    Aaron Stebner has a blog about this question: How to manage reboots when deploying the .NET Framework
    http://blogs.msdn.com/astebner/archive/2006/06/13/627729.aspx

    Thanks.

    Please remember to mark the replies as answers if they help and unmark them if they provide no help. http://forums.msdn.microsoft.com/en-US/vssetup/thread/60424309-bd78-4ca2-b618-03c4a16123b6
    • Marked as answer by Figo Fei Friday, October 24, 2008 4:00 AM
    Monday, October 20, 2008 6:26 AM
  • Thank you for the reply, but is this possible at all with the visual studio installer. I tried both methods and I couldn't find the order change option - .NET 3.5 installs as a prerequisite for the application. I also didn't find any option to allow deferring the reboot (there is just a checkbox for prerequisites and no way to specify any parameters).
    Kusok
    Monday, October 20, 2008 8:32 AM
  • There is a forum called ClickOnce and Setup & Deployment Projects especially for setup project questions.

    Thanks.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. http://forums.msdn.microsoft.com/en-US/vssetup/thread/60424309-bd78-4ca2-b618-03c4a16123b6
    • Marked as answer by Figo Fei Friday, October 24, 2008 4:00 AM
    • Unmarked as answer by Figo Fei Friday, October 24, 2008 4:00 AM
    Monday, October 20, 2008 8:40 AM
  •   Hi Kusok,

    I can see there is a /norestart switch available in the commandline for Framework3.5 .

    Check if you can provide commandline arguments to your setup.exe if yes then 

    do as given below it may solve your problem:

    <filename>.exe /norestart

    You can also check it by yourself all the commandline arguments available by doing this:

    open command prompt
    move to the directory where the framework3.5 exe is
    type the <filename>.exe /?
    press enter
    e.g. D:\MyFolder>dotnetfx3.5.exe /?

    Thanks,
    Somen



    somen das
    Thursday, December 18, 2008 11:03 AM