IA Express 18 - Never Overwrite not working

Got a problem you cannot solve? Try here.
DSMyers
Posts: 10
Joined: Fri Feb 15, 2008 12:47 pm

IA Express 18 - Never Overwrite not working

Postby DSMyers » Mon Oct 28, 2013 2:36 pm

I have an installer build with IA Express 18 and have checked the Never Overwrite option for a file. When I run the installer, the file that exists on the target platform is overwritten, even though the Never Overwrite option is checked.

I have read a few threads in the support database about this topic but did not see any resolution to the problem. Thanks for your help.

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

Re: IA Express 18 - Never Overwrite not working

Postby FrancescoT » Tue Oct 29, 2013 1:10 pm

Dear User,

Are you sure the file effectively exist on target system when "Install Files" command runs.

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

DSMyers
Posts: 10
Joined: Fri Feb 15, 2008 12:47 pm

Re: IA Express 18 - Never Overwrite not working

Postby DSMyers » Tue Oct 29, 2013 5:08 pm

I am an Express user so I don't really have visibility into when the "Install" command actually runs. However, what I think you are probably saying is that the file in question is installed in a previous run and when I run the installer today to install a new version, IA first uninstalls the old version and, in doing so, deletes the file in question since it was what put it there in the first place.

So, when the "Install" command actually runs, the file is gone.

How do I set it up to install a file and not remove it when a reinstall takes place?

Thanks for your comments.

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

Re: IA Express 18 - Never Overwrite not working

Postby FrancescoT » Wed Oct 30, 2013 11:56 am

Dear User,

In fact, I meant exactly that.

The only option that you have is to make a copy of that file before your installer effectively runs (... otherwise the file will be removed first).

With IA Express you can define a Run Program action (Run Programs view (advanced Options) in IA IDE) and you can also specify the timing of program execution while inserting the run request. In your case, run an XCOPY command to move your file somewhere and then restore it back later, using another Run Program action (at the end of your installation).

Hope this helps you.

Regards

PLEASE NOTE!
This discussion has been moved to Technical Support forum section.
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 58 guests