What does it mean when Installshield's prerequisite fails with error "Prerequisites returning 2"? - installshield

I am using revenera InstallShield 2021. I've added a new pre-requisite ReportViewer 2015 which needs to be installed first. The installer installs the pre-requisite fine but fails with "Prerequisites returning 2". When I install the prerequisite as a standalone it installs fine without any issues. I tried to find what it means by "prerequisites returning 2" but didn't get any help even from the InstallShield's documentation.
Below is the error detail. Please let me know what is wrong with it.
Note: This only happens when a previous version of Report Viewer is installs and Report Viewer 2015 tries to update it.

Related

Silent installation msi

0x80070652 - when installing VS 2012 C++ redistributables.
Hi All,
I have a weird issue for the last few days now, i've been looking for a solution in the forums, google etc.
So far, couldn't find a similar problem:
Scenario:
I have an "Basic MSI" project that deploy our company product.
everything worked OK till i needed to add installation of VS 2012 C++ redistributables.
i'm using the installscript to initiate a command line for installing it quietly - 'vcredist_x64.exe /q'.
if the custom action is being added to the execute sequance, the following error is coming from the "VS 2012 C++ redistributables. -
ERROR 0X80070652: ERROR_INSTALL_ALREADY_RUNNING.This error is due to Another installation is already in progress. Complete that installation before proceeding with this install.
if running it manually, regardless to the IS installation, everything is working perfectly.
Also, when the custom action is on the UI sequance - works great. - i cannot leave it on the UI sequance, since our product is being deployed quietly along with our product client.
I've been trying to change into a different project type - "installscript MSI"... Same error.
Please advise, thanks for any inputs.
Short Answer: You can't run this executable from inside your MSI for technical reasons, you should run them in sequence instead. First the executable, then your MSI (batch file or manually). Or you should make an executable that runs them in sequence (WiX Bundle for example).
VCRedist: The VS 2012 C++ redistributable vcredist_x64.exe is a WiX Bundle with a couple of MSI files inside. You are not allowed to run embedded / nested MSI files concurrently with the main MSI installation. Simple explanation here. Inline explanation: This is because MSI files install as a transaction that is supposed to be possible to roll back. Hence the file installation sequence locks the system to prevent other MSI files installing when one is already in progress.
Extract: You can extract a WiX bundle using the WiX toolkit's dark.exe: dark.exe /x D:\VCRedist vcredist_x64.exe. WiX toolkit must be installed and dark.exe must be in the path or you must specify its full path.
Setup.exe: The solution is to run the MSI files in sequence inside a setup.exe bundle created with WiX, Installshield (see link for sample screenshot - more on suite projects here), Advanced Installer or a similar setup creation tool. Another approach is to simply deliver the runtime next to your installer and install them in sequence with a batch file or even by instructing the user to do so.
Merge Modules: Most VCRedist versions have merge modules that you can use to install the runtime (as opposed to setup executables). WiX sample. These are merged into your own MSI at build time and hence feature no nested MSI processes. There are some issues with merge modules and recent VCRedist versions.
Links:
The latest supported Visual C++ downloads
Detect VC runtime presence
Similar answer

Installshield 2010 fails to install

I'm having problems installing InstallShield. ~ halfway in I get the following error messages and I can't seem to find any information on this. There are information about similar errors when deploying an own application but I do not find anything for the instalation om InstallShield.
The same error message (at least same info) appears if I try to install a free trial for Installshield 2014 from the company's website as well...
Thanks in advance for any aid.
I'll add the answer in case the link breaks at some point and to ensure the question is marked answered.
When you try to install the .NET Framework, you receive an error 1935 (assembly install failure) error message if Mscoree.dll is in use before you start Setup.
This behavior occurs because Mscoree.dll is held in use for 10 minutes after you install (or remove) the assemblies. When you start another install, the installer tries to load its own version of Mscoree.dll to install the assemblies for the new program. Because another version of Mscoree.dll is already loaded, the failure occurs.
Rebooting will release whatever lock is on mscoree.dll (Microsoft .NET Common Object Runtime Execution Engine - the engine that loads and executes assemblies containing Common Intermediate Language). For more information on this file read the first answer here.

VS 2012 project references all missing-- troubleshooting techniques?

I've downloaded a straightforward VS 2012 solution and for some reason am having trouble with the references in it-- they're all marked with yellow exclamation points, even core .Net libraries.
This isn't a problem in any of my other VS 2012 projects. I've scrubbed and redownloaded the solution several times, each with the same result.
I'm using VS 2012 Professional, update 3, and I have the .Net 4.5 runtime installed. So I think I'm caught up on the latest platform and tools.
I updated all the NuGet packages in the solution but that didn't help. Would anyone know what I can look at to see where the problem is? (I downloaded this same solution on another box and have no problems whatsoever. Both machines are running Windows 7.)
Popped open the Solution and got the following errors:
Warning 2 The command ""C:\****************\Downloads\PluralsightSpaJumpStartFinal-master\PluralsightSpaJumpStartFinal-master\.nuget\nuget.exe" install "C:\*************\PluralsightSpaJumpStartFinal-master\PluralsightSpaJumpStartFinal-master\SPAJumpStart\packages.config" -source "" -RequireConsent -o "C:***************\PluralsightSpaJumpStartFinal-master\PluralsightSpaJumpStartFinal-master\packages"" exited with code 1. SPAJumpStart
Warning 1 Package restore is disabled by default. To give consent, open the Visual Studio Options dialog, click on Package Manager node and check 'Allow NuGet to download missing packages during build.' You can also give consent by setting the environment variable 'EnableNuGetPackageRestore' to 'true'. SPAJumpStart
Looks like the references are tied into a custom nuget package, including the normal .net 4.5 references. Enabling the 'EnableNuGetPackageRestore' option should fix the issue.

Installshield 2010 - On upgrade check its already upgraded to certain version

I'm currently updating my installer (Basic MSI) for a program to v5.00.0000. I need InstallShield to check that if it's an upgrade, it must be on at least 4.00.0034.
So if it's not previously installed, it installs ok.
If it's on 4.00.0020, it must return a message to say please upgrade to v4.00.0034 first.
Thanks,
Ian.
Examine the ISPreventDowngrades action and the major upgrade item that finds newer versions, or read up on how to prevent downgrades. You can then copy this approach, tweaking it to instead find and error out on ones less than 4.0.34.

Can I solve the error TF253022 (You must update your client with the Forward Compatibility Update) on a build server without installing VS2008?

This is a build server running Cruise control version 1.6.7981.1.
I am basically running a test by pointing an existing (seldom used CC build) to our new TFS 2010 server.
This fails with the error listed in the title.
I am clearly missing a step or two...
I assume that CC must be using TF.exe for source control access? And it must be using the 2008 version. And the update adjusts this somehow? Or performs some other update? Maybe I can do whatever the update is doing myself? Or configure CC to use the 2010 version of TF.exe?
Maybe it's just a question of installing the 2010 client tools (and hopefully this is backwards compaitble). I am trying that next.
I don't know much about CC but the forwards compatibility update is for Team Explorer, which contains a subset of the VS IDE. There are 2 versions one for 2005 and one for 2008. I'd check in "Add remove programs" to see which version is installed. You'll need to make sure that either VS 2005 SP1 or VS 2008 SP1 is installed (depending on which version of Team Explorer is installed) before installing the update.

Resources