Information générale
Catégorie:
Codage, syntaxe et commandes
>>>Hi,
>>>
>>>Is it possible to add/include a file to an EXE file? As if the file was included at design/compile time?
>>>
>>>TIA
>>
>>I have to ask, why? There could be other way to accomplish what you need.
>
>One of the files used by SDT is SDTMeta.dbf. Sometimes I get an error from the customer that this file cannot be read by the application. To prevent these errors, ideally, I would include this file into the application (into the .EXE).
We keep a separate meta\ folder off our main folder, and when there are SDTMeta.dbf errors, or our main .DBC errors, or other fixed file errors, we can copy them over from our meta\ folder.
>But, for some customers, this file has to be updated/changed, when the application is being updated. Reason is that these customers have custom fields or some other custom settings that require this file to be different from other customers.
>Therefore, I would like to include this file, SDTMeta.dbf into the EXE; but for those that need to have a custom version, modify it - during the update - and then store it into the .EXE
If your customers allow you to have those backup files, you can store them locally, possibly in a .ZIP file, and then extract them or copy them over as needed. You can even do a comparison to see if the live version matches the meta version, and if not update it before the error occurs.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement