Guest

How to rebuild a .msi file

When I click on the Build button it doesn't always rebuild my .msi file. It appears to only rebuild it if I delete the existing .msi file or if I make changes to the configuration. For example, starting with an existing .msi file:

1) Replace one of the files in the project
2) Click on the Build button

The result is that nothing happens.

If I remove the existing .msi file and then click on the Build button, then Advanced Installer builds a new .msi file as I would expect.

How do I force Advanced Installer to rebuild the .msi file after I make changes to the file content?

Mike Bresnahan
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

Indeed, this is a bug. The dependency mechanism is not implemented completely: it only goes and checks the project file date instead of all the installation files.

Until we fix it, I suggest removing the file manually, or as a preliminary command in your build script file.

Regards,
Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”