Page 1 of 1

Help with CreateDircotry DLL call

Posted: Wed Nov 17, 2010 10:12 am
by Roostar2004
I am using the follow code to try and create a directory but it is not working. I did not know if any one else had done this or maybe some insite as to what I am doing wrong.

Code: Select all

~InstallAware Clipboard Data~
~Call DLL Function~
~{C83E3E2E-ABC1-4FFF-BF57-CC7103C4E69A}~
~$WINSYSDIR$\kernel32.dll,CreateDirectory,bool,CREATE_SUCCESS,"pointer to string",$TARGETDIR$\Bin\,$~
~mIDEFunc.dll\mEXEFunc.dll~
The reason why I am doing this because I need to create a file association but the path does not exist before the apply install command so I am wanting to create the path using this function and then convert it to a short path.

Re: Help with CreateDircotry DLL call

Posted: Wed Nov 24, 2010 4:33 pm
by mills