What you are seein is by design. When you build to packages with different
PackageCodes then you actually have to different "versions" (maybe the
message should more accurately say "releases") of the same product, even if
the "version number" is identical.
What are you trying to do? If you wantr to install the second release on top
of the first then this would actually be a small (if the version number is
the unchanged) or minor (if yo incremented the version number) update. There
is documentation about this in the SDK, basically you would have to set
REINSTALLMODE=vomus REINSTALL=ALL on the command line when installing the
second package. InstallShield's setup.exe can do this for you automatically
(unless you disabled this in the release settings). You have to do it
manually if you start the .msi file directly without setup.exe.
--
Stefan Krueger
Microsoft Windows Installer MVP
Please post your questions in the newsgroup or vist one of these web sites:
Windows Installer FAQ
http://www.msifaq.com -
http://www.msifaq.de
InstallSite - Resources for Setup Developers
http://www.installsite.org
http://www.installsite.de (GERMAN)
"Viviana Vc" <(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
> And actually just now I tried the following: 2 MSI files generated from
> the same project with:
> - same Product Code
> - different Package Code
> - diferrent version (previous was 2.10.0000, new is 2.11.0001)
> and I still get the "Another version [...]" messagebox.
> Any clue why? What am I doing wrong?
>
> Thank you,
> Viv
>
> On Fri, 09 Dec 2005 15:27:55 +0100, Viviana Vc <(E-Mail Removed)>
> wrote :
>
>>Hi,
>>
>>Thank you both for your answers.
>>
>>I checked with Orca the ProductVersion but it's the same for all my
>>built products: 1.00.0000
>>I checked also the PackageCode and it's different for each build (I
>>didn't manually change it, so must have been IS taking care of this).
>>
>>But maybe in order to help me you need more info. Here is what I have
>>tried:
>>
>>1) MSI behaviour (I created an uncompressed network-image package)
>>a) Run first time the MSI => product gets installed.
>>b) Running the same MSI => maintenance dialog, which is normal
>>c) Runing a new built MSI file (everything stayed the same, I just
>>rebuilt the package again) => I get the "Another version [...]"
>>
>>2) Setup.exe behaviour (I created a compressed network-image package)
>>a) Run first time the setup.exe => product gets installed.
>>b) Running the same setup.exe => maintenance dialog, which is normal
>>c) Runing a new built setup.exe file (everything stayed the same, I just
>>rebuilt the package again) => I get the "This setup will perform an
>>upgrade of 'tmp'. Do you want to continue?"
>>
>>Why do I have this different behaviour between 1c and 2c? It's obviously
>>that scenario 1) is the one I would expect after your explanations, but
>>then why the different behaviour in scenario 2? Also I uncompressed the
>>two setup.exe I built, using /v /a and checked the MSI files and they
>>both having the exact same version. By running the extracted MSI file I
>>get "Another version [...]"; by running the setup.exe from which I just
>>extracted the MSI I get "This setup will perform an upgrade of 'tmp'."
>>
>>
>>3) I run the MSI to install the product and then run the setup.exe. Both
>>were built from the exact same sources, just 2 release configurations. I
>>get: "This setup will perform an upgrade of 'tmp'. Do you want to
>>continue?"
>>
>>4) I run the setup.exe to install the product and then run the MSI. Both
>>were built from the exact same sources, just 2 release configurations. I
>>get: "Another version [...]"
>>
>>Why the different behaviour between 3 and 4?
>>
>>From all the above experiences it's obviously that:
>>- the version is not changed
>>- the PackageCode is changed
>>- the Product Code is the same
>>- the MSI behaves as expected ("Another version [...]")
>>- the setup.exe behaves like the version was changed (like a minor
>>update: "This setup will perform an upgrade of 'tmp'")
>>
>>Why is that?
>>
>>Sorry for te long post and thx,
>>Viv
>>
>>On Thu, 8 Dec 2005 14:25:51 -0800, "Phil Wilson"
>><(E-Mail Removed)> wrote :
>>
>>>Just to add to the other comment, InstallShield is one of those tools
>>>that
>>>doesn't change Guids automatically. There's an assumption that that setup
>>>developer will change those things if needed.
>>>
>>>Also, you won't get an upgrade unless the UpgradeTable is populated to do
>>>a
>>>major upgrade (which requires different ProductCode Guid, among other
>>>things).
>