Command in Post-Build Event for Visual Studio Setup Project fails (also when using a batch file) -


i need change productversion of msi-package after building it. following works fine when call command prompt:

cscript wirunsql.vbs "release\setup.msi" "update `property` set `value`='1.2.7' `property`='productversion'" 

when call post-build event fails

error 1 'postbuildevent' failed error code '1' 'unspecified error'

so tried using batch file , same error. running batch file command prompt works fine well. post-build event batch file.

call $(projectdir)version.bat 

i appreciate answers help.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -