.Net 3.5 Windows Feature restart after feature added - Advanced Installer Community
haseebq
Posts: 6
Joined: Sat Sep 28, 2013 3:23 am

.Net 3.5 Windows Feature restart after feature added

Hi,

I'm trying to turn on the ".NET 3.5 Framework" Window Feature on Windows 2012. Initially everything seems to work great and the feature installs, but my app fails to start because the .NET 3.5 Framework installation requires a reboot. Is there a way to make sure the user reboots if the feature requires it?

Thanks.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: .Net 3.5 Windows Feature restart after feature added

Hello,

Please note that the reboot prompts showed sometimes by Windows Installer during or after an installation are controlled by the REBOOT property, so you can easily create the restart functionality.
Please take a look on the Restart the machine after the installation article which may be useful to you.

If you need any help, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
haseebq
Posts: 6
Joined: Sat Sep 28, 2013 3:23 am

Re: .Net 3.5 Windows Feature restart after feature added

Strange: My package has "Prompt for Reboot when Required" set. Any other ideas as to why this would happen?
haseebq
Posts: 6
Joined: Sat Sep 28, 2013 3:23 am

Re: .Net 3.5 Windows Feature restart after feature added

Update: It might have been an issue with 10.5.2. I just rebuilt the package with 10.6 and it seems to be working well now.

Thanks!
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: .Net 3.5 Windows Feature restart after feature added

Hi,

I'm glad you got this working. If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”