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
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: how do cache pre-requisite msi's?
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
‎Apr 21, 2015
05:35 PM
how do cache pre-requisite msi's?
how do cache pre-requisite msi's?
By default, my setup.exe uses "cache msi locally". It appears that the pre-requisites that I'm using do not obey the directory and put's it into the temp directory.
Is there a way to change the location of pre-requiste msi?
Thanks,
By default, my setup.exe uses "cache msi locally". It appears that the pre-requisites that I'm using do not obey the directory and put's it into the temp directory.
Is there a way to change the location of pre-requiste msi?
Thanks,
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 22, 2015
08:42 AM
This may depend on how much control you have over the prerequisites. The prerequisite itself will always use a temporary folder, but if they have their own setup.exe that will cache files, that may be able to do the caching you desire.
As an alternate approach, you can explore using a Suite/Advanced UI project or an Advanced UI project. In that case, the control over each package (including those you import from .prq files) will enable you to control caching from the main setup.exe. I tend to recommend going this direction if you can, but depending on how much UI you have in your project, this can be more of an investment than you have schedule for.
As an alternate approach, you can explore using a Suite/Advanced UI project or an Advanced UI project. In that case, the control over each package (including those you import from .prq files) will enable you to control caching from the main setup.exe. I tend to recommend going this direction if you can, but depending on how much UI you have in your project, this can be more of an investment than you have schedule for.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 23, 2015
01:29 PM
That is unfortunate.
I already know that the "repair" works for the pre-requisite msi's, when run standalone. Then "repair" function no longer works if I install the msi as a pre-requisite.
Seems odd that it should change this behavior when it already works in standalone. Isn't there an property that I can pass in to make repair work?
I already know that the "repair" works for the pre-requisite msi's, when run standalone. Then "repair" function no longer works if I install the msi as a pre-requisite.
Seems odd that it should change this behavior when it already works in standalone. Isn't there an property that I can pass in to make repair work?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 24, 2015
08:13 AM
What fails during the repair of the prerequisite? From the context of the question, I'm going to guess that it's due to the installation source files having been removed from the temp folder, which would bring us back to the two suggestions I made above.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 24, 2015
06:40 PM
yes, the prereq's msi is no longer in the temp directory. It appears that after my setup.exe runs, it deletes all temporary directories including the directories containing prereq installers.
I find the Installshield ui confusing, because it states that "the cached .msi file and other cached installations ....", which I would assume that it would put everything there including the prereq's msi's.
Does installshield look for a registry entry to find the location of the cached installer? If so, I could just set that and then copy the installer there.
I find the Installshield ui confusing, because it states that "the cached .msi file and other cached installations ....", which I would assume that it would put everything there including the prereq's msi's.
Does installshield look for a registry entry to find the location of the cached installer? If so, I could just set that and then copy the installer there.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 27, 2015
08:22 AM
Windows Installer looks for cached packages along its SOURCELIST, which you can modify. It's automatically populated with the location from which the .msi file is launched, which often works well, but %TEMP% is not a very useful location for this.