Help - Search - Members - Calendar
Full Version: {MAKEDIR} failed and don't know why.
MSFN Forums > Member Contributed Projects > Windows Post-Install Wizard (WPI)

   


Google Internet Forums Unattended CD/DVD Guide
johnhc
Using WPI 7.6.0 and a {MAKEDIR} failed. The error I got was:
QUOTE
*** Fail *** (returned code undefined): {MAKEDIR}"C:\Documents and Settings\John\Application Data\Thunderbird"
I copied the command from the log file, pasted it into a command prompt, changed the {MAKEDIR} to md and it worked. I am running XP x64. Thanks for your help. Enjoy, John.
Kelsenellenelvian
Hmmm lemme try.
Kelsenellenelvian
Bug confirmed.
johnhc
Thanks, Kels. I changed it to
CODE
Cmd /C MD "%AppData%\Thunderbird"
and it worked. Enjoy, John.
mritter
If that is the exact text from the log file, then you didn't put a space after {MAKEDIR}. It works fine for me.
johnhc
mritter, that is the exact text and I don't remember deleting the space, but I just tried it again and it works fine. The space was there, I just added my path and all is OK. Thanks, John.
Kelsenellenelvian
Nevermind then. 'twas another ghost bug tongue.gif
johnhc
Kelsenellenelvian and mritter, I think I understand how I did this. I selected MakeDir, then selected another command to copy the path. When I went back to the {MAKEDIR} command line, the blank after {MAKEDIR} was gone. I will pay more attention. Sorry about that ghost. Enjoy, and thanks, John.
diginode
actual code written as
QUOTE
case '{MAKEDIR}':
cmd=("CMD /C " + cmd.replace(/{MAKEDIR}/gi,'md'));


it is works for me, space must be maintained.




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.