Page 1 of 1
How the update process knows current client version
Posted: Wed Mar 23, 2011 9:20 am
by prasanth.nair
Hi,
I am creating a new update pack for my installer as in the help file. I am curious to know how the update process finds the current version of app installed on client machine.
Thanks
Prasanth Nair
Re: How the update process knows current client version
Posted: Wed Mar 23, 2011 10:02 am
by giaviv
Dear Prasanth,
The update process reads the current version from the following registry path: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ProductCode}\Version.
Re: How the update process knows current client version
Posted: Wed Mar 23, 2011 10:40 am
by prasanth.nair
Is this in MSI Code ?
Re: How the update process knows current client version
Posted: Wed Mar 23, 2011 11:18 am
by giaviv
No, its a part of the InstallAware engine that is not exposed in the MSIcode.
Re: How the update process knows current client version
Posted: Wed Mar 23, 2011 2:59 pm
by prasanth.nair
I am trying to create a shortcut using the below code.
Create Shortcut $STARTUPDIR$\ to $TARGETDIOR$\_ClientEgents\Atlas.WindowsAgent.exe
Here is error message :
Error during build: Unable to compile MSI action create/advertised shortcut.
Any idea about this ?
Re: How the update process knows current client version
Posted: Wed Mar 23, 2011 3:03 pm
by bokkie
prasanth.nair wrote:I am trying to create a shortcut using the below code.
Create Shortcut $STARTUPDIR$\ to $TARGETDIOR$\_ClientEgents\Atlas.WindowsAgent.exe
Here is error message :
Error during build: Unable to compile MSI action create/advertised shortcut.
Any idea about this ?
Perhaps it was a copy and paste error but did you mean
TARGETDIR and not
TARGETDIOR?
Re: How the update process knows current client version
Posted: Thu Mar 24, 2011 8:03 am
by prasanth.nair
Figured out.I didnt provide the Link Name. Thanks again...
Re: How the update process knows current client version
Posted: Thu Mar 24, 2011 1:01 pm
by giaviv
Great! Good luck

Re: How the update process knows current client version
Posted: Fri Mar 25, 2011 9:51 am
by prasanth.nair
I need to add the app in start up for all users and it has to check for updates when ever I start the app. I dont want to use the scheduled tasks for updates.changed the project properties to Manual update checking and following the same steps provided with
http://www.installaware.com/blog/?p=12
I can not see the short cut in all users folder and also in my start up folder.
Re: How the update process knows current client version
Posted: Fri Mar 25, 2011 11:39 am
by giaviv
Dear prasanth.nair,
Please follow up on your other thread - thanks.
Re: How the update process knows current client version
Posted: Fri Apr 01, 2011 7:23 am
by giaviv
Dear Prasanth,
I have been advised that I was mistaken - the values you were asking about before are hard-coded into the installation binary, and is not read from the registry.