PDA

View Full Version : Vcredist x86 2013 prerequisite



toSilence
12-05-2013, 08:33 AM
Hello

do anyone know if the ccredist x86 2013 prerequisite for installshield is available now?

Thanks

BR

DLee65
12-05-2013, 09:20 AM
Can't you just create one using the redistributable from Visual Studio. I am assuming Visual studio includes the redistributable. You can create a new PRQ and point to the redistributable and setup the conditions for the install. If you do not have access to it, it should be available for download from here: http://www.microsoft.com/en-us/download/details.aspx?id=40784

tjohnson1
12-05-2013, 10:57 AM
Here is an article on how to create your own prerequisite in InstallShield: http://kb.flexerasoftware.com/doc/Helpnet/installshield20helplib/Content/helplibrary/SetupPrereqEditor.htm

toSilence
12-06-2013, 02:37 AM
Thanks for the quick response.

I created a new prerequisite based on the file from vcredist 2012 x86. I should also mention that we use Installshield 2010 and set our global "Installshield Prerequisites Location" = Download from the web

During install the setup told http://saturn installshield....2013.prq doesn't exist, which is right its still not existing. But if i delete the url the setup won't include the local install file (msi package) through my global setting.

But if i change the global prerequisite setting to "Follow Individual Selections" and tell each of my prerequisites to download by web, every download fails during installing setup. I think this is a bug.

So the only changes what we have now is to wait for an offical prerequisite, right?

Br

DLee65
12-06-2013, 11:35 AM
InstallShield will not have a PRQ file available for you, correct. But your install will include the PRQ file correct? Also, why would you want your PRQ file substituted with the PRQ file from InstallShield? That is basically what you are asking it to do. If you want you can host a PRQ file on your own web file server too and insert your own web page in this location provided. The PRQ file does not have to come from InstallShield.

I used to wonder about this field, basically it is a good way for you to host the PRQ file onsite. You can manage the PRQ file if you are downloading the file at your company. Then if something about the PRQ should change, like the download location for the file for instance, you can manually edit your PRQ, test the changes in a test environment, validate the changes, and then post to your production web environment. Then you do not have to rebuild your entire installer if the download location for the file changes for a file on Microsoft.com for instance.

Hopefully this makes sense.

Also, this is one point that caught me, if you customize your PRQ file, and use the download from web option; and do NOT change the AltPRQURL value then all of your customization is meaningless. The installer does not use your file, but instead does what you asked it to do. It downloads the default one from InstallShield and installs using the default settings. I fought for a week with a SQL Server 2012 Express download from the Web problem like this before I was set straight about what this value does. :)

DLee65
12-06-2013, 11:48 AM
If you want to download from the web for the file, you have to provide a valid web URL for the file. This is not the same as the PRQ file site. It has to be the same URL from which you download the file. I forget what that is right now. But in your prerequisite editor, there is a separate location to set. Under Files to Include click on the Modify button.
There is a file location and a URL to file.
For Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) the path is http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe
I am not sure what it will be for the file you are looking for. Look in your browser history, the path may be there. Or go back to the download page and see if you can get it there. But this is what you are looking for.

Hopefully this helps.

toSilence
12-09-2013, 04:21 AM
Hi
yes thank you. I already found the seperate location where to put my download url in. I downloaded the file and get the url with the tool fiddler.

I delete the path to .prq file.

Global setting: Download from the web
The setup try to download the package from the specified URL. The download works i can see it on the progress bar but after finish downloading the setup told me that the download of the prerequisite failed and it shows a dialog to choose: go on with the setup or end.

Global setting: Individual selection
The setup checks the prq file recognize its not existing and give me the same dialog as above. (without starting any download)


I think its a bug because it is only working correctly if you have an existing prq file (which i can see on my older prerequisite).

You are right if i would host and manage my own prq files i will get arround of this bug.

vinicius.arruda
05-17-2014, 10:14 AM
Hello,
I have exactly the same problem: I made a .prq file manually but it still doesn't works because I can't re-direct to Flexera's site. After one year with this issue, there's a prerequisite file available for VC++ 2013? Or any way to use my *prq on setup without download it from web? thanks!

luigi.bertozzino
06-12-2014, 04:31 AM
Create Microsoft Visual C++ 2013 Redistributable Package (x86).prq in
C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites

<?xml version="1.0" encoding="UTF-8"?>
<SetupPrereq>
<conditions>
<condition Type="1" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{ce085a78-074e-4823-8dc1-8a721b94b76d}" FileName="" ReturnValue=""></condition>
</conditions>
<operatingsystemconditions>
<operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion="" ServicePackMajorMin="2"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="1" ServicePackMajorMin="1"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion=""></operatingsystemcondition>
</operatingsystemconditions>
<files>
<file LocalFile="&lt;ISProductFolder&gt;\SetupPrerequisites\VC 2013 Redist\x86\vcredist_x86.exe" URL="http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe" CheckSum="C54A3EF830D176AEB6221B0BA2352A9F" FileSize="0,6499016"></file>
</files>
<execute file="vcredist_x86.exe" cmdline="/q" cmdlinesilent="/q" returncodetoreboot="1641,3010"></execute>
<properties Id="{340b0957-35ca-1324-bbc9-ba5db9082dad}" Description="This prerequisite installs the Microsoft Visual C++ 2013 Runtime Libraries (x86)." AltPrqURL="http://saturn.installshield.com/is/prerequisites/microsoft visual c++ 2013 redistributable package (x86).prq"></properties>
<behavior Reboot="2"></behavior>
</SetupPrereq>

