I have a registry value named "ApplicationFilesCopied" saved under:
Computer\HKEY_CURRENT_USER\SOFTWARE\[XXXX]\[YYY]\5.0\
that I need to delete whenever my installer runs (installation).
To achieve this, I recreated that registry structure, down to the 5.0 key, in my installer and added a Value removal operation that targets that value specifying:
* Name: ApplicationFilesCopied
* Component: the main exe of the SW tool we install
* Remove on: Component install
* Conditions: empty
This works well on my machine and also on another PC but... on a colleague's laptop the key is not removed. No errors are given.
All machines are Windows 10 64 bit.
I've tried to enable verbose logging but I can't see any particular difference regarding this operation, all logs from all machines contain the entry:
Code: Select all
MSI (s) (D8:E8) [14:53:47:961]: Executing op: ActionStart(Name=RemoveRegistryValues,Description=Removing system registry values,Template=Key: [1], Name: [2])
MSI (s) (D8:E8) [14:53:47:962]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=13200)
MSI (s) (D8:E8) [14:53:47:962]: Executing op: RegOpenKey(Root=-2147483647,Key=Software\[XXXX]\[YYY]\5.0,,BinaryType=0,,)
MSI (s) (D8:E8) [14:53:47:962]: Executing op: RegRemoveValue(Name=ApplicationFilesCopied,,)
...