I agree that the Silent Uninstall might be a better option rather than changing config.xml, but with some packages (not just this one) I need to notify the user to close the app so it can be uninstalled. Sometimes its not because I can’t proceed with the uninstall, but because its better to inform the user and avoid the “I was working on something and it just closed” tickets that inevitably get sent to the helpdesk.
I was hoping there was an option for the DeploymentType to change these highlighted words dynamically to read better.
I’ve tried to capture what I mean below:
DeploymentType_Install:
The following programs must be closed before the installation can proceed.
The following application is about to be installed:
You can choose to defer the installation until the deferral expires
DeploymentType_UnInstall:
The following programs must be closed before the uninstallation can proceed.
The following application is about to be uninstalled:
You can choose to defer the uninstallation until the deferral expires
**DeploymentType_Repair: **
The following programs must be closed before the repair can proceed.
The following application is about to be repaired:
You can choose to defer the repair until the deferral expires
Perhaps this is not possible in the currently version and I should look to submit a feature request (issue) on Github.
The dialog window text should be neutral, otherwise we will need 2 new translated strings. This will be changed in v4 however right now you would need to modify the code.
Hey luki, do you know when this update will be implemented? Looks there is still this in the 3.8.4 version of psappdeploytoolkit.
I am also interested in not touching the xml file.
Agree with Xengrath, I was looking for the same functionality, where we need to prompt the user during Install\uninstall to close application, to change the config, as you suggested Sven is not possible because the same prompt is displayed during Install, need to have ability to display different prompt for install\uninstall. we are on version 3.9.2 and it is still not available.
Our PSADT packages typically contain a subfolder called “UninstallFiles”. Once I’ve prepared my script/project, I paste a duplicate of the toolkit contents except the “Files” folder into the “UninstallFiles” folder. This achieves two things:
Most importantly: We point SCCM’s uninstall content path to the “UninstallFiles” folder, so that if an uninstall occurs in future, only a small amount of data (less than 2MB) is downloaded from the Distribution Point. (I wouldn’t rely on the install-content still existing in the ccmcache).
Having a dedicated set of PSADT files for an Uninstall means you can make some wording tweaks in AppDeployToolkitConfig.xml i.e. changing “install” and “installation” to “uninstall” and “uninstallation”. That kind of thing.