When in this state, if I click "Remove" next to my product under ARP, it attempts to install (not uninstall) and fails with, "Installation failed: 'This action is only valid for products that are currently installed'.Please check your settings and try again."
I get the same thing if I try to run the copy of my installer that is cached under All Users\\Application Data. However, if I run the actual installer that I used to install it (not the cached one), it repairs the installation so that I can then uninstall it from ARP.
I have attached a very simple installer that demonstrates this. Basically, it does this:
Code: Select all
MSI Transaction : Begin New Transaction
Apply Install (get result into variable SUCCESS)
MessageBox: $TITLE$ Uninstall, Done installing new version. Do you want to commit the transaction?$NEWLINE$$NEWLINE$Yes to commit, No to roll back.
if Variable COMMITANSWER Equals NO
Set Variable SUCCESS to CANCEL
end
if Variable SUCCESS not Equals COMPLETE
MSI Transaction : Discard Changes
else
MSI Transaction : Commit Changes
end
I would greatly appreciate any help I can receive concerning this.
Thanks!
[/code]

