Page 1 of 1

Patch works only once

Posted: Tue Oct 30, 2007 3:41 am
by casic
Hi there,

I found a problem when using patches: a patch doesn't work again after an installation was repaired. Steps to reproduce:

1. Build a "Compressed Web-Based EXE" setup
2. Add a file to this setup (I used a pdf file with the target $DESKTOPDIR$)
3. Add the previously build setup to the patch references
4. Build a patch setup
5. Install the web setup from step 1 (I use VMWare with XP SP 2)
6. Apply the patch from step 4
-> The new file will be installed (OK)
7. Enter the maintenance mode (control panel/software...) and repair the installation
-> The new file, installed by the patch setup, will be removed (OK so far)
8. Run the patch setup again
-> PROBLEM: the new file will not be installed again! :(

Is there any workaround known to solve this issue?

Thank you very much,

Markus

Posted: Tue Oct 30, 2007 5:04 am
by Gizm0
You have to remove the patch installation from the Add/Remove Progams. It's actually a Windows Installer limitation. If you check "Show Updates" all the .msp files (patches) from your product, will appear below it as a tree. Remove the one you want and try again, it should work this time.

Posted: Wed Oct 31, 2007 5:13 am
by casic
Thank you very much for this information. I will replace the repair functionality by removing/new installation of the application.

cu

Markus