TXT update of file always creates a backup bak file - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

thill
Posts: 111
Joined: Sat Jan 21, 2012 5:58 pm

TXT update of file always creates a backup bak file

Have several SQL and configuration files where string substitutions are performed during installation. The 'Backup file before performing update" is off in all cases. However, in some but not all cases a backup .bak file is created that we do not want and is not needed. Which files are backed-up appears to be consistent.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: TXT update of file always creates a backup bak file

Hello,

We have tested this and unfortunately cannot replicate the behavior. The backup file gets created depending on the option.

Does this behavior manifest on all machines(clean) or is it just the one? Also, can you isolate the behavior on a separate project?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
thill
Posts: 111
Joined: Sat Jan 21, 2012 5:58 pm

Re: TXT update of file always creates a backup bak file

mihai.petcu wrote:Does this behavior manifest on all machines(clean) or is it just the one? Also, can you isolate the behavior on a separate project?
We only have one license so mine is the only system doing this. And so far its just one project - the big main one of course.

I posed 3-4 questions yesterday and you asked for the project file. I'll send that with some details in a little while after a meeting.
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: TXT update of file always creates a backup bak file

I'm seeing this same behavior on 2 text substitutions setup on .config files.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: TXT update of file always creates a backup bak file

Actually I'm seeing .back files for these 2 configs left behind on uninstall. Not sure whose creating them, I added FileRemovals to clean them up on uninstall.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: TXT update of file always creates a backup bak file

Hello,

I'm not sure why this happens. Can you give us a detailed step by step test case scenario so we can try to reproduce and investigate this? Also, can you attach a sample which reproduces the behavior?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”