I have a script all written in Automise format to delete a file if it exists then export the reg key HKLM\Software\Windows\CurrentVersion\Uninstall
In order to get list of software installed which i have working.
Then i have "Text Find" searching in the file that it made that is a txt file.
So far we have Export Reg Key to %systemdrive%\programlist.txt
Everytime i try to search wild card on any word for isntance if i search for "*adobe*" it comes back with zero returns. But if i do *a* it comes back with a lot.
I tried to have a messagebox show the variable that i had it all stored to (see screenshot)
Please help. I am new to this and im not very happy with it so far.


Hi
This issue is occurring because when you export the Registry key to a text file, the Reg utility (which is called by this action) saves the output file in Unicode format.
I am assuming you are using Automise 3. Automise 3 is not compiled against a Unicode-aware compiler. This means it cannot handle Unicode files (Automise 4 supports Unicode).
It seems that this is tripping up the Text Find / Replace action. A work around for this issue is to do the following:
1. Export the registry key to your text file
2. Use the Read Text File to read the file contents to a variable
3. Specify the variable as the input for the Text Find / Replace action (rather than the original file)
I have tested this and it works as expected.
Hope this helps.
Regards,
Steve