Patch works only once

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

Patch works only once

Postby casic » Tue Oct 30, 2007 3:41 am

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
InstallAware MVP
If it can't be done with InstallAWARE then you are not using Windows

Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Postby Gizm0 » Tue Oct 30, 2007 5:04 am

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\"
InstallAware Software Corporation

casic
Posts: 259
Joined: Thu Mar 17, 2005 4:02 am
Location: Germany
Contact:

Postby casic » Wed Oct 31, 2007 5:13 am

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

cu

Markus
Markus Diettrich

InstallAware MVP

If it can't be done with InstallAWARE then you are not using Windows


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 29 guests