Help - Search - Members - Calendar
Full Version: Wihu CreateProcess
MSFN Forums > Member Contributed Projects > Other Member Contributed Projects > Windows Installation Helper Utility

   
Google Internet Forums Unattended CD/DVD Guide
eniac2k
hi there

i'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 a
Fatal Exception. has anything changed with the way the
processes are called ?

regards
remo

btw: great tool!
BenjaminKalytta
No only process specific environment block was added, i.e. not the current environment will be used.
What are the error codes?

Benjamin
eniac2k
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 as
LocalSystem 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 Data
Local Settings=\Local Settings
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Personal=\My Documents
ProgramFiles=C:\Program Files
Programs=\Start Menu\Programs
Recent=\Recent
SendTo=\SendTo
SRCDRIVE=C:
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=\Local Settings\Temp
Templates=\Templates
ThisUser=SYSTEM
TMP=\Local Settings\Temp

output with old wihu version:

Local AppData=%USERPROFILE%\Local Settings\Application Data
Local Settings=%USERPROFILE%\Local Settings
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Personal=%USERPROFILE%\My Documents
ProgramFiles=C:\Program Files
Programs=%USERPROFILE%\Start Menu\Programs
Recent=%USERPROFILE%\Recent
SendTo=%USERPROFILE%\SendTo
SRCDRIVE=C:
SystemDrive=C:
SystemRoot=C:\WINDOWS
Templates=%USERPROFILE%\Templates
ThisUser=
USERPROFILE=C:\Documents and Settings\Default User

normally 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 crashes
because 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:\Temp

do you have an idea why the drive letter is missing?

regards
remo
BenjaminKalytta
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
eniac2k
hi benjamin

thanks for the quick fix.
works like a charm!
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.