Need an approach to send updates - 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!

lakpappu
Posts: 9
Joined: Fri Feb 19, 2010 1:39 pm

Need an approach to send updates

Hi Team,

I have a scenario where I send a CD containing the exe file(version 1.0.0) to the client.There on I need to send him patches(in a CD) for fixing the issues and updating new features in the subsequent releases(Version 1.0.1,Version 1.0.2 etc....).
in

In the subsequent releases I want to send him only the changed files and newly added files/folders to be copied into the previously installed directory structure.

Do I need to create a patch or a new exe with the newly added files/folders.

I tried creating a patch by following a article on this site and landed into troubles(posted in the link below).
http://www.advancedinstaller.com/forums ... =2&t=10540


The tasks I need to perform are as below:

1)Need to know where the previous installation directory is?
2)If there is any service/Application of my software is running I need to stop them.
3)copy all these files wrapped in the exe into the previous installed directory.
4)Restart all the services by running a batch file after patch installation.

Could some1 please help me finding an approach to solve this problem.

Thanks in advance,
Papppu.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Need an approach to send updates

Hi,

What you need can be done by using a patch. To stop and restart services or applications you can use patch custom actions. Using a separate installer is not recommended because the updates would not be related to the original product, they would simply replace some resources.

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

Return to “Common Problems”