Patch is requiring Uninstall

Got a problem you cannot solve? Try here.
MikeS
Posts: 16
Joined: Wed Jun 05, 2013 11:54 am

Patch is requiring Uninstall

Postby MikeS » Thu Nov 06, 2014 11:14 pm

Hi Francesco,

We are attempting to create a Patch for our installation and for some reason the patch is telling us we have to uninstall first. If we allow the uninstall to happen, then the program is removed and no patching is done (there are no files to patch!) and the user no longer has the program installed on their machine.

We've created Patches in the past without any problems, but this one has us stumped.

Here's what we are doing:

1) Open the Full Installation Project.
2) Do a Save As to save the project into a new folder (patch_folder).
3) Save the original script file to the new patch_folder.
4) Go to the Patches menu item and Add a new patch pointing to the Full Installation folder (.msi) for the compare on what needs to be patched.
5) Go to Update Packs and create a New entry with Name, URL and Description.
6) Go to Versions and Add a new entry pointing to the original Version number and the Update Pack we just created.
NOTE: We did not add/delete or modify any Files, Runtimes, Prerequisites or anything else in the Patch Project yet. We just did a Save As from the original project.
7) Go to Patches and Build Patch.
8) While building the Patch Project build, we see 6 files getting compressed and added to the patch installation (not sure why since they should compare identical).
9) Patch process completes and the updates.ini is correct and the Patch .exe is created. Not sure what is in there to be patched.
10) Run the Patch program on a machine with the original Full Installation Project installed.
11) We get the Prerequisites screen in the IA installer saying the prior version must be uninstalled first.

Why? We don't want it to be uninstalled. We just want IA to inject the new code into the original files for the patch.
We tried with both changing a single file and updating the Files in the project and without any changes at all and it still wants to do an uninstall first.
Because it does an uninstall first and the Patch project .exe doesn't include the entire project (all program files are not in the patch project, just the modified ones), then the only result is that the original program is uninstalled.

What are we doing wrong? Why does it think it has to do an uninstall of the prior version first?

Thanks.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Patch is requiring Uninstall

Postby FrancescoT » Fri Nov 07, 2014 4:28 am

Dear Mike,

could you send me a minimal project that replicates the issue?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 85 guests