To create the MSI Uninstall task I use the following command line => msiexec.exe /x {path} /L*V {path.log} /qn
This doesn’t work at all, instead I’m using the uninstall created with the install task automatically.
I would package the BESRemover and use that in silent mode instead. If you just uninstall the msi traditionally, there will be registry keys left behind that could cause problems and even prevent you from re-installing.
Here’s a link for the tool and some commands to use:
I would try testing it on the command line to see if that works.
It should be {GUID} not {path} and you need to escape brackets if you are entering them into actionscript. It will work if you are doing relevance substitution that gets the GUID { name of key of (uninstall key) of registry }
Can you share the entire actionscript? ( you can replace any “strings” / etc you don’t want to share )
However that would be in a batch file script, and you call the script from your action. For using it directly in an action script, you would need to escape curly brackets as @jgstew mentioned.
That actionscript should be correct (although there appears to be a typo), but what I am confused by is {path}, because it should be a GUID, not a path.
Also, I would try putting it in quotes, so it would be:
I found the problem, it was the automatic relevance generated by the msi package. It had a NOT … deleted and everything’s running as it should. thanks everybody for your help!
The “{” character is used to surround relevance substitution in actionscript. If you need to actually use the character normally, then you must escape it by using it twice: “{{GUID}”