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: Suite Pre-requisites
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
‎Sep 19, 2012
04:37 AM
Suite Pre-requisites
Another issue to address, I've got my custom actions working now on a development machine - but how do i get them to work on a "virgin machine"?
It feels a little chicken and eggish - i need a suite pre-requisite to install the VC 2011 runtime dlls and probably .NET 4.5 that my custom action dll is using...
Any ideas?
Regards,
/SiD
It feels a little chicken and eggish - i need a suite pre-requisite to install the VC 2011 runtime dlls and probably .NET 4.5 that my custom action dll is using...
Any ideas?
Regards,
/SiD
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 25, 2012
10:45 AM
Have you tried importing the prerequisite into your suite project? http://helpnet.flexerasoftware.com/installshield19helplib/helplibrary/SteImportPRQ.htm
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 26, 2012
02:50 AM
MichaelU wrote:
Have you tried importing the prerequisite into your suite project? http://helpnet.flexerasoftware.com/installshield19helplib/helplibrary/SteImportPRQ.htm
Hi Michael,
Unless i am mistaken, the importing of the prerequisite will not help me as this is to associate with a feature/package I need the prerequisites to allow me to make a decision as to which feature/package is available and since the prerequisites are only installed when the "install" button is clicked, cannot do this.
Regards,
/SiD
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 26, 2012
01:16 PM
Oh, I missed that critical part. Generally I compile my extensions and conditions and so forth using static libraries. This way they do not require the vc runtime to be on the target machine. My articles on the InstallTalk blog talk about making this configuration change in the Express edition of Visual Studio, and it's pretty similar in the full editions.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 27, 2012
02:28 AM
Thanks Michael.
I've ended up doing the following, convoluted as it may be, it seems to work - just need to work out the update procedure now.
1) Create a basic MSI installer that has no UI, pre-requisites of VC11 runtime and .NET 4.0 client. This installs 2 files - the ones used by my suite to check for SQL server and allows them to be COM registered as they use .NET framework from the custom action DLL via interop.
I include the suite and 2nd installer as additional files in the disk 1 folder.
Final custom action of launching the suite installer with no wait.
2) Suite installer can now run with a UI and use the custom action DLLs, safe in knowledge that they are properly registered. Depending on what it finds, an option to install a "first machine" or "client machine" are offered with a button press to select. The different buttons set the different feature requirements in my suite which then controls whether or not to install SQL server before launching my main application install.
I've added the billboards from the main installer to the progress screen in the suite as the main installer runs with no UI.
Suite does not register itself in add/remove programs.
3) main installer runs silently with a command line parameter indicating if it was a "server" or "client" install.
Simples!!
So what i now have left is
a) updates - i think i only need to worry about the main application at this point and can use FNC for this.
b) Ideally i would like to uninstall the "Helper" installation that started this all off at the end of installation.
Regards,
/SiD
I've ended up doing the following, convoluted as it may be, it seems to work - just need to work out the update procedure now.
1) Create a basic MSI installer that has no UI, pre-requisites of VC11 runtime and .NET 4.0 client. This installs 2 files - the ones used by my suite to check for SQL server and allows them to be COM registered as they use .NET framework from the custom action DLL via interop.
I include the suite and 2nd installer as additional files in the disk 1 folder.
Final custom action of launching the suite installer with no wait.
2) Suite installer can now run with a UI and use the custom action DLLs, safe in knowledge that they are properly registered. Depending on what it finds, an option to install a "first machine" or "client machine" are offered with a button press to select. The different buttons set the different feature requirements in my suite which then controls whether or not to install SQL server before launching my main application install.
I've added the billboards from the main installer to the progress screen in the suite as the main installer runs with no UI.
Suite does not register itself in add/remove programs.
3) main installer runs silently with a command line parameter indicating if it was a "server" or "client" install.
Simples!!
So what i now have left is
a) updates - i think i only need to worry about the main application at this point and can use FNC for this.
b) Ideally i would like to uninstall the "Helper" installation that started this all off at the end of installation.
Regards,
/SiD