Jan 17, 2023
05:20 AM
I added VC++ 64 bit runtime prerequisite to my InstallShild project. File VC_redist.x64 is downloaded from Microsoft page and has the following description: Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.34.31931.
When this file is executed, it creates/updates the following Registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vc\Servicing\14.0\RuntimeMinimum, Version, 14.34.31931. Accordingly, I added the following Prerequisite Condition to InstallShield:
Prerequisite Condition
Everything is OK for x64. Now I want to add VC++ x86 runtime to the same project. File VC_redist.x86, description: Microsoft Visual C++ 2015-2022 Redistributable (x86) - 14.34.31931.
When this file is executed, it creates/updates the following Registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DevDiv\vc\Servicing\14.0\RuntimeMinimum, Version, 14.34.31931.
I would like to make Prerequisite Condition by the same way, as for x64. But this doesn't work, because x64 installer actually creates two registry entries: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vc\Servicing\14.0\RuntimeMinimum and HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DevDiv\vc\Servicing\14.0\RuntimeMinimum, filling them by the same way. So, if x64 VC++ Runtime is already installed, x86 WOW6432Node condition doesn't work.
How can I solve this problem? The project has InstallScript type, so I can override installation events, if necessary. InstallShield version is 2018.
... View more
Labels
- Labels:
-
InstallShield 2018
Sep 01, 2016
06:46 AM
Thank you, the problem is solved.
... View more
Aug 28, 2016
01:19 AM
I added Microsoft Visual C++ 2015 Redistributable Package to my InstallShield project. Redistributables for VS 2015 Update 3 are downloaded from Microsoft WEB site. Generally, it works, but I have two problems: 1. After prerequisite is installed, InstallShield reports that installation failed. 2. When setup is running on computer which already has this prerequisite, it is executed again. Problem 1 is partially solved by setting this Behavior property: If, after installing the prerequisite, the conditions still indicate it is required - Continue the setup. Some problems in conditions? I have OS conditions (Windows 7 - Windows 10), and one Registry condition. x64: A registry key has a specified version value HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\VC\Servicing\14.0\RuntimeMinimum UpdateVersion 14.0.23026 Run the prerequisite if: Data on target system is not equal to specified data x86: A registry key does or does not exist HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A2563E55-3BEC-3828-8D67-E5E8B9E8B675} Run this prerequisite: If the specified registry key DOES NOT EXIST Edit: This incorrect behavior is reproduced on Windows 10 OS. On Windows 7 it seems to work as expected, if VS++ 2015 runtime already installed, setup doesn't ask to install it again.
... View more
Labels
- Labels:
-
InstallShield 2015
Aug 28, 2016
12:47 AM
Thank you, setting Generate Package Code property to Yes solved the problem. Probably something happened when installation project was upgraded from 2012 to 2015 InstallShield version.
... View more
Aug 25, 2016
07:06 AM
Thank you. This way works for new test InstallShield project I created. However, for my old existing project it doesn't work. For example, I build version 1.10.05 and install it. Then I build version 1.10.06. When it is installed over 1.10.05, setup enters to maintenance mode, and then doesn't change anything. Additional things I have tried: 1. Changing ProductCode on every build. 2. Adding new Major Upgrade item. It doesn't help, setup always works in maintenance mode. Generally, I need the following scenario: - If installed version is less than existing, stop. - If installed version is equal to existing, open Maintenance dialog. - If installed version is more than existing, make major upgrade (uninstall existing version and install new one). This is old project upgraded from 2012 version, probably some parameters are wrong and it doesn't behave like a new project. It there any way to get such the behavior I need?
... View more
Aug 25, 2016
01:16 AM
I have InstallShileld project which installs my program. Let's say I set the first version: 1.1.1.1 in General Information - Product Version field. Now I need to make a new product version, which should replace previous one, if it exists. So, I change the version to 1.1.1.2, change some project files and build installation package. When such package is executed on computer with 1.1.1.1 version, it opens Program Maintenance window, I select "Modify", "Next" etc. Finally, it doesn't modify anything, and still reports 1.1.1.1 in the "Programs and Features" window. I need to uninstall previous version and install new one to make it working. How to make a new version, which should replace an existing one, without uninstalling it? I guess this should be Product Code or Upgrade Code in General Information, but I am not sure.
... View more
Labels
- Labels:
-
InstallShield 2015
Latest posts by Alex_Farber
Subject | Views | Posted |
---|---|---|
102 | Jan 17, 2023 05:20 AM | |
4539 | Sep 01, 2016 06:46 AM | |
8426 | Aug 28, 2016 01:19 AM | |
1337 | Aug 28, 2016 12:47 AM | |
1337 | Aug 25, 2016 07:06 AM | |
4385 | Aug 25, 2016 01:16 AM |
Activity Feed
- Posted Prerequisite condition for VC++ x86 runtime on InstallShield Forum. Jan 17, 2023 05:20 AM
- Posted Re: VC++ 2015 redistributable runs again on the same computer on InstallShield Forum. Sep 01, 2016 06:46 AM
- Posted VC++ 2015 redistributable runs again on the same computer on InstallShield Forum. Aug 28, 2016 01:19 AM
- Tagged VC++ 2015 redistributable runs again on the same computer on InstallShield Forum. Aug 28, 2016 01:19 AM
- Tagged VC++ 2015 redistributable runs again on the same computer on InstallShield Forum. Aug 28, 2016 01:19 AM
- Posted Re: How to make new product version on InstallShield Forum. Aug 28, 2016 12:47 AM
- Posted Re: How to make new product version on InstallShield Forum. Aug 25, 2016 07:06 AM
- Posted How to make new product version on InstallShield Forum. Aug 25, 2016 01:16 AM
- Tagged How to make new product version on InstallShield Forum. Aug 25, 2016 01:16 AM
- Tagged How to make new product version on InstallShield Forum. Aug 25, 2016 01:16 AM