InstallSite Forum


  Reply to this topicStart new topicStart Poll

> Error 2254 while patching
felltier-a
  Posted: 2008-05-30 08:41
Quote Post





Group: Full Members
Posts: 84
Member No.: 10159
Joined: 2005-03-07



Hi,

i get the following error message running my patch:

Product: XXX -- Error 2254.Database: Transform: Cannot update row that does not exist. Table: RemoveFile.

For any reason, this happens only if i´ve installed the product in a different language than the standard language.

Thanks for any hints!

regards,
Udo
PMEmail Poster
Top
VBScab
Posted: 2008-05-30 09:58
Quote Post





Group: Full Members
Posts: 375
Member No.: 11292
Joined: 2005-10-13



As ever, run the patch with a verbose log. That will help you identify the table row in question. My guess is that you need a language-specific patch file, i.e. the patch you have only caters for the default language. You should approach the vendor, if that's the case.


--------------------
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.
PM
Top
felltier-a
Posted: 2008-05-30 12:30
Quote Post





Group: Full Members
Posts: 84
Member No.: 10159
Joined: 2005-03-07



Hi VBScab,

thats the specific part from the logfile

-------------------------------
MSI (s) (54:E4) [08:12:22:796]: Transforming table RemoveFile.
MSI (s) (54:E4) [08:12:22:796]: Transforming table RemoveFile.
MSI (s) (54:E4) [08:12:22:796]: Note: 1: 2262 2: RemoveFile 3: -2147287038
MSI (s) (54:E4) [08:12:22:796]: Transforming table RemoveFile.
MSI (s) (54:E4) [08:12:22:796]: Note: 1: 2254 2: 3: RemoveFile
MSI (s) (54:E4) [08:12:22:796]: Transforming table Error.
MSI (s) (54:E4) [08:12:22:796]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (54:E4) [08:12:22:796]: Transforming table Error.
MSI (s) (54:E4) [08:12:22:796]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (54:E4) [08:12:22:796]: Transforming table Error.
Action start 8:12:22: RemoveFiles.
MSI (s) (54:E4) [08:20:44:730]: Transforming table Error.
MSI (s) (54:E4) [08:20:44:745]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (54:E4) [08:20:44:745]: Transforming table Error.
MSI (s) (54:E4) [08:20:44:745]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (54:E4) [08:20:44:745]: Transforming table Error.
MSI (s) (54:E4) [08:20:44:745]: Product: XXX -- Error 2254.Database: Transform: Cannot update row that does not exist. Table: RemoveFile.
Error 2254.Database: Transform: Cannot update row that does not exist. Table: RemoveFile.
------------------------------------

In my main setup i created some entries in the Removefile table.
Now these entries are not needed anymore but i had to add some entries for other files.So i used the entries from before (fileKeys) and changed the appropriate data. Without generating new filekeys.

If i restore the old informations in the table and add the new ones with new filekeys, i got a working patch for different languages.

But the entries in the RemoveFile table are not language specific.
Or am i wrong?

So why it makes a diffenrence installing in standard language or not?

regards,
Udo
PMEmail Poster
Top
Stefan Krueger
Posted: 2008-06-03 15:17
Quote Post


InstallSite.org


Group: Administrators
Posts: 11508
Member No.: 1
Joined: 2001-02-07



Note: 1: 2262 2: RemoveFile 3: -2147287038
means that there is no RemoveFile table in your setup. Double check the .msi file to see if the RemoveFile table is there (in the old and in the new version)


--------------------
PMEmail PosterUsers Website
Top
felltier-a
Posted: 2008-06-03 15:38
Quote Post





Group: Full Members
Posts: 84
Member No.: 10159
Joined: 2005-03-07



Hi Stefan,

i´m sure that the RemoveFile table exists in both setups because i changed different things. If i execute my patch the correct files are deleted while patching but only for the default language.

To make it more clearer:

Working

- main setup installed in default language
- executing the patch

failing

- main setup installed in different language
- executing the patch (error 2254)

It´s the same patch for all languages so the table must be included. (it´s working in case 1)


regards,
Udo

This post has been edited by felltier-a on 2008-06-03 15:39
PMEmail Poster
Top
Stefan Krueger
Posted: 2008-06-03 16:07
Quote Post


InstallSite.org


Group: Administrators
Posts: 11508
Member No.: 1
Joined: 2001-02-07



My idea was along the lines that the language transform somehow affects the RemoveFile table.


--------------------
PMEmail PosterUsers Website
Top
felltier-a
Posted: 2008-06-04 07:22
Quote Post





Group: Full Members
Posts: 84
Member No.: 10159
Joined: 2005-03-07



Hi Stefan,

i opened all my language MST´s but the RemoveFile table exists in all of them. The entries are correct but for any reason some entries are marked as changed blink.gif

regards,
Udo
PMEmail Poster
Top
VBScab
Posted: 2008-06-04 09:27
Quote Post





Group: Full Members
Posts: 375
Member No.: 11292
Joined: 2005-10-13



Wait a second...! When did language transforms enter the equation?!?

It seems obvious to me - now that I know there are transforms involved, not just a patch file - that the row referred to is missing from the transform. If this were me, I'd be building a script, using one of the SDK scripts as a template, in order to compare those transform tables row-by-row.


--------------------
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.
PM
Top
Stefan Krueger
Posted: 2008-06-05 12:10
Quote Post


InstallSite.org


Group: Administrators
Posts: 11508
Member No.: 1
Joined: 2001-02-07



QUOTE (VBScab @ 2008-06-04 09:27)
Wait a second...! When did language transforms enter the equation?!?

Actually, there was a hint in the very first post:
QUOTE
For any reason, this happens only if i´ve installed the product in a different language than the standard language.


But why do you have a RemoveFile table entry in your language transform at all?


--------------------
PMEmail PosterUsers Website
Top
felltier-a
Posted: 2008-06-06 09:29
Quote Post





Group: Full Members
Posts: 84
Member No.: 10159
Joined: 2005-03-07



Hi Stefan,

i guess the table is shown because it´s existing in the MSI. Only in one language (MST) the table is marked as "changed". I haven´t done any changes to this table in the language MST. For any reason he does this automatically while compiling. blink.gif


regards,
Udo
PMEmail Poster
Top
Stefan Krueger
Posted: 2008-06-09 18:44
Quote Post


InstallSite.org


Group: Administrators
Posts: 11508
Member No.: 1
Joined: 2001-02-07



So I think that's what you need to find out.


--------------------
PMEmail PosterUsers Website
Top
K0NFUZIUS
  Posted: 2008-11-04 15:22
Quote Post





Group: Full Members
Posts: 2
Member No.: 15011
Joined: 2008-11-04



Hello Udo
if someone's interested in a solution. smile.gif

I had the same problem on a Japanese Windows Xp.
The error is caused by files with German characters like öäü
The product could be installed and Windows replaces the öäü with oau.

E.g.
Your main installation includes a file named saublödgelaufen.pdf
The Japanese Windows XP (in my case) saves the file to saublodgelaufen.pdf

If you try an update now because the file was deleted or has changed the installer can't find the file saublödgelaufen.pdf

The funny thing is that it is not possible to install the main installation under an Korean OS, but the Japanese one says everything is alright.

So the only possibility is to avoid characters like öäü in your filenames... or in your case never update or delete them.

Hope that helps

Jörg
PMEmail Poster
Top

InstallShield & AdminStudio Training

Kurse in deutscher Sprache hier.

Courses in English, French and Italian language here.


« Next Oldest | Runtime Errors | Next Newest »

Topic Options Reply to this topicStart new topicStart Poll