Post build

Building, compiling, or debugging issues

Post build

Postby wyrdfish » Thu Jul 27, 2006 8:19 am

Hi,
Is there any way to add a post build step to a build action.

From my wix build I want to copy the MSI to a different location after building it.

thanks

Dave W.
User avatar
wyrdfish
Newbie
 
Posts: 3
Joined: Tue Jan 25, 2005 12:00 am

Re: Post build

Postby Mofi » Thu Jul 27, 2006 10:03 am

Most makefile interpreters support simple commands like copy, delete, ... Some allows also running external programs. I don't know anything about the WiX Compiler, but I guess you can also write a copy command into the WiX makefile of your project. This would be the best way to do it because it then would also work if you run the compile from the WiX environment and it would copy only if the build process before was successful.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4049
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna


Return to Build / Compile / Debug