Overwrite 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!

remulus
Posts: 2
Joined: Fri Apr 04, 2008 8:28 am

Overwrite file??

Hi.

I have a small question to advanced installer.

I have a file on the target computer called "default.rcf" under the folder C:\Program Files\SonicWALL\SonicWALL Global VPN Client\default.rcf

I want to make a msi-package that replaces this "default.rcf" file with a new updated file.

But I cant figure out howto... How do I copy an file and overwrite the old one?

Could you help me with an example?

Thx
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Overwrite file??

Hi,

In order to do this you can follow these steps:
- go to the Files and Folders page
- create the folder "SonicWALL" under the "Program Files" folder
- create the folder "SonicWALL Global VPN Client" under the "SonicWALL" folder
- add the "default.rcf" file in the "SonicWALL Global VPN Client"
- double-click the "default.rcf" file
- in the "Edit File" dialog go to the Version tab
- check the "Ensure that this file overwrites any installed target file" option

When the package will run the "default.rcf" file on the target machine will be replaced.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”