I am using InstallShield 2010.
Due to recent application update we have to ship and install Visual Studio 2012 Redistributable package to the clients.
I've done many setups with prerequisites, some of then had redistributables, some not, but its the first time i needed to include VS2012 Redist.
After i created a prerequisite file and pointed to the redist file, added the command line options /q /norestart, i then tested this on windows XP (virtual machine), at first it seems fine, install shield showed that i needed the package installed, so ok, clicking next shows how it extracts the file and then start installing. Right after installation of the redistributable finishes, whole install shield closes out and nothing continues. So basicaly, redist got installed, but not my application.
What could be the cause of this? Why is redistributable closing installation? How could i fix this without forcing a user to install redist package manualy?
Chances are the reboot settings of the prerequisite aren't quite right. It sounds like it's detecting a required reboot which the .prq claims the redistributable will have already asked about, so InstallShield is just exiting to let the reboot occur. You should be able to confirm this by logging setup.exe with /debuglog. And if so, the fix will be to edit the reboot settings on the behavior tab.
Related
In some machines installing Visual C++ 2015-2019 Redistributable requires PC reboot. However, if we
1)Install Redistributable
2)Reboot
3) Remove Redistributable
4) Try to install it again
It doesn't require a reboot on the second attempt of installation. In addition, in some cases it doesn't require reboot even on the first attempt to install it. It looks that it depends not on Redistributable itself but on some KB update or something like that.
It's pretty important for me to reproduce the "reboot required" environment for Installer debugging purposes. Maybe someone knows how it works and how I can reproduce "reboot required" situations.
I have recently installed Tizen Studio 3.3 (web-ide_Tizen_Studio_3.3_windows-64.exe) and also install all necessary packages through Package Manager. After the process of installation had finished, I tried to launch Device Manager and Emulator Manager, but failed because of the system Error: "The code execution cannot proceed because MSVCP120.dll was not found. Reinstalling the program may fix this problem".
However, this file exists in the folder C:\Windows\system32 and all versions of Microsoft Visual C++ Redistributable Versions are installed.
Please, help me to overcome this issue. Thank you in advance.
Overall, I have found out how to deal with this problem.
First of all, I had to totally reinstall Microsoft Visual C++ 2013 Redistributable. Thanks 'magicandre1981' for this kind of hint. It helps me to get rid of this kind of error:
https://sun9-65.userapi.com/c854124/v854124694/1151cf/ZnvZokiCCoM.jpg
As for unsuccessful launching of Device Manager, where nothing happens after it has been clicked, I overcome this problem by changing the path from 'C:\Program Files\Java\openjdk-13_windows-x64_bin\jdk-13\bin' to 'C:\Program Files\Java\jdk1.8.0_221\bin' in Environment Variables.
You need to install Visual C++ Redistributable Packages for Visual Studio 2013 (x86)
https://www.microsoft.com/en-us/download/details.aspx?id=40784
Reinstall the vcredist_x86.exe even if you have 64-bit system. This solution also fix Tizen Studio 4.6 Device Manager.
The solution is to update Visual C++ Redistributable Packages for
Visual Studio. You can do it by the link
"microsoft.com/en-GB/download/details.aspx?id=40784". Recomendation:
install vcredist_x86.exe even if you have 64-bit system. This will fix
the problem.
Moreover, check if you have no spaces in folder name, where you are
installing SDK. The installation can be complited successfully, but
you will catch errors like "can't resolve path", because of spaces.
Thats confusing.
Reference: https://developer.tizen.org/forums/sdk-ide/missing-msvcr120.dll-v3.1-emulator
According to my experience, device manager and emulator manager was not working on open jdk11, 12, 13.
I have tried for several days and contacted with samsung developer support.
They asked me to install oracle jdk8, I did.
Now it is working well.
Hope it help to somebody who having such an issue.
I am using visual studio 2017 Pro along with InstallShield Lite. I have set a prerequisite to install c++ 2017 distributables(x86).
The problem is, that install shield, specifies a command of /q/noreboot. Notice that there is no space between /q and /noreboot.
The consequence of this is that your installation program will give an error on the installation of the redistributable under all circumstance.
For example, if the redistributable is not installed, it will actually install it but then give an error that the install failed. In fact it has installed it. If it is installed already or there is a higher version it will not install it but also give the same message that it has failed. This is confusing for the end user of the application since he always has to specify to continue anyways. On the other hand, if you have the space /q /noreboot it always works perfectly fine and doesn't give an error (at least with testing at a command line outside of InstallShield. So the question is how can one modify the command line for the prerequisite in Visual Studio Lite?
Thanks
I'd say that the redistributable is added via .prq file. You can directly edit the .prq file for the required redistributable. It can be found in the InstallShield installation folder by default c:\Program Files (x86)\InstallShield\2018\SetupPrerequisites\ and then re-add the redistributable.
The behavior exists on all computers. I have finally determined this to be a bug in Installshield LE which has existed since 2010 and still exists in LE 2018.
However, there is a solution in the .prq file if you add a flag in the behavior tag so that it now includes the "Hidden="1" parameter, the prerequisite will install fine if not present, not install if it or a newer version exists, and not complain to the end user. In other words it installs silently like it is supposed to.
I am building a setup in VS2012 - installshield.
I have to upgrade the version of my application and create a new installer.
I changed the product version and update the version of my application and setup too. (they where 2.0.2.0 now are 2.0.3.0).
The installation works correctly and the updates seem to work (2.0.2.0 does not exist anymore and 2.0.3.0 is installed) but it happens that myapplication.exe after the msi is launched is erased!
Only if I run the msi another time in repair mode the .exe is added.
I would like that the installation will keep the exe without this boring second step.
I answer my own question.
I naively just forgot to set the compile mode from debug to release; so the compilation worked but I had this side effect.
I am using Windows 8 64 bit machine with VS 2012 ultimate. After installing Update 3 and restarting the machine, I get following error whenever I try to open VS.
---------------------------
devenv.exe - System Error
---------------------------
The program can't start because MSVCR110.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------
The said file is already present in C:\Windows\System32 folder. Please let me know what can be done here..don't want to reinstall that monster again.
You need to check where your projects are being loaded. I have VS installs under both x86 and 64. You'll need downloads for both on a 64 bit operating system.
http://www.microsoft.com/en-us/download/details.aspx?id=14632
http://www.microsoft.com/en-us/download/details.aspx?id=30679
Please see:
http://social.msdn.microsoft.com/Forums/vstudio/en-US/d081943f-fbe8-4a28-b8c0-d83ded9b1a67/msvcr100dll-missing
Some basic tips:
Ensure you have run the install with Administrator rights.
VS won't always ask for a computer restart. However, reboot your computer.
A note about this update.
Note Visual Studio and Team Foundation Server (TFS) installation
mechanics are different. The Visual Studio update installs on top of
whatever is already installed on the computer. The TFS update is a
full layout that replaces whatever is installed on the computer.
Before you try to apply the TFS update, make sure that you have a full
backup of your current databases. If the TFS update installation
fails, you will be unable to restart the update or roll back to the
earlier version of TFS without performing a restore procedure.
http://support.microsoft.com/kb/2835600
If you get this error it means you don't have Microsoft Visual C++ Redistributable 2012 Update 3.Try to download it from http://www.microsoft.com/en-us/download/details.aspx?id=30679 .Hope this helps.
Since it is a 64bit system, copying the missing file to the C:\Windows\SysWOW64 folder should solve your problem. If it keeps failing for other dll just keep copying.
With same error (MSVCR110.dll not found) really reinstalled Microsoft Visual C++ Redistributable 2012 not solved all problems. Some VS tools report - not found msvcr110_clr0400.dll. After repair installation of .net 4.0 (or 4.5/4.5.1) all work fine.