re:Major Upgrade Problem
The install works stand alone
Also I checked and made sure that the following were the settings used to
build the upgrade
Missing source files: Do not ignore
Version check: majore minor upgrade
Version relationship: New version >= previous version
Match product code: No
Match upgrade code: Yes
Match language: No
What does 2254 mean anyway?
"Robert M. Dickau"
installshield.com> wrote in message news:<firstname.lastname@example.org>...
> Does the major upgrade work without using a patch (just running the newer
> MSI package)? When you were creating the patch, did you select "allow
> product code to differ"?
> "Jeremy D. Goldhaber-Fiebert" <email@example.com> wrote in
> > Hi,
> > I have created a major upgrade (different package and product code) (new
> > modified components)
> > I've added an entry to the Upgrade table (as specified in response to
> > Anderson (9/11/2000)).
> > I've built the patch, but when I run it it fails with the following
> > message
> > Internal Error 2254. , Directory
> > I'm not sure what's wrong.
> > Thanks for you help,
> > Jeremy Goldhaber-Fiebert
> > Corex Technologies Corporation
> Robert M. Dickau
> Senior Technical Trainer
> InstallShield Software Corp.
re:Major Upgrade Problem
You can look up any MSI runtime error code in the MSI help page "Windows
Installer Error Messages"; it describes 2254 as "Database:  Transform:
Cannot update row that doesn't exist. Table: ".
"Jeremy D. Goldhaber-Fiebert" <firstname.lastname@example.org> wrote in message
> What does 2254 mean anyway?
Major upgrade problem
Here is my situation. My setup do some job on the "maintenance UI after" event. So, when I uninstall the product, the job in "maintenance UI after" is performed.
Now I have a new version so I made a major upgrade. It works well, the files of the old version are deleted and the files of the new version are copied. But, in fact, the "maintenance UI after" event isn't call so the job in this event isn't done.
What I want is, after the files of the old version are deleted, I want the code in "maintenance UI after" to be performed. Exactly like when the product is remove with "add/remove programs"
Where should I place my code if I want this code to be perfomed after the files of the old version are deleted??
I am using IS DEv 7.02 with a standard project.
You are correct in that a Major Upgrade removes the older version, without running the OnMaintUIAfter event of that older setup.
If you wish it to work like Add/Remove Programs, please launch the UninstallString located at the following registry location:
This will launch it the same as when it is removed from Add/Remove Programs.
but where should I launch it?? I want my new setup to act like a major upgrade, I mean, I want my newer setup to do all the job of removing the older product, and then install the new one. So, I don't really understand how can I do it by launching the value you specified. Can you explain please.