Read a file and Replace it during installing

Got a problem you cannot solve? Try here.
alfrqan
Posts: 23
Joined: Tue Sep 06, 2011 10:51 pm

Read a file and Replace it during installing

Postby alfrqan » Tue Aug 20, 2013 6:44 am

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?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Read a file and Replace it during installing

Postby FrancescoT » Tue Aug 20, 2013 10:35 am

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

alfrqan
Posts: 23
Joined: Tue Sep 06, 2011 10:51 pm

Re: Read a file and Replace it during installing

Postby alfrqan » Sat Sep 21, 2013 3:47 am

- 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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Read a file and Replace it during installing

Postby FrancescoT » Tue Sep 24, 2013 4:25 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 150 guests