Just a quick question; I see the Check for Updates facility uses the Windows Scheduler (which is great), but is it possible to get the application to invoke this check?
We need an application menu item for "Check for Update" that the user can invoke and I can't see how this can be done.
Thanks
Phil
Calling Check for Update from Application
Adding update button to your project
To add the update button to your project, create your own exe file which will read the registry key value at:
Path: \\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\[YourProjectTitle]
Value: ModifyPath
This value contains the path for the uninstall setup process.
Call it as a command line and pass the parameter (/update) with it.
this will run the Update functionality
And call this exe in your application.
This way you will have the update inside the application, and it will be a solution to the bug of disapearing Update shortcut in the start menu by using it as a link to the update instead of installaware link.
Path: \\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\[YourProjectTitle]
Value: ModifyPath
This value contains the path for the uninstall setup process.
Call it as a command line and pass the parameter (/update) with it.
this will run the Update functionality
And call this exe in your application.
This way you will have the update inside the application, and it will be a solution to the bug of disapearing Update shortcut in the start menu by using it as a link to the update instead of installaware link.
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
You can go ahead and edit the updates.mia update script to display a "no updates found" message box using the MessageBox MSIcode command. The default script quits silently if it does not find any updates but there is no reason why you cannot customize the script.
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: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
No, you need access to the MSIcode script for that.
We do have a CodeGear special upgrade offer, check the Resources menu inside your IDE at the welcome page.
We do have a CodeGear special upgrade offer, check the Resources menu inside your IDE at the welcome page.
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/
Who is online
Users browsing this forum: No registered users and 4 guests