Posted By

jrosco on 07/31/12


Tagged

pastebin


Versions (?)

SuperWaba


 / Published in: Other
 

  1. #!/bin/bash
  2.  
  3. echo "Copying ScanEmul.exe and KScanBar.dll files"
  4. synce-pcp ScanEmul.exe ":/Windows/ScanEmul.exe"
  5. synce-pcp KScanBar.dll ":/Windows/KScanBar.dll"
  6.  
  7. #Only enable if Enable ScanEmul is not working
  8. #echo "Creating Scan.exe shortcut"
  9. #synce-pcp scanner.lnk ":/Windows/StartUp/scanner.lnk"
  10.  
  11. echo "Creating Directory Structure"
  12. synce-pmkdir \\SuperWaba
  13. synce-pmkdir \\SuperWaba\\posstocktake
  14. synce-pmkdir \\SuperWaba\\posreport
  15. synce-pmkdir \\SuperWaba\\posshipment
  16. synce-pmkdir \\SuperWaba\\pospurchase
  17. synce-pmkdir \\SuperWaba\\poscredit
  18. synce-pmkdir \\SuperWaba\\postransfer
  19. synce-pmkdir \\posapps
  20.  
  21. synce-echo "Copying Database Files"
  22. synce-pcp posstocktake.pdb ":/SuperWaba/posstocktake/posstocktake.pdb"
  23. synce-pcp posshipment.pdb ":/SuperWaba/posshipment/posshipment.pdb"
  24. synce-pcp pospurchase.pdb ":/SuperWaba/pospurchase/pospurchase.pdb"
  25. synce-pcp posreport.pdb ":/SuperWaba/posreport/posreport.pdb"
  26. synce-pcp postransfer.pdb ":/SuperWaba/postransfer/postransfer.pdb"
  27. synce-pcp poscredit.pdb ":/SuperWaba/poscredit/poscredit.pdb"
  28.  
  29. echo "Setting up Shortcut links"
  30. synce-prm "/Windows/Start Menu/posstocktake.lnk"
  31. synce-prm "/Windows/Start Menu/posshipment.lnk"
  32. synce-prm "/Windows/Start Menu/posreport.lnk"
  33. synce-prm "/Windows/Start Menu/pospurchase.lnk"
  34. synce-prm "/Windows/Start Menu/poscredit.lnk"
  35. synce-prm "/Windows/Start Menu/postransfer.lnk"
  36. synce-prm "/Windows/Start Menu/Programs/posstocktake.lnk"
  37. synce-prm "/Windows/Start Menu/Programs/posshipment.lnk"
  38. synce-prm "/Windows/Start Menu/Programs/posreport.lnk"
  39. synce-prm "/Windows/Start Menu/Programs/pospurchase.lnk"
  40. synce-prm "/Windows/Start Menu/Programs/poscredit.lnk"
  41. synce-prm "/Windows/Start Menu/Programs/postransfer.lnk"
  42. synce-pcp posstocktake.lnk ":/Windows/Start Menu/posstocktake.lnk"
  43. synce-pcp posshipment.lnk ":/Windows/Start Menu/posshipment.lnk"
  44. synce-pcp posreport.lnk ":/Windows/Start Menu/posreport.lnk"
  45. synce-pcp pospurchase.lnk ":/Windows/Start Menu/pospurchase.lnk"
  46. synce-pcp poscredit.lnk ":/Windows/Start Menu/poscredit.lnk"
  47. synce-pcp postransfer.lnk ":/Windows/Start Menu/postransfer.lnk"
  48.  
  49. echo "Installing SuperWaba :)"
  50. synce-pcp superwaba.WindowsMobile.CAB && echo "Copied Install File" || echo "Failed to copy install file"
  51. synce-install-cab superwaba.WindowsMobile.CAB && echo "Done...... ;)" || echo "Failed Installation"

Report this snippet  

You need to login to post a comment.