problem building Updater - 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!

mahmud
Posts: 1
Joined: Thu May 31, 2012 9:09 pm

problem building Updater

Hi

I am using Advanced Installer version 7.0.1.I am having some problem while making the updater.if any one could help me to point out the problem and direct toward any solution I would be grateful.I am explaining what I am trying to do and what is the problem

My goal is
1.To build an installer which can be updated when needed through a shortcut and auto updater with frequency of 1/2 day.

The way i did
1.I have built an installer with *.exe and data files.
2.I have configured auto updater with frequency 1 day.
3.I have shortcut of main application,updater and uninstaller.
4.the short cut of updater is given argument 'checknow' ,so when i click it it checks for update,downloads and installs the update.

Now i build the updated version
1. a new version of *.exe is included but not the data files.
2.I change the product version.
should I change the product code?

Now if click the updater it works and install.But
1.If i change the product code in updated version after update the installed folder has the old *.exe version not the latest one.
2.but if i do not change the product code after update the the installed folder use the new *.exe version.but it has another problem it cannot uninstalled properly and even after uninstall the desktop shortcut remains although they don't work.However,if i recover the installer then the old one is installed again and then it can be uninstalled properly.

What am I doing wrong?
Do i need to change the product code for the update?If product code changed how can i force to use the new exe after update?

Thanks.I appreciate in advance for reading and commenting.

Mahmud
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: problem building Updater

Hi Mahmud,

Before we talk about the solution a small support recommendation. Please do not duplicate a question on the forums if you have already sent an e-mail, or vice-versa. They have the same priority for us and you will get the same answer.

Reagarding your request. You need to let all the files in the new version too, just update the one that have changed.
If a new users installs this version for the first time it should work correctly too.

The product code must be changed.

To create the setup package for the new version please follow the steps from upgrades page. Once you have created the package test is manually, and then test its deployment using our updater.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”