Yes, that is itIs it using a virtual drive to create the RAMdisk file?
Peter
Posted 28 January 2008 - 06:28 PM
Yes, that is itIs it using a virtual drive to create the RAMdisk file?
Posted 28 January 2008 - 07:26 PM
Posted 28 January 2008 - 09:01 PM
Posted 28 January 2008 - 10:05 PM
ShellExecute,hide,"cmd.exe","/c #$q%VdkExe%#$q driver >> #$q%ProjectTemp%\vdk.ini#$q"Problem is, altering to this
ShellExecute,hide,"cmd.exe","/c #$q%VdkExe%#$q driver >> %ProjectTemp%\vdk.ini"doesn't work if there's spaces in the path, so we need the work-around which both of us have suggested.
Posted 28 January 2008 - 10:18 PM
Dis somebody try alreadyHi nikzzzz,
You're picking up on exactly the same issue as I have: http://www.boot-land...?...ost&p=27946
This is where the logic of the script is failing if the line reads:ShellExecute,hide,"cmd.exe","/c #$q%VdkExe%#$q driver >> #$q%ProjectTemp%\vdk.ini#$q"Problem is, altering to thisShellExecute,hide,"cmd.exe","/c #$q%VdkExe%#$q driver >> %ProjectTemp%\vdk.ini"doesn't work if there's spaces in the path, so we need the work-around which both of us have suggested.
Still, I am at a loss to know why having quotes doesn't work in the script when in the batch file it is no problem.
Regards,
Galapo.
ShellExecute,hide,"cmd.exe","/c #$q#$q%VdkExe%#$q#$q driver >> %ProjectTemp%\vdk.ini"?
Posted 28 January 2008 - 10:22 PM
Well, I didn't actually try it but made the assumption. I'm more than happy to be proven wrong here as it would make things much easier for us!Dis somebody try already
Posted 28 January 2008 - 10:32 PM
ShellExecute,Hide,"cmd.exe","/c #$q%Tools%\7z.exe t #$q%ArchivesDir%\PortableApps\%ArchiveFile%#$q *portable.exe -r > %ArchivesDir%\PortableApps\Program%var%.ini#$q"
Posted 28 January 2008 - 11:11 PM
Correctly working line:Dis somebody try already
ShellExecute,hide,"cmd.exe","/c #$q#$q%VdkExe%#$q#$q driver >> %ProjectTemp%\vdk.ini"?
Peter
ShellExecute,hide,"cmd.exe","/c (#$q%VdkExe%#$q driver >> #$q%ProjectTemp%\vdk.ini#$q)"
Posted 28 January 2008 - 11:17 PM
Posted 28 January 2008 - 11:52 PM
Hi nikzzzz,
You're picking up on exactly the same issue as I have: http://www.boot-land...?...ost&p=27946
This is where the logic of the script is failing if the line reads:ShellExecute,hide,"cmd.exe","/c #$q%VdkExe%#$q driver >> #$q%ProjectTemp%\vdk.ini#$q"Problem is, altering to thisShellExecute,hide,"cmd.exe","/c #$q%VdkExe%#$q driver >> %ProjectTemp%\vdk.ini"doesn't work if there's spaces in the path, so we need the work-around which both of us have suggested.
Still, I am at a loss to know why having quotes doesn't work in the script when in the batch file it is no problem.
Regards,
Galapo.
Posted 29 January 2008 - 12:14 AM
FileCreateBlank,"%ProjectTemp%\GetVdkStatus.cmd" TXTAddLine,"%ProjectTemp%\GetVdkStatus.cmd","cmd.exe /c #$q%VdkExe%#$q driver >> #$q%ProjectTemp%\vdk.ini#$q","Append" ShellExecute,hide,"%ProjectTemp%\GetVdkStatus.cmd",""
Posted 29 January 2008 - 12:55 AM
ShellExecute,hide,"cmd.exe","/c (#$q%VdkExe%#$q driver >> #$q%ProjectTemp%\vdk.ini#$q)"
Posted 29 January 2008 - 01:10 AM
But then who does this work: ...
Posted 29 January 2008 - 01:49 AM
cmd [[{/c|/k}] [/s] [/q] [/d] [{/a|/u}] [/t:fg] [/e:{on|off}] [/f:{on|off}] [/v:{on|off}] string]
...
Processing quotation marks
If you specify /c or /k, cmd processes the remainder of string and quotation marks are preserved only if all of the following conditions are met:If the previous conditions are not met, string is processed by examining the first character to verify whether or not it is an opening quotation mark. If the first character is an opening quotation mark, it is stripped along with the closing quotation mark. Any text following the closing quotation marks is preserved.
- You do not use /s.
- You use exactly one set of quotation marks.
- You do not use any special characters within the quotation marks (for example: &<>( ) @ ^ |).
- You use one or more white-space characters within the quotation marks.
- The string within quotation marks is the name of an executable file.
Posted 29 January 2008 - 03:09 AM
Posted 29 January 2008 - 09:39 AM
became toFileCreateBlank,"%ProjectTemp%\vdk.ini"
TXTAddLine,"%ProjectTemp%\vdk.ini","[status]","Append"
ShellExecute,hide,"cmd.exe","/c #$q%VdkExe%#$q driver >> #$q%ProjectTemp%\vdk.ini#$q"
TXTReplace,"%ProjectTemp%\vdk.ini"," : ","="
IniRead,"%ProjectTemp%\vdk.ini","status","driver#$sstatus","%VdkStatus%"
...
If,%VdkStatus%,Equal,"NOTINSTALLED",...
The issue has been:FileCreateBlank,"%ProjectTemp%\vdk.ini"
TXTAddLine,"%ProjectTemp%\vdk.ini","[status]","Append"
ShellExecute,hide,"cmd.exe","/c (#$q%VdkExe%#$q driver >> #$q%ProjectTemp%\vdk.ini#$q)"
TXTReplace,"%ProjectTemp%\vdk.ini","#$s",""
TXTReplace,"%ProjectTemp%\vdk.ini",":","="
IniRead,"%ProjectTemp%\vdk.ini","status","driverstatus","%VdkStatus%"
...
If,%VdkStatus%,Equal,"NOTINSTALLED",...
Posted 28 February 2008 - 12:22 PM
Posted 28 February 2008 - 03:02 PM
Hi robinj,I had a similar problem today when I renamed the directory that WinBuilder resides in. Applying this fix still did not fix it. I found by going to the VDK directory and performing a VDK remove cured it prior to running Winbuilder. Obviously VDK was setup as being installed in a directory that no longer existed.
To create a permanent cure for this I added a VDK remove command before the VDK status command so that the VDK driver is removed prior to every build. This is a bit over the top for most systems, but works reliably.
ShellExecute,Hide,"%VdkExe%","remove"to the end of the [Process] section (snippit of earlier, unreleased 'fix' by Peter). The most recent version of the BootSDI script, I have not tested as it addressed a different issue which I had not experienced. Perhaps this VDK remove bit needs to be included in the script if others experience this same issue. Glad you got it working!
Posted 28 February 2008 - 04:11 PM
Posted 28 February 2008 - 04:23 PM
The file %BaseDir%\Temp\livexp\vdk.ini seems to be missing or wrong.Confirm that have problems with bootsdi in wb074
When trying to create ramboot.iso
message: zcopy error target path z:\not found ,process (script) stopped and only one option - button OK
in message. And this is occurred twice.
project: live_xp source files xp sp2 eng corporate + w2k3 files
Added for Line 177 in the end [Process] :
ShellExecute,Hide,"%VdkExe%","remove"
not help me
Created ISO file not work at all- damaged/corrupted
in log file (attached) only one error.
Posted 28 February 2008 - 05:27 PM

Posted 28 February 2008 - 05:37 PM
bootsdi settings
Full rebuild attacment here
Posted 28 February 2008 - 05:50 PM
Posted 28 February 2008 - 05:54 PM
Text files are not allowed. You must zip before upload.c:\WinBuilder074\Temp\livexp\vdk.ini
Hehe -)))
Message: Upload failed. You are not permitted to upload this type of file
but nothing inside vdk.ini openend with notepad only one line: [status]
vdk.zip 227bytes
90 downloads
Posted 28 February 2008 - 06:13 PM
0 members, 0 guests, 0 anonymous users