I have installed my app in this path,
$PROGRAMFILES\myapp.
After that i want to check the free space for this drive.In my app wants at least 2GB free space. so i have used following command for checking,
Function MyFuncDir
${DriveSpace} "C:\" "/D=F /S=G" $R0
;$Ro
${If} $R0 >=2
MessageBox MB_OK "required free space is not available.select some other directory"
--Here I want to call page directory function--
${End}
FunctionEnd
In the first time install dont need Directory page.Because by default install location is C:\$PROGRAMFILES\myapp this path.
After free space if required is not available then only display directory page for selecting some other directory.
After selecting some other directory again wants check required free space is there,if available proceed to next page else again display directory page.
How to achieve this?
$PROGRAMFILES\myapp.
After that i want to check the free space for this drive.In my app wants at least 2GB free space. so i have used following command for checking,
Function MyFuncDir
${DriveSpace} "C:\" "/D=F /S=G" $R0
;$Ro
${If} $R0 >=2
MessageBox MB_OK "required free space is not available.select some other directory"
--Here I want to call page directory function--
${End}
FunctionEnd
In the first time install dont need Directory page.Because by default install location is C:\$PROGRAMFILES\myapp this path.
After free space if required is not available then only display directory page for selecting some other directory.
After selecting some other directory again wants check required free space is there,if available proceed to next page else again display directory page.
How to achieve this?
Comment