I have a application that needs to check to see if there are any new updates every time the software starts.
Start program MyApp.Exe
MyApp.exe check update server
If Update available update, download and install
else
Open Program
Is it best to use the Patch option or Updates.
Application checks for Update at every startup
-
- Posts: 6
- Joined: Mon Jun 23, 2008 6:29 pm
-
- Posts: 30
- Joined: Thu Feb 08, 2007 5:11 am
Am not sure about your IA version but in Version 7, there is a Web Update feature where you can use the Update Packs to set the url for your updates
After running your setup, then you will have the option of setting the time when the updates will occur - daily,weekly,monthly....but i doubt you can set it to check for updates every time you launch your application
You may have a reason for the need to frequently update but it may not be practical.
After running your setup, then you will have the option of setting the time when the updates will occur - daily,weekly,monthly....but i doubt you can set it to check for updates every time you launch your application
You may have a reason for the need to frequently update but it may not be practical.
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
We actually have a blog post which shows you how to do this, its certainly possible!
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 66
- Joined: Fri Mar 09, 2007 9:46 am
- Location: Albany, NY
- Contact:
CandiceJones wrote:We actually have a blog post which shows you how to do this, its certainly possible!
Hi Candice,
Can you post the URL to the blog post that you are referring to? I've looked at all of the posts on http://www.installaware.com/blog/ and none of them cover this topic.
Were you referring to the white paper listed as "Using InstallAware to Deliver Web Updates"? That describes how to do an update from the installed application in general terms, but it would be helpful to see sample code that implements that functionality. I've been asked to bid on a project that has this requirement and it would be very helpful for me to know if this can be done with InstallAware.
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 6
- Joined: Fri May 07, 2010 12:44 pm
Re: Application checks for Update at every startup
I keep reading that the source is avaliable for the updater. Where is it?
Adding " Run Program $TARGETDIR$\myprogram.exe , startup in folder $TARGETDIR$ "
BEFORE every "Terminate Installation" isn't launching our program. We get an elevation prompt to run the updater then nothing after that. This is on a Win7 x86 machine. I will test other os when i get a chance but how can we call the updater code or better yet include it in our program?
Adding " Run Program $TARGETDIR$\myprogram.exe , startup in folder $TARGETDIR$ "
BEFORE every "Terminate Installation" isn't launching our program. We get an elevation prompt to run the updater then nothing after that. This is on a Win7 x86 machine. I will test other os when i get a chance but how can we call the updater code or better yet include it in our program?
Re: Application checks for Update at every startup
When you check off the option for updates, a script will be included in your setup called "updates", visible with Designer edition or better. You may edit this script to suit your needs.
To test, you can add a messagebox to your setup that displays $EXEDIR$ or $ROOTDIR$. You can set the updates to manual and when you call for an update manually, you will be able to see where the "update setup" is located.
To test, you can add a messagebox to your setup that displays $EXEDIR$ or $ROOTDIR$. You can set the updates to manual and when you call for an update manually, you will be able to see where the "update setup" is located.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
-
- Posts: 6
- Joined: Fri May 07, 2010 12:44 pm
Re: Application checks for Update at every startup
I've found another issue with using this way to update.
On XP PRO installing our program using the right click "RUN AS" administrator credentials, causes issues when clients click our programs desktop/startmenu shortcut. When this happens our program cant access the internet, and has other "permission" related problems.
On XP PRO installing our program using the right click "RUN AS" administrator credentials, causes issues when clients click our programs desktop/startmenu shortcut. When this happens our program cant access the internet, and has other "permission" related problems.
Who is online
Users browsing this forum: No registered users and 3 guests