Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Update the Product Version

Hi,

In order to build an Updates configuration file you can use a command which looks like this:

Code: Select all

"C:\Program Files\Caphyon\Advanced Installer 6.8\advancedInstaller.com" /build "C:\Installer\Client\UpdateConfiguration.aip"
Since you are using only one command, there is no need for a commands file.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jbridges
Posts: 38
Joined: Fri Jun 09, 2006 12:36 am

Re: Update the Product Version

I faced a similar problem and solved it in a different way. I do want to keep the same V.U.F (the "version" recognized) but I also have a build number (V.U.F.B). B changes with each build but V.U.F does not. Thus, the Windows Installer will tell you that the version is already installed when you try to install a new build over it. It is not an upgrade, as when the V.U.F changes.

What I do is create a wrapper for installer which also includes an AutoIt3 script: preinstall.exe. The wrapper is created by PackageForTheWeb (InstallShield). It allows you to set a default to execute upon unwrapping - or to specify any other enclosed executable. I chose to execute the preinstall.exe by default. Preinstall checks to see if the same ProductCode is already installed and, if so, will uninstall the previous build prior to starting the new install.

Return to “Common Problems”