Topic: images.script related bug ?  (Read 2145 times)

images.script related bug ?
« on: January 05, 2012, 03:58:24 AM »

Brodi

  • Apprentice
  • *
  • Date Registered: Jan 2012
  • Posts: 2
Hello
Great software , keep going !

On my pc with 7 x64 sp1 WindowsBuilder v80 and v82 is breaking with error with both x32 and x64 windows source files  at
line 260-263
If,ExistFile,%ProjectTemp%\WimInfo\WimInfo.exe,Shellexecute,Hide,cmd.exe,"/C del /q /f #$q%ProjectTemp%\WimInfo\WimInfo.exe#$q"
If,ExistFile,%ProjectTemp%\WimInfo\WimInfo.exe,Echo,"FILE NOT DELETED",WARN
If,ExistFile,%ProjectTemp%\WimInfo\WimInfoInstall.ini,Shellexecute,Hide,cmd.exe,"/C del /q /f #$q%ProjectTemp%\WimInfo\WimInfoInstall.ini#$q"
If,ExistFile,%ProjectTemp%\WimInfo\WimInfoInstall.ini,Echo,"FILE NOT DELETED",WARN
and 335 336
If,ExistFile,%ProjectTemp%\WimInfo\WimInfo.exe,Shellexecute,Hide,cmd.exe,"/C del /q /f #$q%ProjectTemp%\WimInfo\#$q"
If,ExistFile,%ProjectTemp%\WimInfo\WimInfo.exe,Run,%ScriptFile%,Del,%ProjectTemp%\WimInfo\WimInfo.exe

error \temp\WimInfo\WimInfo.exe CAN NOT BE DELETED ...
Of course WinInfo can be deleted only after close winbuilder, when i comment this lines with // everything is working

Re: images.script related bug ?
« Reply #1 on: January 05, 2012, 11:31:34 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Hi Brodi,
:welcome:

I think that your AV is blocking these files as long as they are analyzed.
This prevents the del command (dos) to be executed correctly. If you have another answer, let me know.

I know that some people do not like but I advise you to put the entire w7pese folder in the exclusion list to avoid such problems and for a faster building.

However, no problem with the first line (260-263), you can leave them as they are, it is just a warning without exit or halt.
It is better if the files are deleted before restarting wiminfo.exe but this does not prevent it to run.

For the other line (335 336) it's just a cleanup after running wiminfo, not mandatory. You can try to change with this
Quote
If,ExistFile,%ProjectTemp%\WimInfo\WimInfo.exe,Shellexecute,Hide,cmd.exe,"/C del /q /f #$q%ProjectTemp%\WimInfo\WimInfo.exe#$q"
//If,ExistFile,%ProjectTemp%\WimInfo\WimInfo.exe,Run,%ScriptFile%,Del,%ProjectTemp%\WimInfo\WimInfo.exe
If,ExistFile,%ProjectTemp%\WimInfo\WimInfo.exe,Call,FileDelete,%ProjectTemp%\WimInfo\WimInfo.exe
If the file WimInfo.exe is not deleted, you will have some warning message but no exit or halt.

:cheers:

Re: images.script related bug ?
« Reply #2 on: January 06, 2012, 08:11:13 PM »

Brodi

  • Apprentice
  • *
  • Date Registered: Jan 2012
  • Posts: 2
Disabling AV is not helping, still same error message,
"it is just a warning without exit or halt" - not, it stops and cannot continue.

Second not related thing, half software from hirens boot dont work under 7 :]

Re: images.script related bug ?
« Reply #3 on: January 07, 2012, 10:04:59 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi Brodi,

what shortly ChrisR asked you is try following
http://www.mediafire.com/?azf5w978bh0e4tq

if there still an "error" with above images.script , provide a packed log file through mediafire etc.
 :cheers:

 

Powered by EzPortal