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
- :
- Re: Upgrade Code?
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
‎Dec 18, 2008
12:43 PM
Upgrade Code?
I'm making a kind of generic app that launches various installation packages. One of the installations I need to launch was created using InsatllAnywhere. I want to detect the presence and version of any previous installtions. I do that for other installed apps by calling MsiEnumRelatedProducts with the "Upgrade Code" for the app in question.
Is there a way to find the Upgrade Code for the Install Anywhere app I already have (it's a single exe).
Is there another way to detect the presence and version of an app installed via InstallAnywhere?
Thanks for any feedback!
Is there a way to find the Upgrade Code for the Install Anywhere app I already have (it's a single exe).
Is there another way to detect the presence and version of an app installed via InstallAnywhere?
Thanks for any feedback!
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 18, 2008
03:37 PM
I was talking to the person that created the Install Anywhere installation I'm working with and they seemed unfamiliar with an "Upgrade Code". I've never used IA, so I didn't know where to ask him to look. Is there someplace in InstallAnywhere where the Upgrade Code can be found?
Thanks!
Thanks!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 18, 2008
03:48 PM
InstallAnywhere installations don't really have an equivalent to MSI's UpgradeCode property. Is there some other telltale sign you could search for, such as the product's Add or Remove Programs information, or a file with a given name and version or size?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 18, 2008
04:32 PM
Thanks Robert,
I'll ask the folks that made the install if they recommend something to look for.
But how does InstallAnywhere determine if it's doing an upgrade?
I'll ask the folks that made the install if they recommend something to look for.
But how does InstallAnywhere determine if it's doing an upgrade?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 18, 2008
06:06 PM
I don't know that InstallAnywhere has a specific upgrade mode; the current version of IA exposes an API for getting information about products installed using IA, but I gather that needs to be called from a running IA installer...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 19, 2008
08:33 AM
Thanks again Robert. You've saved me a lot of time.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 31, 2008
04:19 AM
Hi ,
I want to use MsiEnumRelatedProducts in my code.I have the upgrade code.Can you gimme a sample code as to how to make use of thsi function.
Amitha
I want to use MsiEnumRelatedProducts in my code.I have the upgrade code.Can you gimme a sample code as to how to make use of thsi function.
Amitha
table01 wrote:
I'm making a kind of generic app that launches various installation packages. One of the installations I need to launch was created using InsatllAnywhere. I want to detect the presence and version of any previous installtions. I do that for other installed apps by calling MsiEnumRelatedProducts with the "Upgrade Code" for the app in question.
Is there a way to find the Upgrade Code for the Install Anywhere app I already have (it's a single exe).
Is there another way to detect the presence and version of an app installed via InstallAnywhere?
Thanks for any feedback!
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)