Quantcast
Channel: WinBuilder
Viewing all articles
Browse latest Browse all 1056

[BUILD] cmd.exe cannot be copied to ...

$
0
0
Hello,

I've spent some time trying to get why Winbuilder did not work on my nice Windows 2008 R2 Server which our admin staff uses as developpment platform.
I had an error on BUILD stage RETRIEVE TOOLS telling that cmd.exe cannot be copied to [your project location].

While reading logs i found out that my %WINDOWSDIR% variable pointed to c:\users\administrator\WINDOWS, folder that obviously exists and is a chrooted WINDOWS folder when using terminal server.

Once i found this out, i figured out what to do to run WinBuilder on my Terminal Server, here's the script:


@echo off
:: Getting current user session in install modus
change user /install
:: Loading Winbuilder
start /wait winbuilder.exe
:: Getting current user session back in execute modus
change user /execute


Hope it helps :)

PS: if you ask why i run winbuilder on a terminal server, there's a simple reason: The server is our IT staff server.

Viewing all articles
Browse latest Browse all 1056

Trending Articles