I’m trying to copy an xml file in the post installation steps, I’ve tried both copy-item and copy-file and both changes the content of the xml file.
The code I used is:
-
Copy-Item -Path $file -Destination “$PF\KeePass Password Safe 2\KeePass.config.xml” -Force
-
Copy-File -Path $file -Destination “$PF\KeePass Password Safe 2\KeePass.config.xml”
bellow is the snap before and after copy.
before-
(Dérivé du mot de passe précédent)
after-
(D�riv� du mot de passe pr�c�dent)
any solution or suggestions …?