Problems with Runscanner
#1
Posted 13 April 2009 - 05:46 PM
IF - syntax was not valid: [If,ExistFile,"%BootSRC%\Windows\System32\bcdedit.exe,Require_File,bcdedit.exe]
I don't know what it should read so hopefully I can get some help .
#2
Posted 13 April 2009 - 06:02 PM
This might happen because %BootSRC% is a variable without a properly defined value assuming that the rest of your project is being built correctly.
Just out of curiosity, where have you found this script?
There are some scripts that use an outdated coding, this is clearly mentioned on the section title but a lot of people still try to use them and wouldn't be surprised if this was the case.
It would require the script to be updated.
http://www.boot-land...p;showdlforum=4
#3
Posted 13 April 2009 - 06:09 PM
http://www.boot-land...mp;showfile=242
#4
Posted 13 April 2009 - 06:21 PM
But are you using a VistaPE project?
This sort of error would also be possible if you're using a XP project.
-------------------
To avoid confusions and a lot of question would you please post your log.html?
This would save us time so that we can read all about project, also, maybe JonF can also help debugging what is happening here since it's his script.
#5
Posted 13 April 2009 - 11:36 PM
http://www.paraglide.../runscanner.htm
I prefer to use /sd instead of /sv. I use these parameters:
/t 0 /ac /sd /y /m+
instead of
t 0 /sv /ac /sd /y /m+
for remote regedit
#6
Posted 14 April 2009 - 05:27 PM
#7
Posted 14 April 2009 - 06:02 PM
In spite it may run now, just a reply to the initial question.IF - syntax was not valid: [If,ExistFile,"%BootSRC%\Windows\System32\bcdedit.exe,Require_File,bcdedit.exe]
The syntax is really wrong.
No hint that some file is missing anywhere ...
What is missing, is a quote in the command:
If,ExistFile,"%BootSRC%\Windows\System32\bcdedit.exe",Require_File,bcdedit.exe
Peter
#8
Posted 14 April 2009 - 08:03 PM
In spite it may run now, just a reply to the initial question.
The syntax is really wrong.
No hint that some file is missing anywhere ...
What is missing, is a quote in the command:
Peter
Thank you for your solution ! Just one question, after your solution, i've a new error :
Run - Processing section: [reg_hiveload] From file: [%BaseDir%\Projects\VistaPE-Core\Base\00-api-main.script]
[Parameter] with parameters: [HKU]
[Success] SetVar - Sucessfuly changed the value of [%hive_file%] to: [%BaseDir%\Target\VistaPE-TEST\windows\system32\config\software]
[Info] Loading HKU hive..
[Info] Loading hive from %BaseDir%\Target\VistaPE-TEST\windows\system32\config\software
[Failed] RegHiveLoad - Failed to load registry hive: [wb-hive] From file: [%BaseDir%\Target\VistaPE-TEST\windows\system32\config\software]
[Warning] Halt
Run - Processed section [reg_hiveload] in file: [%BaseDir%\Projects\VistaPE-Core\Base\00-api-main.script]
Any idea ?
Thanks you
#9
Posted 15 April 2009 - 07:38 AM
There are three two possible reasons:[Failed] RegHiveLoad - Failed to load registry hive: [wb-hive] From file: [%BaseDir%\Target\VistaPE-TEST\windows\system32\config\software]
- If working under Vista host you do not run WB as admin (But that should be catched previously)
- The file ....\software really does not exist
- This hive is mounted in your local registry, left from a previous crashed or stopped run.
Then you have to unmount it manually using Regedit.
#10
Posted 15 April 2009 - 10:20 AM
There are three two possible reasons:
Peter
- If working under Vista host you do not run WB as admin (But that should be catched previously)
- The file ....\software really does not exist
- This hive is mounted in your local registry, left from a previous crashed or stopped run.
Then you have to unmount it manually using Regedit.
Thank you very much, in my case, it was the third reason !
Thank you very much
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users