Patch works only once

Got a problem you cannot solve? Try here.
Post Reply
casic
Posts: 260
Joined: Thu Mar 17, 2005 4:02 am
Location: Germany
Contact:

Patch works only once

Post 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
Markus Diettrich
Install[b]Aware[/b] MVP
[i]If it can't be done with InstallAWARE then you are not using Windows[/i]
Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Post 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.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
Install[b]Aware[/b] Software Corporation
casic
Posts: 260
Joined: Thu Mar 17, 2005 4:02 am
Location: Germany
Contact:

Post by casic »

Thank you very much for this information. I will replace the repair functionality by removing/new installation of the application.

cu

Markus
Markus Diettrich
Install[b]Aware[/b] MVP
[i]If it can't be done with InstallAWARE then you are not using Windows[/i]
Post Reply