Search code examples
vbscriptvisual-studio-2005pre-build-event

How to run vbs file in pos-build or pre-build event in vs2005?


I have some projects inside a solution, but because the needs of x64 and win32 i have diferent releases and some diferent files for a setup project. I need to unpack a zipfile before build the setup project. I have a vbs file that woks well to unzip the file, but the point is that i dont know the code that execute a vbs file in pre-build.


Solution

  • You can execute any executable in the pre and post build steps so you can add

    wscript.exe path_to_vbsfile.vbs
    

    to call your script.