Icidis
Posts: 10
Joined: Wed Sep 26, 2012 12:42 pm

Uninstalling a Patch

Good Day,

I've recently bought advanced installer and I'm loving it so far. I've got a problem uninstalling the second patch of my application, please see steps below and please let me know if you require any further information. Please note when I sya Modify application I'm not removing/add any files, just doing code changes within the application.

Steps:

1. Create Installation and Install Application (v1.0.0)
2. Modify Application and Create Installation (v1.0.1) -> Select Patch after changing the version in AI
3. Create a new Patch Project to patch v1.0.0 to v1.0.1 (Allow for patch removal)
4. Install Patch which works 100%
5. Modify Application and Create Installation (v1.0.2)
6. Remove all families, upgrade images etc from Patch Project (Step 3) - Please note, this is not a new patch project.
7. Click Upgraded and select v1.0.2 MSI and target both (v1.0.0) and (v1.0.1) Installations and create Patch
8. Install v1.0.2 Patch and all is working still.
9. Remove patch v1.0.2 from the programs and features
10. Start application, the application is still v1.0.2 and not v1.0.1. I did find that the registry key is showing as v1.0.1 but the application files are still from the second patch.

Could you please let me know what I'm doing wrong, should I create a new patch project for every patch. I've read through all patch documentation (I Hope) and I'm still a bit lost.

Thank you.

Ryan
Icidis
Posts: 10
Joined: Wed Sep 26, 2012 12:42 pm

Re: Uninstalling a Patch

Should I create a new patch project for every patch?
I've tried create a new patch project for every patch and seems to have no effect.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Uninstalling a Patch

Hi Ryan and welcome to Advanced Installer forums,
Should I create a new patch project for every patch?
Yes, you can try to do this as follows:
First patch project: Upgraded 1.0.1 with Target 1.0.0
Second patch project: Upgraded 1.0.2 with Target 1.0.1

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”