/build/static/layout/Breadcrumb_cap_w.png

Application self repairs after upgrading.

Hi All,

Though my application dosent have hkcu entry or any user specific data it self repairs in restricted user after i upgrade older version of the application.

0 Comments   [ + ] Show comments

Answers (6)

Posted by: Inabus 16 years ago
Second Degree Green Belt
0
Check event viewer as it should tell you why a repair was needed. Sounds like you have a problem with your update ;)

P
Posted by: packengg 16 years ago
Orange Belt
0
Thanks for ur quick reply.I did that the component code is for the main .exe file to which shortcut is pointing.
Posted by: nheim 16 years ago
10th Degree Black Belt
0
Hi packenegg,
are we talking about an app of yours or a vendor MSI?
If you built it yourself: Has your main.exe a proper version info resource? If yes, did you update the version info in the File table?
If not, go and check the MSIFileHash table. If you create a new version of a file, you need need new hashes in there.
Hope, this gives you some ideas.
Regards, Nick
Posted by: packengg 16 years ago
Orange Belt
0
Thanks All,

Finally issues is resolved .My package was unable to install one font file in installdir i made its attribute to Always overwrite by setting its vesion to highest value i.e 65535.0.0.0
Posted by: AngelD 16 years ago
Red Belt
0
Hope you don't need to author an upgrade with sequencing the RemoveExistingProducts action after the InstallFinalize action to update the file.
Posted by: nheim 16 years ago
10th Degree Black Belt
0
Hi packengg,
ORIGINAL: packengg
Finally issues is resolved .My package was unable to install one font file in installdir i made its attribute to Always overwrite by setting its vesion to highest value i.e 65535.0.0.0

Didn't even know that this can "work" like this!
IMHO, font files (format, ps or ttf doesn't matter) can't have a version resource included. How should Windows Installer detect the version then?
For unversioned files, you need to include a line in the MSIFileHash table, so WI can check the existing file against the hashes.
See: http://msdn2.microsoft.com/en-us/library/aa370107(VS.85).aspx
And especially this: http://blogs.msdn.com/astebner/archive/2005/08/30/458295.aspx
Hope this helps.
Regards, Nick
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