Summary:
I’m applying a patch (myapp.msp) to an application. The patch works fine on XP.
On Vista, 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 (much) worse, the application version number reported 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 the same sequence. Vista asks for approval for the elevation, then we walk through the Patch Wizard, 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.
Please advise how I can apply a patch programmatically.

MSI Patch reprots success, but fails to update any files
Problem was caused by faulty patch. It is now resolved. Thank you!
"Trent" wrote:
Summary:
I’m applying a patch (myapp.msp) to an application. The patch works fine on XP.
On Vista, 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 (much) worse, the application version number reported 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 the same sequence. Vista asks for approval for the elevation, then we walk through the Patch Wizard, 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.
Please advise how I can apply a patch programmatically.
Windows Vista
User login
Related topics
- MS Fingerprint Reader
- "All users" desktop and start menu?
- Adding Secondary Accounts to WLMD beta
- The Spanish language
- Installing Adobe Acrobat Reader
- Windows stops responding during boot
- Checked Build
- ethernet address
- PowerDesk "Multi-View" equivelent: Is 3D Flip it?
- Dual Size 10 Army Boot Dilema
- Vista install on a laptop
- Believe it or not....
- PNY Quadro NVS 440
- Any DRIVER for Capture and TV Board LG LTT 200 ?
- A8N32-SLI non available on Vista
- If I format a partition what happens to the other one?
- 5381: Anyone got X-fi Sound card working?
- Can't get Vista Beta 2 to sleep after setting up Media cente
- compatability wizard? what compat wizard
- slow network discovery of shares in a workgroup
- Problem with Palm Softwere
- vista motherboard support
- Clean Install Hangs on Copying Files
- Initial setup boot hangs
- Activation again and in general
- Nobody is Faxing huh?
- how uninstall vista ??
- Hibernate or Standby not working
- Videos not working in Vistax64 build 5384
- Linksys
- Hope test Vista before Khmer New Year
- NFS Most Wanted
- Unable to find volume that meets criteria