Update

Got a problem you cannot solve? Try here.
vaibhavopkey
Posts: 46
Joined: Wed Feb 05, 2025 6:13 am

Update

Postby vaibhavopkey » Thu May 08, 2025 9:08 am

How can I achieve this? Suppose a user installs my software, which includes plugins:
Both in single folder name plugins.
1) Default Plugins
2) User-Installed Plugins.

When the user updates the app using the installer first it uninstall the app, all plugins are removed.
I want to ensure that user-installed plugins are not removed during the update — only the default ones should be replaced.
This way, when the user updates the app again, their previously installed plugins remain intact.

Is my approach standard? First, I copy all the existing plugins to a different location. After the user updates the app, I copy them back to the default location.
However, there's one issue: how can I identify and copy only the user-installed plugins to that separate location?
Is there any feature available ,so i give name and it copy only that plugin.

JohnGaver
Posts: 217
Joined: Mon Feb 05, 2024 6:15 pm

Re: Update

Postby JohnGaver » Thu May 08, 2025 11:20 am

This topic applies to InstallAware Multi Platform as well.

Unless you're forcibly deleting all files in your plug-in folder, your setup wouldn't remove files it hasn't installed itself when you call Apply Uninstall - either for your own setup's installation log (just like uninstalling it), or for the installation log of a different version (just like removing your own old version before installing an updated version).

By assigning the $NATIVE_LOGGING$ variable to the $NATIVE_OLDLOG$ variable, default template and wizard generated setup scripts facilitate the removal of an older (or newer, as the case may be) product version; as identified by a Product Code GUID that matches the existing setup you are running.
John Gaver
InstallAware Skunkworks
InstallAware Multi Platform - Liberating DEB/RPM/PKG/MSI(X) into universal native setups!
Get your free copy today - https://www.installaware.com/installaware-multi-platform.htm


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 78 guests