Community Forums
Page 1 of 2 12 LastLast
Results 1 to 5 of 6

Thread: Where to put preqequisites for SAB installation?

  1. #1
    Join Date
    Jul 2011
    Posts
    56

    Where to put preqequisites for SAB installation?

    Hi I was naughty and had the professional installation of installshield on our build server and not just the standalone build software.
    I have since moved the GUI professional to my desktop and installed the SAB on the server. (licenced them both as well)
    The issue I have though with this is that we installShield is built it does not find the prerequsisites.

    I copied all the prerequsistes from
    C:\Program Files (x86)\InstallShield\2014\SetupPrerequisites
    to
    C:\Program Files (x86)\InstallShield\2014 SAB\SetupPrerequisites
    But it still does not find them... Where are they supposed to go?

    Error log output:
    Language English (United States) built
    ISDEV : error -6003: An error occurred streaming 'Microsoft Visual C++ 2010 SP1 Redistributable Package (x86).prq' into setup.exe
    ISDEV : error -7066: Your project contains a reference to the InstallShield prerequisite Microsoft Visual C++ 2010 SP1 Redistributable Packa
    ge (x86).prq; however, this file cannot be located. Either remove the InstallShield prerequisite from your project, or locate this file.
    ISDEV : error -6003: An error occurred streaming 'Microsoft .NET Framework 4.5.1 Full.prq' into setup.exe
    ISDEV : error -7066: Your project contains a reference to the InstallShield prerequisite Microsoft .NET Framework 4.5.1 Full.prq; however, t
    his file cannot be located. Either remove the InstallShield prerequisite from your project, or locate this file.
    Building .cab files...

  2. #2
    Join Date
    Jul 2011
    Posts
    56
    Looks like I fixed some errors (Windows Installers files) by the copy and paste but not C++ and .net for somereason. PLEASE HELP!

    Language English (United States) built
    ISDEV : error -6003: An error occurred streaming 'Microsoft Visual C++ 2010 SP1 Redistributable Package (x86).prq' into setup.exe
    ISDEV : error -7066: Your project contains a reference to the InstallShield prerequisite Microsoft Visual C++ 2010 SP1 Redistributable Package (x86).prq; however, this file cannot be located. Either remove the InstallShield prerequisite from your project, or locate this file.
    ISDEV : error -6003: An error occurred streaming 'Microsoft .NET Framework 4.5.1 Full.prq' into setup.exe
    ISDEV : error -7066: Your project contains a reference to the InstallShield prerequisite Microsoft .NET Framework 4.5.1 Full.prq; however, this file cannot be located. Either remove the InstallShield prerequisite from your project, or locate this file.
    ISDEV : error -6003: An error occurred streaming 'C:\Program Files (x86)\InstallShield\2014 SAB\SetupPrerequisites\Windows Installer\4.5\x64\Server2008\Windows6.0-KB958655-v2-x64.msu' into setup.exe
    ISDEV : error -6003: An error occurred streaming 'C:\Program Files (x86)\InstallShield\2014 SAB\SetupPrerequisites\Windows Installer\4.5\x86\Pre-Vista\WindowsServer2003-KB942288-v4-x86.exe' into setup.exe
    ISDEV : error -6003: An error occurred streaming 'C:\Program Files (x86)\InstallShield\2014 SAB\SetupPrerequisites\Windows Installer\4.5\x64\Pre-Vista\WindowsServer2003-KB942288-v4-x64.exe' into setup.exe
    ISDEV : error -6003: An error occurred streaming 'C:\Program Files (x86)\InstallShield\2014 SAB\SetupPrerequisites\Windows Installer\4.5\x64\Vista\Windows6.0-KB958655-v2-x64.msu' into setup.exe
    ISDEV : error -6003: An error occurred streaming 'C:\Program Files (x86)\InstallShield\2014 SAB\SetupPrerequisites\Windows Installer\4.5\x86\Server2008\Windows6.0-KB958655-v2-x86.msu' into setup.exe
    ISDEV : error -6003: An error occurred streaming 'C:\Program Files (x86)\InstallShield\2014 SAB\SetupPrerequisites\Windows Installer\4.5\x86\Pre-Vista\WindowsXP-KB942288-v3-x86.exe' into setup.exe
    ISDEV : error -6003: An error occurred streaming 'C:\Program Files (x86)\InstallShield\2014 SAB\SetupPrerequisites\Windows Installer\4.5\x86\Vista\Windows6.0-KB958655-v2-x86.msu' into setup.exe
    Building .cab files...

  3. #3
    Join Date
    Jul 2011
    Posts
    56

    ISProductFolder = C:\Program Files (x86)\InstallShield\2014 SAB?

    So the file
    C:\Program Files (x86)\InstallShield\2014 SAB\SetupPrerequisites\Microsoft Visual C++ 2010 SP1 Redistributable Package (x86).prq
    contains the following:

    <?xml version="1.0" encoding="utf-8"?>
    <SetupPrereq>
    <conditions>
    <condition Type="1" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}" FileName="" ReturnValue=""></condition>
    </conditions>
    <operatingsystemconditions>
    <operatingsystemcondition MajorVersion="5" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="1" ProductType="1" ServicePackMajorMin="1"></operatingsystemcondition>
    <operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion=""></operatingsystemcondition>
    <operatingsystemcondition MajorVersion="5" MinorVersion="2" PlatformId="2" CSDVersion="" ProductType="2|3"></operatingsystemcondition>
    <operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion="" ProductType="2|3"></operatingsystemcondition>
    <operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" ProductType="1"></operatingsystemcondition>
    <operatingsystemcondition MajorVersion="5" MinorVersion="0" PlatformId="2" CSDVersion="" ServicePackMajorMin="4"></operatingsystemcondition>
    <operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion=""></operatingsystemcondition>
    <operatingsystemcondition MajorVersion="6" MinorVersion="3" PlatformId="2" CSDVersion=""></operatingsystemcondition>
    </operatingsystemconditions>
    <files>
    <file LocalFile="&lt;ISProductFolder&gt;\SetupPrerequisites\VC 2010 SP1 Redist\x86\vcredist_x86.exe" URL="http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe" CheckSum="CEDE02D7AF62449A2C38C49ABECC0CD3" FileSize="0,4995416"></file>
    </files>
    <execute file="vcredist_x86.exe" cmdline="/q" cmdlinesilent="/q" returncodetoreboot="1641,3010"></execute>
    <dependencies>
    <dependency File="&lt;ISProductFolder&gt;\SetupPrerequisites\Windows Installer 3.1 (x86).prq"></dependency>
    </dependencies>
    <properties Id="{270b0954-35ca-4324-bbc6-ba5db9072dad}" Description="This prerequisite installs the Microsoft Visual C++ 2010 Service Pack 1 Runtime Libraries (x86)." AltPrqURL="http://saturn.installshield.com/is/prerequisites/microsoft visual c++ 2010 sp1 redistributable package (x86).prq"></properties>
    <behavior Reboot="2"></behavior>
    </SetupPrereq>

    The file is there in \SetupPrerequisites\VC 2010 SP1 Redist\x86\vcredist_x86.exe
    So what is "&lt;ISProductFolder&gt;\ ???
    ISProductFolder = C:\Program Files (x86)\InstallShield\2014 SAB?
    or something else?

  4. #4
    Join Date
    Jul 2003
    Location
    North Kingstown, RI, USA
    Posts
    1,356
    This is a couple of days old but there are a few options for you.

    Like you, I manually copy prerequisite stuff to the build server from my dev machine and use the format you indicate. However, this is not enough, as you discovered.

    In your registry, navigate to the following path:
    HKEY_LOCAL_MACHINE\SOFTWARE\InstallShield\23.0\Professional, or the appropriate version for 2014.
    Add two new string entries here.
    MMSearchPath
    PrerequisiteSearchPath

    Set the value for each to the appropriate values.
    Here is an example for MMSearchPath: C:\Program Files\InstallShield\2015 SAB\Objects,C:\Build\DEVPATH\working\building\Installer\MergeModules

    Note the comma separators for multiple paths.
    The paths for PrerequisiteSearchPath are paths to your .prq files. Files that I customize for our product line, such as SQL Server .prq files, I commit to source control. So I have multiple paths.

    If you do not want to use the registry option, you can lookup the command line options for building the project. You can insert the path to your .prq files there.
    Regards,
    Dan Lee

    Release Engineer

  5. #5
    Join Date
    Jul 2011
    Posts
    56

    Solved!

    Oh thank you very much DLee65 for the registry info!

    I did find them at
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\InstallShield\21.0\Professional\Project Settings
    the WOW6432Node part did make me have to search for PrerequisiteSearchPath to find it.

    I did mange to fix the issue by copying the prq files back into
    C:\Program Files (x86)\InstallShield\2014\SetupPrerequisites
    because i moved instead of copied from
    C:\Program Files (x86)\InstallShield\2014 SAB\SetupPrerequisites

    But now I know about the registry I am just going to update that so later on when I make changes to the SAB folder I know they will be used.

    So I guess the question is how come when I uninstalled the IDE and installed the Standalone it didn't update the registry values?
    The uninstall leaves the registry values I guess and the SAB installer didn't update existing ones. SAB and IDE must then use the same reg values.
    Well thats a trap when changing a computer form IDE to SAB.

    Saving this page for later.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •