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
- :
- Single Prerequisite Folder for Multiple Setups
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 26, 2011
06:34 AM
Single Prerequisite Folder for Multiple Setups
Hello!
In my company, we are deploying a single cd with multiple programs, all setups being created with installshield. Most of these programs use similar prerequisites (e.g. .NET Framework).
Currently, i have to deploy these prerequisites with every application, since the folder for the prereqisites is directly below the application setup folder.
This leads to the following structure on the CD:
Product 1
- Setup.exe
- ISSetupPrerequisites
Product 2
- Setup.Exe
- ISSetupPrerequisites
What i want now is to have ONE single folder with the prerequisites of all applications. The structure of my CD would be as follows:
Product 1
- Setup.exe
Product 2
- Setup.Exe
ISSetupPrerequisites
Is there any way to achieve this or is this impossible at all?
Thanks, Best Regards
Markus
In my company, we are deploying a single cd with multiple programs, all setups being created with installshield. Most of these programs use similar prerequisites (e.g. .NET Framework).
Currently, i have to deploy these prerequisites with every application, since the folder for the prereqisites is directly below the application setup folder.
This leads to the following structure on the CD:
Product 1
- Setup.exe
- ISSetupPrerequisites
Product 2
- Setup.Exe
- ISSetupPrerequisites
What i want now is to have ONE single folder with the prerequisites of all applications. The structure of my CD would be as follows:
Product 1
- Setup.exe
Product 2
- Setup.Exe
ISSetupPrerequisites
Is there any way to achieve this or is this impossible at all?
Thanks, Best Regards
Markus
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 27, 2011
09:46 AM
We use ISScript based projects, so it is kind of easy to do this.
for example, in the OnFirstUIBefore event, you can do the following
#define SD_PREREQS "Prereqs" // Make this the name of your pre-reqs dir
szPath = SRCDIR ^ SD_PREREQS;
CheckWinInstRedist(szPath);
CheckVCRedist(szPath ^ "vcredist_x86.exe");
CheckVCRedist(szPath ^ "vcredist_x86_08.exe");
/////////////////////////////////////////////////////////////////////////
// FUNCTION: CheckVCRedist
// PURPOSE: Check VC Redist
///////////////////////////////////////////////////////////////////////////////
function CheckVCRedist(szPath)
begin
LaunchAppAndWait(szPath, "/q", LAAW_OPTION_SET_BATCH_INSTALL | LAAW_OPTION_WAIT);
return 0;
end;
for example, in the OnFirstUIBefore event, you can do the following
#define SD_PREREQS "Prereqs" // Make this the name of your pre-reqs dir
szPath = SRCDIR ^ SD_PREREQS;
CheckWinInstRedist(szPath);
CheckVCRedist(szPath ^ "vcredist_x86.exe");
CheckVCRedist(szPath ^ "vcredist_x86_08.exe");
/////////////////////////////////////////////////////////////////////////
// FUNCTION: CheckVCRedist
// PURPOSE: Check VC Redist
///////////////////////////////////////////////////////////////////////////////
function CheckVCRedist(szPath)
begin
LaunchAppAndWait(szPath, "/q", LAAW_OPTION_SET_BATCH_INSTALL | LAAW_OPTION_WAIT);
return 0;
end;
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)