This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Check if this is Upgrade
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2008
07:40 AM
Check if this is Upgrade
How do I know that some version of my product is already installed and ask user if he wants to upgrade or uninstall?
Thanks
Thanks
(8) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2008
07:42 AM
There are several ways to do it, but I guess the simplest way would be for the installer to write a registry key at the end of the installation and at the beginning of the installation it would check for the presence of the key.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2008
11:58 AM
What if installing on non Windows OS?
Best Regards,
Yves
Best Regards,
Yves
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2008
11:13 PM
pv7721 wrote:
There are several ways to do it, but I guess the simplest way would be for the installer to write a registry key at the end of the installation and at the beginning of the installation it would check for the presence of the key.
Is this key removed automatically during uninstall or I have also clear it manually?
Is there no build in feature to determine upgrade?
Could the "Query InstallShield Universal Software Information"
be of some help here or I do not uderstand the purpose of this action completely?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 06, 2008
02:34 AM
Ok, here is the update to my problem
I'm using now the "Find Component in Registry" to determine that the component is installed
It populates the $REG_COMPONENT_LOCATIONS$ var with some path, for example
"C:\AM\AgentManager\AgentManager.exe"
The part "AgentManager\AgentManager.exe" is well known. I'd like to take the prefix "C:\AM" and use it as value for $USER_INSTALL_DIR$
To avoid showing Select destination Panel and copy updated files to the old location.
Could I do it without creating custom action?
I'm using now the "Find Component in Registry" to determine that the component is installed
It populates the $REG_COMPONENT_LOCATIONS$ var with some path, for example
"C:\AM\AgentManager\AgentManager.exe"
The part "AgentManager\AgentManager.exe" is well known. I'd like to take the prefix "C:\AM" and use it as value for $USER_INSTALL_DIR$
To avoid showing Select destination Panel and copy updated files to the old location.
Could I do it without creating custom action?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 06, 2008
11:42 AM
I ran into this problem on Windows. I used the registry to keep track of what is installed. It then checks to see if certain registry keys exist already.
I'll eventually need to support other OS's besides Windows. I'm not sure the best approach. I guess we will need to somehow register our software with the OS. On HP, I thought there was a tool called SAM. (It's been a while since I worked with Unix, so I'm scratching my head.)
I was somewhat surprised that IA did not really handle this for us.
I'll eventually need to support other OS's besides Windows. I'm not sure the best approach. I guess we will need to somehow register our software with the OS. On HP, I thought there was a tool called SAM. (It's been a while since I worked with Unix, so I'm scratching my head.)
I was somewhat surprised that IA did not really handle this for us.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 21, 2008
12:22 AM
I am surprised too, I wonder why IA cannot work this out like IS, which can handle this by updating the minor version number.
I can see there is product version field in IA, if it is not used for this purpose, what is it used for?
I can see there is product version field in IA, if it is not used for this purpose, what is it used for?
ridch01 wrote:
I ran into this problem on Windows. I used the registry to keep track of what is installed. It then checks to see if certain registry keys exist already.
I'll eventually need to support other OS's besides Windows. I'm not sure the best approach. I guess we will need to somehow register our software with the OS. On HP, I thought there was a tool called SAM. (It's been a while since I worked with Unix, so I'm scratching my head.)
I was somewhat surprised that IA did not really handle this for us.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 25, 2008
04:40 PM
how to compare the versions?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 26, 2008
02:22 PM
(Follow-up of sorts about version comparisons [post=411560]here[/post].)
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)