Jump to content

Wihu CreateProcess


eniac2k

Recommended Posts

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!

Link to comment
Share on other sites


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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...