Page 1 of 1

Read a file and Replace it during installing

Posted: Tue Aug 20, 2013 6:44 am
by alfrqan
I am reading from a file the language of the program
the file which i am reading from it has some other information and i need to patch it
the problem i can not replace it since i read information from it while installing
any idea?

Re: Read a file and Replace it during installing

Posted: Tue Aug 20, 2013 10:35 am
by FrancescoT
Dear Alfrqan,

I'm not quite sure to follow the exact sequence where you read and then you need to update that file.

Anyway, you could make a temporary copy of it and then replace the original file once the installation is completed.

Regards

Re: Read a file and Replace it during installing

Posted: Sat Sep 21, 2013 3:47 am
by alfrqan
- I think there must be close function after reading.
- I think Installaware should support UCS 16.since it is using very old unicode currently...
+ -Installaware is not able to replace files if exist currently in installaware 15 while on Installaware 9 it is fine_please check this
-IF IT is possible to add check if registry key exists would be good as well

Re: Read a file and Replace it during installing

Posted: Tue Sep 24, 2013 4:25 pm
by FrancescoT
Dear Alfrqan,

I think there must be close function after reading.

It is not necessary, IA does all the required operations automatically.
I think Installaware should support UCS 16.since it is using very old unicode currently...

I still don't understand what do you mean with UCS 16. Maybe UTF-16?
If true, this is not possible with earlier IA versions that do not support UNICODE.
-Installaware is not able to replace files if exist currently in installaware 15 while on Installaware 9 it is fine_please check this

...Please try to clarify.
-IF IT is possible to add check if registry key exists would be good as well

It is already available... use "Check Registry" command.

Regards