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 installer using IA8.0 enterprise
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
‎Mar 26, 2008
09:45 AM
upgrade installer using IA8.0 enterprise
I am using IA8.0.1 enterprise
i have a installer with version 1.0.0.0
I want to use the same project file (.iap_xml) to do my upgarde install,
i want to be able find the existing instalation and compare the version to see if it is upgrade or downgrade. if it is upgrade ( i will set a IA variable to indentify this) install the newer files and want to skip some of my post install actions (used only for first time install) . if it is downgrade i will have to do diff. sql scripts. is that possible with IA?
i can find the version that i am installing and one on the system. any version comparison tool available?
also we have ebuild process that i want to modify the version without having to open the project file using an IDE.
thanks
i have a installer with version 1.0.0.0
I want to use the same project file (.iap_xml) to do my upgarde install,
i want to be able find the existing instalation and compare the version to see if it is upgrade or downgrade. if it is upgrade ( i will set a IA variable to indentify this) install the newer files and want to skip some of my post install actions (used only for first time install) . if it is downgrade i will have to do diff. sql scripts. is that possible with IA?
i can find the version that i am installing and one on the system. any version comparison tool available?
also we have ebuild process that i want to modify the version without having to open the project file using an IDE.
thanks
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 26, 2008
02:21 PM
For one approach to the version-comparison question, perhaps see [post=411560]this post[/post].
As for modifying the project file outside the graphical designer, did the contents of the "XML Project File Tools" subdirectory of the IA distribution help?
As for modifying the project file outside the graphical designer, did the contents of the "XML Project File Tools" subdirectory of the IA distribution help?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 27, 2008
10:49 AM
thanks for the version comparison post.
as far as the xml file changes, the tools asks us to use the ms xml or saxen
unfortunately we dont have them in the ebuild server or we can not install also.
as far as the xml file changes, the tools asks us to use the ms xml or saxen
unfortunately we dont have them in the ebuild server or we can not install also.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 27, 2008
11:31 AM
The Readme file in that directory lists other XSL processors; are any of them available, or can your build process include them?
Otherwise, it takes a bit of caution and care, but you could presumably perform direct text substitution on the project file. Naturally the specifics depend on what text processor you use.
Otherwise, it takes a bit of caution and care, but you could presumably perform direct text substitution on the project file. Naturally the specifics depend on what text processor you use.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2008
02:08 PM
>also we have ebuild process that i want to modify the version without
>having to open the project file using an IDE.
Us too. I followed the instructions in XML Project File Tools\README.html for ia_project_info.xsl to look at the Installer Properties section that gives "a listing of the installer properties that are modifiable with the ia_chg_prop.xsl transform". But, (a) Version isn't listed, and (b) the EXAMPLE for ia_chg_prop.xsl, productName, isn't listed either!
Despite not being listed, the example does work (though it loses all the comments in the xml file, and some of the CDATA's of empty strings. Maybe this doesn't matter.) Sadly, though, I fear the version number will not be so easy, as it is not just a string:
>having to open the project file using an IDE.
Us too. I followed the instructions in XML Project File Tools\README.html for ia_project_info.xsl to look at the Installer Properties section that gives "a listing of the installer properties that are modifiable with the ia_chg_prop.xsl transform". But, (a) Version isn't listed, and (b) the EXAMPLE for ia_chg_prop.xsl, productName, isn't listed either!
Despite not being listed, the example does work (though it loses all the comments in the xml file, and some of the CDATA's of empty strings. Maybe this doesn't matter.) Sadly, though, I fear the version number will not be so easy, as it is not just a string:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 15, 2008
01:02 PM
uh oh. It apparently wasn't OK what the XSL file did to my project. Because now when I look at the folders which have been created, the top level says "foo\null" instead of "foo" for the source path. Maybe this will be OK in practice, but it looks very scary.