Patch without original MSI. - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

x4000
Posts: 4
Joined: Wed Apr 15, 2009 5:10 am

Patch without original MSI.

Is there a way to create a patch that a user who no longer has their original MSI can apply? Obviously, this wouldn't be able to do diffing of individual files, but this should be able to add (and possibly delete) entirely new files or versions of existing files. Is there something like this I can do?

I notice that the Updater project can link a version to an msp, an exe, or an msi. Is it possible to just create a simple MSI with the files I want to add/update, and then have that get installed through the updater somehow? I'm adding a txt file with release notes in every version, so each version just checks for the existence of the release notes, which would still work in this scenario.

The main issue is that I want users to be able to apply incremental patches when they come out, even if they've cleared their temp folder. I've got the installer working great with the MSI, etc, included in the boostrapper exe, and even though I'm selecting that "Do Not Remove Unpacked MSI or CAB Files" option on the boostratpper tab, my patches are still not applying correctly. And I worry about the temp folder thing.

Thanks for any help you can offer.

Chris
x4000
Posts: 4
Joined: Wed Apr 15, 2009 5:10 am

Re: Patch without original MSI.

Okay, well I got the patches working, but I'm still wondering about the original MSI in the temp folder thing. Patches themselves are ideal, but I'm just wondering if it's possible that the user, through normal cleanup of their machine, might make it impossible for them to receive new patches.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Patch without original MSI.

Hi,
Is there a way to create a patch that a user who no longer has their original MSI can apply? Obviously, this wouldn't be able to do diffing of individual files, but this should be able to add (and possibly delete) entirely new files or versions of existing files. Is there something like this I can do?
The original MSI is required only if the installed resources were modified or some of them are missing. If the original installation is intact, the MSI is not needed. Please note that files should not be removed when creating the upgraded package for a patch. If you need to delete files you can try using file removal operations.
Is it possible to just create a simple MSI with the files I want to add/update, and then have that get installed through the updater somehow?
Yes, this can be done. However, it is not recommended for upgrades because conflicts may appear between the two packages. The recommended approaches are the automated upgrade feature and patches.
my patches are still not applying correctly
Can you please give me more details about this? What is the exact behavior you are encountering? Does the patch building process show any errors or warnings? Please note that the User Guide contains a patch tutorial which may help you.
I'm just wondering if it's possible that the user, through normal cleanup of their machine, might make it impossible for them to receive new patches.
Yes, this situation may occur. I'm afraid that this is a limitation of the Windows Installer patch mechanism.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”