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: Install prerequisite at initialization
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
‎Oct 22, 2007
12:02 PM
Install prerequisite at initialization
I have a custom action to validate my serial number through a DLL. This DLL require MS C++ runtime merge module. These runtime are included in my project, but associated to a feature. When I validate the serial, the feature are not installed yet, so, the runtime are not installed. How may I install the MS C++ runtime library before doing anything?
Thanks,
Thanks,
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 22, 2007
10:04 PM
Here is an article that I wrote describing how to deploy .NET framework as a prereq. The concept is the same you'll just have to follow the process againt the correct C++ package from Microsoft.
http://blog.deploymentengineering.com/2006_11_01_archive.html
http://blog.deploymentengineering.com/2006_11_01_archive.html
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 23, 2007
06:57 AM
Thanks a lot for this answer. It seem to be exactly what I want. I'll give it a try and keep you updated here.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 23, 2007
08:56 AM
Hi,
I tried to build a setup prerequisite with the vcredist package, but I had a hard time finding the install conditions. While googling the subject, I found an easier solution. Since my serial validation dll is very simple, it only require the msvcr80.dll file and its manifest. So, I included these two file along my serial validation dll in the SUPPORTDIR. That way, I don't need to have the whole package installed before the setup. The files are copied there and deleted after install.
Thanks !
I tried to build a setup prerequisite with the vcredist package, but I had a hard time finding the install conditions. While googling the subject, I found an easier solution. Since my serial validation dll is very simple, it only require the msvcr80.dll file and its manifest. So, I included these two file along my serial validation dll in the SUPPORTDIR. That way, I don't need to have the whole package installed before the setup. The files are copied there and deleted after install.
Thanks !
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 23, 2007
09:01 AM
You can probably also consider statically linking the dependency also. And if it's a really simple check, maybe just port the C++ over to InstallScript.