<wap-provisioningdoc><characteristic type="Install"><parm name="InstallPhase" value="uninstall"/><parm name="SetupPath" value=""/><parm name="AppName" value="Caywen Kevtris"/><parm name="InstallDir" value="\Program Files\Games" translation="install"/><parm name="NumDirs" value="2"/><parm name="NumFiles" value="1"/><parm name="NumRegKeys" value="0"/><parm name="NumRegVals" value="0"/><parm name="NumShortcuts" value="1"/></characteristic><characteristic type="Registry" cfgnodetype="characteristic"/><internal-transaction type="Install"/><internal-transaction type="FileOperation"/><characteristic type="FileOperation"><characteristic type="\Windows\Start Menu\Programs\Games\Kevtris!.lnk" translation="install"><characteristic type="Delete"/></characteristic><characteristic type="\Program Files\Games\Kevtris.exe" translation="install"><characteristic type="Delete"/></characteristic><characteristic type="\Program Files" translation="install"><characteristic type="Games" translation="install"><characteristic type="RemoveDir"/></characteristic></characteristic></characteristic></wap-provisioningdoc>
<wap-provisioningdoc>
<characteristic type="Install">
<parm name="InstallPhase" value="uninstall"/>
<parm name="SetupPath" value=""/>
<parm name="AppName" value="Caywen Kevtris"/>
<parm name="InstallDir" value="\Program Files\Games" translation="install"/>
<parm name="NumDirs" value="2"/>
<parm name="NumFiles" value="1"/>
<parm name="NumRegKeys" value="0"/>
<parm name="NumRegVals" value="0"/>
<parm name="NumShortcuts" value="1"/>
</characteristic>
<characteristic type="Registry" cfgnodetype="characteristic"/>
<internal-transaction type="Install"/>
<internal-transaction type="FileOperation"/>
<characteristic type="FileOperation">
<characteristic type="\Windows\Start Menu\Programs\Games\Kevtris!.lnk" translation="install">
<characteristic type="Delete"/>
</characteristic>
<characteristic type="\Program Files\Games\Kevtris.exe" translation="install">
<characteristic type="Delete"/>
</characteristic>
<characteristic type="\Program Files" translation="install">
<characteristic type="Games" translation="install">
<characteristic type="RemoveDir"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
I want my program to delete the whole directory so I dont need this command for the specific file. Can you update the file to be valid without it ?<characteristic type="\Program Files\Games\Kevtris.exe" translation="install">
<characteristic type="Delete"/>
That's because the characters in the file are UTF16 (usually two byte) characters and you have read the file assuming UTF8 (usually one byte) characters which is what the Basic4ppc file handling assumes.if I use basic4ppc "readfiletoend" and save it to a new file I get the text with blanks after every character !!.
<wap-provisioningdoc>
<characteristic type="Install">
<parm name="InstallPhase" value="uninstall"/>
<parm name="SetupPath" value=""/>
<parm name="AppName" value="Caywen Kevtris"/>
<parm name="InstallDir" value="\Program Files\Games" translation="install"/>
<parm name="NumDirs" value="2"/>
<parm name="NumRegVals" value="0"/>
<parm name="NumShortcuts" value="1"/>
</characteristic>
<characteristic type="Registry" cfgnodetype="characteristic"/>
<internal-transaction type="Install"/>
<internal-transaction type="FileOperation"/>
<characteristic type="FileOperation">
<characteristic type="\Windows\Start Menu\Programs\Nivut" translation="install">
<characteristic type="RemoveDir"/>
</characteristic>
<characteristic type="\Program Files" translation="install">
<characteristic type="Games" translation="install">
<characteristic type="RemoveDir"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
For writing? The same as for reading, 1200, then just write the information. I note that the original file didn't seem to have any CRLFs. I don't know if that will be important or not when you rewrite the file.which codepage do I need to put in the Fileopen ?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?