Jump to content

sonoop

Member
  • Posts

    17
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Vietnam

Everything posted by sonoop

  1. what 's your app? what 's your app including? do you write a script for your app installation?
  2. @all: thanks so much!!! I finish the checking with vb script.
  3. code of batch file : rem check free space of the drive freedisk.exe D: 20GB (the freedisk.exe only use minimum bytes). rem space of the drive D not enough IF errorelevel 1 goto :error rem space of the drive D enough 7z.exe C:\myapplication.7z -aoa -o"D:\" :error echo Your drive's space not enough, plz trying again!!! But the freedisk.exe is wrong, it's return wrong value. And i'm trying other way. (chkdsk, dir, fsutil,...) Do you resolve that?
  4. @Owl: My OS is WIN XP SP 2, My app run with os compatible. I only build GUI for Installation.
  5. sorry all, i cant speak english verry well. I building a GUI Installation for my application, and I write a script with wizapp like a batch file in command line. My application need space free of the drive, and I want to check free disk space after my application installed. How to check......... (in command line)? chkdsk, dir, fsutil --> show string value free freedisk.exe --> return 0 if there is enough space and return 1 if there isnt. download freedisk.exe http://www.mediafire.com/?eio9qcg5mtr58kl copy to drive D code: freedisk.exe D: 59825229820 (small than freedisk space) result: to small!!! (return 1) --> it's wrong..... And I'm so sorry all about version dos confusion. Thank you!!!
  6. @Mod: thanks, I know, But I cant write a command to compare. can you show me code? @allen2: that's my exp. my mean is "get free disk space of a drive to compare with my app's space need". Can you show me code use chkdsk, dir, fsutil?
  7. @Wise Owl: thank you! I get value "59451776 KB available on disk." by chkdsk command, how to get this value compare with value of my application? My application is need 50GB free disk space.
  8. sorry mod. I use batch to building GUI installation for my application, and I want to know "How to get freedisk space". Can I post here?
  9. current path is path of CD-ROM, you can use path is software\...\..\
  10. Hey everrybody!!! in command line (MS DOS), how to get freedisk space of the drive that installed application? My application's space is 1GB, I want to check freedisk space of the drive to know that has enough space for my application after my application installed. pls help me!!! Thanks!!!
  11. Yeah...!!! I finished my GUI BATCH which is so cool. he he he Thanks so much, Jalaz!
  12. oh, That's PB UPDATE which use for each commands. I tryig again.... Thanks so much, Jalaz!
  13. @ Jalaz: sorry, i dont speak english verry well. My mean is "How use PB of wizapp.exe?" I want to use PB of wizapp to build a GUI (windown waitting/ process bar) while time-processing of the unpacking (unzip a file def.7z). But I cant build it, can you help me?
  14. Are someone know about WizApp.exe? We are discuss about that in this topic hì hì hì....
  15. Dear Everrybody! My application is a file *.7z. My working's extract *.7z to driver D:\ of my computer with a *.bat. And I wanna build a GUI for this batch with WizApp.exe (application support to build GUI BATCH). I writed code for bat file, but I have a problem with process bar (PB in Wizapp). I want open windown process bar while extract file *.7z and process bar update percentage completed untill processing's finish. And then it's colse this windown process bar. Plz help me! Here code batch file: @ECHO OFF set wasig=Copyright @ 2011 FBS Company :page_start wizapp SPLASH OPEN start /w wizapp SPLASH CLOSE :page1 set watitle=setup XMAN ERP v1.0 set watext=~~~~~~~Ban co muon cai dat phan mem XMAN ERP v1.0 khong? set wabmp=xman.bmp start /w wizapp noback TB if errorlevel 2 goto :end if not exist C:\xman goto :page_package :page2 set watext=~~~~~~~Chuong trinh da cai san tu truoc roi! Ban co muon cai de len ban cu khong?~~Notes: ~ - Nhan Next de tiep tuc viec cai dat. ~ - Nhan Cancel de huy bo. start /w wizapp TB if errorlevel 2 goto :end if errorlevel 1 goto :page1 :page_package set watitle=Choise installation's package. set watext=~~~~~~~Xin vui long chon goi phan mem can cai dat: set wainput=^&Server package;^&Client package set waoutnum=0 set wabat=%TEMP%\wabat.bat start /w wizapp RB if errorlevel 2 goto :end if errorlevel 1 goto :page2 call %wabat% if "%waoutnum%" == "0" echo you choise ser if "%waoutnum%" == "1" echo you choise client :page_wait set watitle=wait processing.... set watext=~~~~~~Xin vui long doi cho chut lat de he thong tu dong cai dat phan mem vao may tinh cua ban. set wabat=%TEMP%\wabat.bat start /w wizapp PB OPEN if errorlevel 2 goto :end call %wabat% 7z x def.7z -aoa -o"D:\" for %%a in (%waoutnum%) start /w wizapp PB UPDATE 5 :page_finish set watitle=installation finished set watext=~~~~~~~Cam on ban da tin dung san pham phan mem cua chung toi. wizapp.exe NOCANCEL NOBACK FINISH TB if errorlevel 0 goto :exit :end page=:end set watitle=stop installation... set watext=Ban muon dung viec cai dat khong?~~Notes:~ - nhan ok de dung.~ - nhan cancel de huy bo lenh. start /w wizapp MB QUES if errorlevel 1 goto :page1 if errorlevel 2 goto :exit :exit start /w wizapp PB CLOSE
×
×
  • Create New...