Update specific variables available in custom pre/post scripts
Not all vendors are doing a good job when I come to MSI and uninstalling previous versions. This can lead to multiple instances of the application showing up in Program and Features… This calls for a clean-up via post scripts.
Would it be possible to have variables like Vendor, Version, AppName ect. available to send to a post script as arguments, this way we can create more generic clean-up scripts.
Quick use case related to PSAppDeployToolkit (I'm not going to use PSADT as clean-up script, but it shows what I would like to do)
Installer exit code from within a custom post-script
It would be useful to know the exit code of the installer from within a post-script. Maybe the exit code could be stored in an environment variable from PatchMyPC-ScriptRunner.exe's session/scope, therefore child processes/scopes would inherit it....