eniac2k Posted September 23, 2005 Share Posted September 23, 2005 hi therei'm using wihu during an unattended setup within cmdlines.i was running wihu version 2.1.18.0 without any problems.i updated my version to the current 2.1.24.1 (just replaced the binary)and now installation of our LANDesk Agent quits with aFatal Exception. has anything changed with the way theprocesses are called ?regardsremobtw: great tool! Link to comment Share on other sites More sharing options...
BenjaminKalytta Posted September 23, 2005 Share Posted September 23, 2005 No only process specific environment block was added, i.e. not the current environment will be used. What are the error codes?Benjamin Link to comment Share on other sites More sharing options...
eniac2k Posted September 26, 2005 Author Share Posted September 26, 2005 hi benjamin>No only process specific environment block was added, i.e. not the current >environment will be used. What are the error codes?thanks for the environment tip. found the error:it seems to me that the new code does not work correctly asLocalSystem at T-12 stage while unattended setup runs.it works ok, as soon as the system is up and running.here is a partial output of a "set" with the newest wihu version:Local AppData=\Local Settings\Application DataLocal Settings=\Local SettingsPath=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\WbemPersonal=\My DocumentsProgramFiles=C:\Program FilesPrograms=\Start Menu\ProgramsRecent=\RecentSendTo=\SendToSRCDRIVE=C:SystemDrive=C:SystemRoot=C:\WINDOWSTEMP=\Local Settings\TempTemplates=\TemplatesThisUser=SYSTEMTMP=\Local Settings\Tempoutput with old wihu version:Local AppData=%USERPROFILE%\Local Settings\Application DataLocal Settings=%USERPROFILE%\Local SettingsPath=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\WbemPersonal=%USERPROFILE%\My DocumentsProgramFiles=C:\Program FilesPrograms=%USERPROFILE%\Start Menu\ProgramsRecent=%USERPROFILE%\RecentSendTo=%USERPROFILE%\SendToSRCDRIVE=C:SystemDrive=C:SystemRoot=C:\WINDOWSTemplates=%USERPROFILE%\TemplatesThisUser=USERPROFILE=C:\Documents and Settings\Default Usernormally TEMP + TMP are not yet set at T-12(which seems not important to the program i run)but if they are defined it parses them and crashesbecause there is no drive letter.i try to override the problem with an [Environment] section in wihu.ini with an entry of TEMP=C:\Temp and TMP=C:\Tempdo you have an idea why the drive letter is missing?regardsremo Link to comment Share on other sites More sharing options...
BenjaminKalytta Posted September 26, 2005 Share Posted September 26, 2005 Thank you Remo, I think I found the bug. Please download the fixed version and try it again. It should work now also on T-12.Benjamin Kalytta Link to comment Share on other sites More sharing options...
eniac2k Posted September 26, 2005 Author Share Posted September 26, 2005 hi benjaminthanks for the quick fix.works like a charm! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now