NewsArchive
06-16-2017, 01:54 AM
I'm tring to copy the files from the old version to the new one.
It's working, but as they are almost 200 files it take a little time.
Can I make the progressbar uptading as a file is copied?
Here is my basic script:
If %_SB_INSTALLDIR%\PROCHEFF "File or Folder exists" Then
Display Message Box ("Do you want to import the old data?", "Import")
If %_SB_RETURN% Equals "6" Then
Progress Dialog: Set Status Text #1 to "Coping files:"
Progress Dialog: Set Progress Bar to "[Auto Update]"
Copy File(s) from "%_SB_INSTALLDIR%\ProCheff\*.tps" to
"%_SB_INSTALLDIR%\Exec\ProCheff" [Permanent] [RemoveReadOnly]
Rename File/Folder "%_SB_INSTALLDIR%\ProCheff" to
"%_SB_INSTALLDIR%\ProCheffv3"
Progress Dialog: Set Status Text #1 to "Instaling new files:"
End
End
Peter Kompier
It's working, but as they are almost 200 files it take a little time.
Can I make the progressbar uptading as a file is copied?
Here is my basic script:
If %_SB_INSTALLDIR%\PROCHEFF "File or Folder exists" Then
Display Message Box ("Do you want to import the old data?", "Import")
If %_SB_RETURN% Equals "6" Then
Progress Dialog: Set Status Text #1 to "Coping files:"
Progress Dialog: Set Progress Bar to "[Auto Update]"
Copy File(s) from "%_SB_INSTALLDIR%\ProCheff\*.tps" to
"%_SB_INSTALLDIR%\Exec\ProCheff" [Permanent] [RemoveReadOnly]
Rename File/Folder "%_SB_INSTALLDIR%\ProCheff" to
"%_SB_INSTALLDIR%\ProCheffv3"
Progress Dialog: Set Status Text #1 to "Instaling new files:"
End
End
Peter Kompier