Hi there.
I would like to have my application force the install aware installation to check for updates when the application loads.
If an update is found, i would like to force the download and the update.
i understand that i can call the setup exe with /update but i'm not sure what path the setup will be after the install. is there a registry setting somwhere that points to the setup exe.
also what would the command line be... /update /force or something like that?
My application to tigger installaware update.
-
- Site Admin
- Posts: 364
- Joined: Mon Jul 30, 2007 11:51 am
- Location: USA
- Contact:
the /update parameter checks the update.ini at the URL you specified at build time, if it finds an update, it will download it and installe it, you don't need to know the location of the exe setup. Also, if you specify to run the update silently it will kind of force it.
Alejandro Ronquillo
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/
During install, you have to write to the registry (or a text file, whatever you want) the $UNINSTALLLINK$ which is the full path where the update wrapper lies.
Then you have to resolve from your application what the path is, and launch it, although i don't think it's a good idea to do it like this. Because if an update exist and it needs to update your .exe file, it won't be able, as your .exe file will be running.
I have an update script ready, i've developed it for another client as consulting service. You can contact me and purchase the script also. PM me if you want. That script checks for updates and THEN launches the application, not vice versa.
Then you have to resolve from your application what the path is, and launch it, although i don't think it's a good idea to do it like this. Because if an update exist and it needs to update your .exe file, it won't be able, as your .exe file will be running.
I have an update script ready, i've developed it for another client as consulting service. You can contact me and purchase the script also. PM me if you want. That script checks for updates and THEN launches the application, not vice versa.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
InstallAware Software Corporation
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
InstallAware Software Corporation
Who is online
Users browsing this forum: Google [Bot] and 71 guests