Hi To All,

I would like to check during the install if a file exists. I used
If %_SB_INSTALLDIR%\FolderName\FileName.mb File or Folder exists then
Rename File/Folder "%_SB_INSTALLDIR%\FolderName\FileName.mdb" to "%_SB_INSTALLDIR%\FolderName\NewFilename.mdb"
End

The problem is that the rename didn't work, I have an error code of 0. I have manually checked that the old file name exists. There are double quotes around the entire string in both the old and new file/folder fields. Is
%_SB_INSTALLDIR% supposed to be included in quotes? SetupBuilder did put the quotes in automatically.

I am using version 6.7.2163 of SetupBuilder.

Thanks for the help,

Sharon