for x64
Create Microsoft Visual C++ 2013 Redistributable Package (x64).prq in
C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites

<?xml version="1.0" encoding="UTF-8"?>
<SetupPrereq>
<conditions>
<condition Type="1" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{7f51bdb9-EE21-49ee-94d6-90afc321780e}" FileName="" ReturnValue=""></condition>
</conditions>
<operatingsystemconditions>
<operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion="" Bits="4" ServicePackMajorMin="2"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="4" ServicePackMajorMin="1"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion="" Bits="4"></operatingsystemcondition>
</operatingsystemconditions>
<files>
<file LocalFile="&lt;ISProductFolder&gt;\SetupPrerequisites\VC 2013 Redist\x64\vcredist_x64.exe" URL="http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe" CheckSum="C7187AC06DAFD0628587F86742945601" FileSize="0,7188536"></file>
</files>
<execute file="vcredist_x64.exe" cmdline="/q" cmdlinesilent="/q" returncodetoreboot="1641,3010"></execute>
<properties Id="{8G66a156-bc3b-579d-9703-65db354235dd}" Description="This prerequisite installs the Microsoft Visual C++ 2013 Runtime Libraries (x64)." AltPrqURL="http://saturn.installshield.com/is/prerequisites/microsoft visual c++ 2013 redistributable package (x64).prq"></properties>
<behavior Reboot="2"></behavior>
</SetupPrereq>

luigi.bertozzino
06-12-2014, 04:37 AM
Create in C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites
Microsoft Visual C++ 2013 Redistributable Package (x64).prq for x64

<?xml version="1.0" encoding="UTF-8"?>
<SetupPrereq>
<conditions>
<condition Type="1" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{7f51bdb9-EE21-49ee-94d6-90afc321780e}" FileName="" ReturnValue=""></condition>
</conditions>
<operatingsystemconditions>
<operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion="" Bits="4" ServicePackMajorMin="2"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="4" ServicePackMajorMin="1"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion="" Bits="4"></operatingsystemcondition>
</operatingsystemconditions>
<files>
<file LocalFile="&lt;ISProductFolder&gt;\SetupPrerequisites\VC 2013 Redist\x64\vcredist_x64.exe" URL="http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe" CheckSum="C7187AC06DAFD0628587F86742945601" FileSize="0,7188536"></file>
</files>
<execute file="vcredist_x64.exe" cmdline="/q" cmdlinesilent="/q" returncodetoreboot="1641,3010"></execute>
<properties Id="{8G66a156-bc3b-579d-9703-65db354235dd}" Description="This prerequisite installs the Microsoft Visual C++ 2013 Runtime Libraries (x64)." AltPrqURL="http://saturn.installshield.com/is/prerequisites/microsoft visual c++ 2013 redistributable package (x64).prq"></properties>
<behavior Reboot="2"></behavior>
</SetupPrereq>


Create in C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites
Microsoft Visual C++ 2013 Redistributable Package (x64).prq for x86

<?xml version="1.0" encoding="UTF-8"?>
<SetupPrereq>
<conditions>
<condition Type="1" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{ce085a78-074e-4823-8dc1-8a721b94b76d}" FileName="" ReturnValue=""></condition>
</conditions>
<operatingsystemconditions>
<operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion="" ServicePackMajorMin="2"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="1" ServicePackMajorMin="1"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion=""></operatingsystemcondition>
</operatingsystemconditions>
<files>
<file LocalFile="&lt;ISProductFolder&gt;\SetupPrerequisites\VC 2013 Redist\x86\vcredist_x86.exe" URL="http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe" CheckSum="C54A3EF830D176AEB6221B0BA2352A9F" FileSize="0,6499016"></file>
</files>
<execute file="vcredist_x86.exe" cmdline="/q" cmdlinesilent="/q" returncodetoreboot="1641,3010"></execute>
<properties Id="{340b0957-35ca-1324-bbc9-ba5db9082dad}" Description="This prerequisite installs the Microsoft Visual C++ 2013 Runtime Libraries (x86)." AltPrqURL="http://saturn.installshield.com/is/prerequisites/microsoft visual c++ 2013 redistributable package (x86).prq"></properties>
<behavior Reboot="2"></behavior>
</SetupPrereq>

Donwload vcredist_x86 da Microsoft and copy to C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites\VC 2013 Redist\x86
Donwload vcredist_x64 da Microsoft and copy to C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites\VC 2013 Redist\x64