Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Installation > Patch fails to update files, reports success

Reply
Thread Tools Display Modes

Patch fails to update files, reports success

 
 
Trent
Guest
Posts: n/a

 
      06-30-2006
Summary:

I’m applying a patch (myapp.msp) to an application.

The patch works correctly if I right click on the msp file and select “apply.”
However, when invoked programmatically, with elevated privileges, the UI
reports success but no files are updated. To make matters worse, the
application version number in control panel/installed programs is updated to
the “new” version.

Detail:

Both the patch and the application were created with InstalledShiled
Developer 8.0.

I’m applying the patch in 3 different ways:
1. Right click patch file and select “Apply”
2. With a batch file, invoked “as administrator”, containing “msiexec –p
mypatch.msi”
3. From an application, with manifest that requires elevated privileges

From an end user point of view, all three methods result in invoking the
patch process, and after some crunching it reports success.

However, only #1 updates the application correctly.
#2 and #3 do not update any of the files, but they do update the application
version number as appears in Control Panel / Installed Programs.

Examining the log files for method #1 vs. method #2 shows only one
significant difference.
The “pass” case shows MsiNetAssemblySupport= 2.0.50727.88.
The “Fail” case shows MsiNetAssemblySupport= 2.0.50727.00.

 
Reply With Quote
 
 
 
 
Trent
Guest
Posts: n/a

 
      07-03-2006
Problem was caused by faulty patch. It is now resolved. Thank you!

 
Reply With Quote
 
Trent
Guest
Posts: n/a

 
      07-03-2006
Problem was caused by faulty patch. It is now resolved. Thank you!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista SP1 installation fails, checkSUR reports lape Windows Vista General Discussion 7 02-03-2009 07:13 PM
MS08-024 patch update error. ZhaoBoqiang Windows Vista Security 5 04-17-2008 06:05 AM
Windows Explorer Crash - KB Patch Recommended but Fails Wizard37 Windows Vista General Discussion 0 01-18-2008 04:21 PM
Clean Install of XP Fails after Vista Install Success John Kotuby Windows Vista Installation 5 10-11-2007 09:32 AM
MSI Patch reprots success, but fails to update any files Trent Windows Vista Installation 1 07-03-2006 11:45 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59