A stupid simple question - 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!

jeffintexas
Posts: 1
Joined: Wed Jun 29, 2011 4:32 am

A stupid simple question

I am trying to create an executable that simply takes a corrected language file ind replaces it in the needed directory, is this possible?

Eg: I want to take my edited "English.dat" and replace the current "English.dat" file that is located in "C:\Program Files\Program\Program Description\Languages"

I am new to this stuf so I am sure someone is rolling their eyes reading this.

Thank you in advance for any advice you can offer...
AnneTheAgile
Posts: 61
Joined: Wed Jun 08, 2011 9:53 pm

Re: A stupid simple question

hi fellow newbie! I was able to get that kind of thing done, see my post here;
http://www.advancedinstaller.com/forums ... 218#p44218

Does it help?? //this might be part1 only; I have to finish my work which is doing the exact task plus a dialog box, then I'll repost if that was not all.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: A stupid simple question

Hello and welcome to the Advanced Installer Forums,

This is a typical upgrade scenario. Since you only need to replace the one file, I recommend you author a patch.

Here are a couple of articles to get you started:
http://www.advancedinstaller.com/user-g ... patch.html
http://www.advancedinstaller.com/user-g ... tches.html

Although this should be done automatically, you can ensure this by enabling the "Ensure that this file overwrites any installed target file" option in the Files and Folders page.

Since you are new, I highly recommend you read our tutorials for a better understanding of how to use Advanced Installer to efficiently deploy your products. This will also help you better understand support team's suggestions now and in the future. The Simple and Professional tutorials are especially important.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”