Patch works with "right-click-apply", fails MsiApplyPatch, MsiExec

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

1. My application and patch were created with Installshield Developer 8.

2. The patch is an msp file (so it can be applied to administrative as well
as regular installations).

3. On Vista, I can apply the patch successfully by right-click followed by
APPLY

4. However, the following methods only apply it partially:
a. Calling "msiexec -p <patch name>" from a batch file invoked "as
administrator"
b. Calling msi.dll method MsiApplyPatch from an application running in
elevated privilege (used a manifest, Vista correctly prompts to aprove
elevation of the app)

In either case (a) or (b), the system shows the application as having the
post-patch version number, but in fact the appliation files were not updated!

I nned to use method (a) or (b) since I am using my custom installer for the
patch, which detects the special case admin install and takes the user
through the steps of updating the admin install.
 
Back
Top