Page 1 of 1

Update

Posted: Thu May 08, 2025 9:08 am
by vaibhavopkey
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.

Re: Update

Posted: Thu May 08, 2025 11:20 am
by JohnGaver
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.