Mike Pateras
Mike Pateras

Reputation: 15015

Re-packaging installer with WiX Visual Studio Project

I've noticed that if I change the files that get installed by my WiX installer, but not the wxs file that the installer is built from, that when I tell my installer to build, it doesn't. In other words, unless I've made a change to my installer itself (currently I do this by just adding a space to the file), it doesn't create a new package.

Is there a way to tell my WiX project to build a new msi file every time? Something less hackish than modifying the wvs file in an insignificant way, or creating a pre-build action that deletes the old msi file?

Upvotes: 0

Views: 233

Answers (1)

Bryan Batchelder
Bryan Batchelder

Reputation: 3637

Perform a "Rebuild" instead of just a "Build", of the WiX project.

Upvotes: 2

Related Questions