Hi Richard,
Is there a switch to hide the update message when a newer version is available? Something like:
What switch do I have to use to uninstall Wayk Now? I tired but got an Error:
Thanks for your answer.
Best Regards,
Hans
Hi Hans
For the update message, you are looking for "VersionCheck". So you can try this:
wayk-now config --global VersionCheck false
I also tried the /uninstall switch and got an error - I'm not sure why, but I'm opening a ticket for that and I'll write back here when it's fixed. In the meantime, I was able to work around the issue by using `msiexec` and passing the .msi product code, like this:
msiexec /x {5ACB9B24-A85B-444F-8269-3EDE684A8611}
Note: that is the product code for 3.1.1 x64 installer, which I checked using the following Powershell:
get-wmiobject Win32_Product | Format-Table IdentifyingNumber, Name, LocalPackage -AutoSize
Let me know if that helps, and if you have any further questions or problems. Thanks!
Richard Markievicz
Hello again Hans
I just realised, an easier workaround for the .msi issue is to use this command:
msiexec /uninstall [path-to-installer].msi
For example:
msiexec /uninstall WaykNow-x64-3.1.1.0.msi
I hope that helps,
Richard Markievicz
Hi Richard
Thank you, I will use this solution until the /uninstall switch works with the msi.
Regards,
Hans
Hi Hans
Ok, I have done some research on this (I am not a Windows installer expert :))
Windows maps .msi extensions to msiexec (in the same way that, for example, .txt is mapped to Notepad / your default text file handler, so opening a .txt file on the command line actually opens the correct application).
The .msi mapping actually invokes msiexec with the default action, which is "install". So passing /uninstall, actually runs msiexec like this:
msiexec /i WaykNow-x64-3.1.1.0.msi /uninstall
Which is obviously not valid :)
Therefore, the recommended way to uninstall from the command line is as-above: if you have the original .msi, use msiexec WaykNow-x64-3.1.1.0.msi /uninstall, else use the product code.
Do you have other installers that allow installer.msi /uninstall? I'd be interested to learn how they work.
Thanks again,
Richard Markievicz
Hi Richard
Thanks for the research!
I've just learned something new :)
I will check that...
Best regards,
Hans