Timeout on Dotnet 4.5.1, no output why
Hi,
I'm deploying dotnet 4.5.1 to some Windows 7 machines but have errors for some machines only (some do work fine -50 percent- which indicate a timeout).
The only thing I can see is that it starts (C:\Windows\ccmcache\a\Program\setup.exe /quiet /norestart) but no logging whatsoever after it.
Please advise.
June 17th, 2015 6:27am
Hi,
Although it's an exe it has an embedded MSI.
You can enable verbose MSI logging on a machine with the following registry key.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
"Logging"="voicewarmup"
Then rerun a failed deployment.
If installing under the system account (ConfigMgr) then the log will be in windows\temp. List by date modified.
June 17th, 2015 6:34am
Once you get the log file search for "value 3" just above this will be the reason it fails.
June 17th, 2015 6:35am
Thanks, I looked at the appenforce.log:
Waiting for process 2864 to finish. Timeout = 120 minutes. AppEnforce 13/06/2015 22:57:32 6992 (0x1B50)
Exceeded timeout of 120 minutes while waiting for process 2864 to finish. AppEnforce 15/06/2015 8:04:28 6992 (0x1B50)
However, can't find out what the process is anymore since timeout exceeded.
June 17th, 2015 6:38am
Thanks, problem is that I don't have a testmachine to test.
Meanwhile I found out that the process he's waiting for is wscript.
June 17th, 2015 6:52am
For discovery of .NET 4.5.1, I'm using SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full item Release, which should be ge 378758
but the system I checked, didn't had that value.
So I added SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Full for discovery.
Will it pickup this change in deployment immediately or should I update the content/redistribute?
Please advise!
J.
June 17th, 2015 7:06am
You will have to wait until the machine updates policy (default every 60 mins) or you can do it from control panel or using the Now Micro right click tools on a collection selecting machine policy evaluation cycle.
Then run an application deployment cycle.
BTW, you only need to update the DP content if the content of the source files changes, if you make any changes in tab selection or options such as tick box's then this is picked up by policy changes on the client.
-
Edited by
Richard.Knight
20 hours 28 minutes ago
June 17th, 2015 7:09am
Thanks!
What I don't get in the first place is why some dotnet installs work and other don't. So that means sometimes it would have written in Wow6432Node regkey, sometimes not whereas the installation source is the same.
June 17th, 2015 7:45am
Thought of that and that would be an explanation if we would have 32 and 64 bit devices ....
June 17th, 2015 8:23am
There are issues with deploying the .NET Framework 4.5 (and above) as an application. I've never gotten it to work although some claim to have. The issue stems from what Richard points out above. The solution I've seen them use is to run
it as a 32-bit application.
June 17th, 2015 9:21am
"I've never gotten it to work"
Oops, what do you mean by that? Same issue as I have or similar? Half of the deployments for me seem to work ....
So running it as a 32-bit application and then it would work, did you try that yourself?
June 17th, 2015 10:08am
Note: do you have a reference of that solution (run as 32 bit)?
June 17th, 2015 10:11am
As mentioned, I've never gotten it to work -- I've always just used a package when necessary.
Here's the only reference:
https://social.technet.microsoft.com/Forums/en-US/4808233e-1410-4305-a8d1-0e88f3a6fdc8/net-451-install-only-works-when-running-on-a-ui-session?forum=configmanagerapps
June 17th, 2015 10:23am
Thanks!
June 17th, 2015 10:56am