Hello,
Is there a way to extract dependency (or pre-requisite) information from an MSI file before runtime ?
Regards,
Tommy
Static dependency scan
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Static dependency scan
Dear Tommy,
honestly, I'm not quite sure to follow your question.
can you try to describe it a little more?
Regards
honestly, I'm not quite sure to follow your question.
can you try to describe it a little more?
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Static dependency scan
In which MSI table the prerequisites information is stored, after you select Application Runtimes ?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Static dependency scan
Dear Tommy,
Application runtimes are not stored within the MSI database.
They are part of the setup package, but not part of the installed product.
Regards
Application runtimes are not stored within the MSI database.
They are part of the setup package, but not part of the installed product.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Static dependency scan
Hello,
I understand but where are stored the PRELIST or PREREQ for example ?
Regards,
Tommy
I understand but where are stored the PRELIST or PREREQ for example ?
Regards,
Tommy
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Static dependency scan
Dear Tommy,
these are not stored anywhere ... the setup package executes the runtime scripts installation if required.
Regards
these are not stored anywhere ... the setup package executes the runtime scripts installation if required.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Static dependency scan
Hello Francesco,
Anyway, somehow the package must be aware of what pre-requisite packages it needs, right ?
I just have a final clue remained that the logic - to decide what pre-requisites needs to be installed - resides in the bootstrapper.
If so, how can I examine a single bootstrapper to figure out what pre-requisites it needs ?
I have an additional question:
Is there a way in IA 18 to specify a propriatery MSI package as an Application Runtime to define it as a pre-requisite ?
I am asking this because under the "Software Requirements" section there is no way to define that. (merely OS, IE, IIS)
Regards,
Tommy
Anyway, somehow the package must be aware of what pre-requisite packages it needs, right ?
I just have a final clue remained that the logic - to decide what pre-requisites needs to be installed - resides in the bootstrapper.
If so, how can I examine a single bootstrapper to figure out what pre-requisites it needs ?
I have an additional question:
Is there a way in IA 18 to specify a propriatery MSI package as an Application Runtime to define it as a pre-requisite ?
I am asking this because under the "Software Requirements" section there is no way to define that. (merely OS, IE, IIS)
Regards,
Tommy
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Static dependency scan
Dear Tommy,
Application runtime installations are simply handled by your main script ... doesn't exist anything else.
If you create a new test project from scratch and then you add a runtime prerequisite to it, you will see that at least two new runtime scripts ( ... this depends on the selected runtime) will be automatically added to your project. Just switch to MSI view in IA IDE to very it.
These runtime scripts execute the effective runtime package verification (the check runtime script) and installation (setup runtime script) respectively.
I suggest you to have a look at the document "Extending the Application Runtimes View" ... where this mechanism is clearly described.
http://www.installaware.com/publications-whitepapers.htm
Hope this helps you.
Regards
Application runtime installations are simply handled by your main script ... doesn't exist anything else.
If you create a new test project from scratch and then you add a runtime prerequisite to it, you will see that at least two new runtime scripts ( ... this depends on the selected runtime) will be automatically added to your project. Just switch to MSI view in IA IDE to very it.
These runtime scripts execute the effective runtime package verification (the check runtime script) and installation (setup runtime script) respectively.
I suggest you to have a look at the document "Extending the Application Runtimes View" ... where this mechanism is clearly described.
http://www.installaware.com/publications-whitepapers.htm
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Static dependency scan
Hello Francesco,
Okay, I understand there is no data, just code.
Let's say, you create package A and B. Is there a way in IA 18 to define package B as a pre-requisite in package A project settings ?
I am asking this because under the Software Requirements section there is no way to define that. (merely OS, IE, IIS)
Regards,
Tommy
Okay, I understand there is no data, just code.
Let's say, you create package A and B. Is there a way in IA 18 to define package B as a pre-requisite in package A project settings ?
I am asking this because under the Software Requirements section there is no way to define that. (merely OS, IE, IIS)
Regards,
Tommy
Re: Static dependency scan
Hello,
Okay, the appropriate RTM + MIA files should be created the following folder in order to be offered by IDE automatically.
<INSTALLDIR>\runtimes
This is a much different approach that an individual can imagine since the MSI schema offers no dependency data.
Can I just have one more question, would it be possible to forge this pre-requisite management without having a bootstrapper ?
Regards,
Tommy
Okay, the appropriate RTM + MIA files should be created the following folder in order to be offered by IDE automatically.
<INSTALLDIR>\runtimes
This is a much different approach that an individual can imagine since the MSI schema offers no dependency data.
Can I just have one more question, would it be possible to forge this pre-requisite management without having a bootstrapper ?
Regards,
Tommy
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Static dependency scan
Dear Tommy,
if you want it is also possible to simply run a third party installer package by using the "Run Program" command and eventually, you can even create a custom script for that task (... and the script can be shared with your other project as well). Obviously with this approach, it will be not available within the IA IDE ... as instead is possible using the "Extending the Application Runtimes View" approach.
I am not sure to follow your question ... probably you mean the possibility to run a third party installer package, as told you in first part of my reply and without the "Extending the Application Runtimes View" approach.
Regards
if you want it is also possible to simply run a third party installer package by using the "Run Program" command and eventually, you can even create a custom script for that task (... and the script can be shared with your other project as well). Obviously with this approach, it will be not available within the IA IDE ... as instead is possible using the "Extending the Application Runtimes View" approach.
Can I just have one more question, would it be possible to forge this pre-requisite management without having a bootstrapper ?
I am not sure to follow your question ... probably you mean the possibility to run a third party installer package, as told you in first part of my reply and without the "Extending the Application Runtimes View" approach.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Static dependency scan
Hello,
Thank you for your guidance.
Regards,
Tommy
Thank you for your guidance.
yes the pre-requisite check code and even the pre-requisite installation logic is part of the setup exe
Regards,
Tommy
Re: Static dependency scan
Hello Francesco,
Is there a similar way like InstallShield provides that the author can edit directly the MSI database in design time ?
I would like to add custom tables to my MSI DB to specify necessary pre-requisite packages {GUID} and its version numbers, so that later I could figure out that particular package's own dependencies prior run time.
Regards,
Tommy
Is there a similar way like InstallShield provides that the author can edit directly the MSI database in design time ?
I would like to add custom tables to my MSI DB to specify necessary pre-requisite packages {GUID} and its version numbers, so that later I could figure out that particular package's own dependencies prior run time.
Regards,
Tommy
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Static dependency scan
Dear Tommy,
it is not possible and honestly I believe it is also unnecessary ( ... but probably we don't share the same opinion).
Regards
it is not possible and honestly I believe it is also unnecessary ( ... but probably we don't share the same opinion).
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Static dependency scan
Hello Francesco,
It could be you are right, I would not like to judge this from any perspective. Though, how can you store custom information into an MSI database ?
Regards,
Tommy
It could be you are right, I would not like to judge this from any perspective. Though, how can you store custom information into an MSI database ?
Regards,
Tommy
Who is online
Users browsing this forum: JohnGaver and 65 guests