Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyro created patch need resource file when uninstall #4768

Closed
wixbot opened this issue May 19, 2015 · 1 comment
Closed

Pyro created patch need resource file when uninstall #4768

wixbot opened this issue May 19, 2015 · 1 comment

Comments

@wixbot
Copy link

wixbot commented May 19, 2015

A serious Service Pack uninstall issue(requiring for original source file) when using pure Wix tool (torch/pyro) to generate the service packs.

Here is the details:

Detailed reproduce steps:

  1. Create a MSI install package as the target image. (Set the product version as 10.0.0)
  2. Create a SP1 based on the target image in step 1. (Set the product version as 10.1.0 in the upgrade image for SP1)
  3. Create a hotfix based on the SP1 upgrade image in step 2. (this hotfix is based on SP1, the product version is set to 10.1.1 in the upgrade image for this update )
  4. Create a SP2 (Set the product version as 10.2.0 in the upgrade image for SP2)
  5. Install Target MSI
  6. Install SP1 (After installation, a new folder ‘%WINDIR%\Installer\10.0.0’ was created. We understand it is to cache some RTM files)
  7. Install hotfix (After installation, a new folder ‘%WINDIR%\Installer\10.1.0’ was created. We understand it is to cache some SP1 files)
  8. Install SP2 (After installation, folder ‘%WINDIR%\Installer\10.1.0’ was removed… Why?...)
  9. Uninstall SP2, encounter a dialogue requiring for source file. (It looks like Windows installer is trying to recover the folder ‘%WINDIR%\Installer\10.1.0’, but it tried to get the original source location, so the error dialogue pops up, which is to require for the original source file…)

PS:

1.If skip Step 7, no such requiring original source file issue.

2.If using msimsp.exe (PatchWiz.dll) to create above SP1/hotfix/SP2, no such requiring original source file issue.

3.If using pure Wix tool (Torch and Pyro) to create above SP1/hotfix/SP2, then, we will encounter this uninstall issue.

So looks like pure Wix tool (Torch/Pyro) causes this uninstall issue, we are confusing:

  1. If using pure Wix tool (Torch and Pyro), then in step 9, windows installer is trying to recover the ‘%WINDIR%\Installer\10.1.0’, then failed, due to try to get the original source file.

  2. If using msimsp.exe, the same in step 9, windows installer is trying to recover the ‘%WINDIR%\Installer\10.1.0’, and it succeed.

  3. Is it possible to fix this uninstall issue if using pure Wix tool (torch/pyro)? Any workaround?



Originally opened by wilson

@wixbot
Copy link
Author

wixbot commented May 19, 2015

So there's some difference between the SP2 patches that have a better outcome with MsiMsp. It's likely you can recreate the same behavior with Torch and Pyro but need different authoring to do so. You might start by comparing the .msps in Orca to see the patch metadata and how they differ.

Resolution set to support
Status changed from Untriaged to Resolved

@wixbot wixbot added this to the v3.9 milestone Dec 20, 2015
@wixbot wixbot closed this as completed Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant