cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tomb18
Level 3

Installation of C++ 2017 redistributable(x86) fails

Hi,
I am using visual studio 2017 and I have a project that requires the C++ 2017 redistributables.
When I select this in visual studio it tells me that it is not installed on the local machine. So I have tried two ways to resolve this.
1) I selected download from the web
2) I selected to download from Flexera and I included this in the setup.exe

In both cases, when I try the installation, I receive a message that the installation of C++ 2017 redistributable appears to have failed. If I say continue, the install is fine.

I have tried to setup a install log, but it doesn't work. What would be the shortcut that is needed for logging?

Now, this is a new installation of visual studio(2017) and InstallShiled lite. One of the reasons I went to this from VS2010 is that my users started getting the same errors with the 2010 C++ redistributable.

It would seem that there is a newer version of the 2017 redistributable installed and that is why the version from flexera is failing.
How do I get around this? If the installer finds a newer version it should just say so, or continue without installing.
Thanks for any help.
Tom
Labels (1)
0 Kudos
(5) Replies
tomb18
Level 3

I have managed to get the log...

Here is the apparent failure..

1-31-2019[01:51:17 PM]: InstallShield setup.exe (Unicode) started, cmdline: /debuglog"C:\setupexe.log" /V"/L*v c:\SetupMSI.log"
1-31-2019[01:51:17 PM]: Relaunching setup from temp
1-31-2019[01:51:17 PM]: Attempting to launch (no wait): C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}\setup.exe /q"C:\Users\tomb1\Documents\Test Projects\Releases\TestWin4Icom\TestWin4Icom\TestWin4Icom\Express\SingleImage\DiskImages\DISK1\setup.exe" /tempdisk1folder"C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}" /V"/L*v c:\SetupMSI.log" /IS_temp /debuglog"C:\setupexe.log"
1-31-2019[01:51:35 PM]: Launch result 1
1-31-2019[01:51:35 PM]: InstallShield setup.exe (Unicode) started, cmdline: /q"C:\Users\tomb1\Documents\Test Projects\Releases\TestWin4Icom\TestWin4Icom\TestWin4Icom\Express\SingleImage\DiskImages\DISK1\setup.exe" /tempdisk1folder"C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}" /V"/L*v c:\SetupMSI.log" /IS_temp /debuglog"C:\setupexe.log"
1-31-2019[01:51:35 PM]: Extracting setup.ini...
1-31-2019[01:51:35 PM]: Extracting 'Setup.INI' to C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}\Setup.INI
1-31-2019[01:51:35 PM]: Extracting '0x0409.ini' to C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}\0x0409.ini
1-31-2019[01:51:35 PM]: Reading setup.ini from C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}\Setup.INI
1-31-2019[01:51:35 PM]: Extracting 'BetaMarker.dat' to C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}\BetaMarker.dat
1-31-2019[01:51:35 PM]: Extraction of 'BetaMarker.dat' failed
1-31-2019[01:51:35 PM]: Extracting 'EvalMarker.dat' to C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}\EvalMarker.dat
1-31-2019[01:51:35 PM]: Extraction of 'EvalMarker.dat' failed
1-31-2019[01:51:35 PM]: Extracting '' to C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}
1-31-2019[01:51:35 PM]: Extraction of '' failed
1-31-2019[01:51:35 PM]: Extracting '' to C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}
1-31-2019[01:51:35 PM]: Extraction of '' failed
1-31-2019[01:51:35 PM]: Extracting 'Setup.bmp' to C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}\Setup.bmp
1-31-2019[01:51:35 PM]: Extraction of 'Setup.bmp' failed
1-31-2019[01:51:35 PM]: Default language: 1033, got code page 1252
1-31-2019[01:51:35 PM]: Running setup prerequisites ()...
1-31-2019[01:51:35 PM]: Checking setup prerequisite 'Microsoft Visual C++ 2017 Redistributable Package (x86).prq'
1-31-2019[01:51:35 PM]: Prerequisite 'Microsoft Visual C++ 2017 Redistributable Package (x86).prq' scheduled before feature selection
1-31-2019[01:51:35 PM]: Extracting 'Microsoft Visual C++ 2017 Redistributable Package (x86).prq' to C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}\Microsoft Visual C++ 2017 Redistributable Package (x86).prq
1-31-2019[01:51:35 PM]: PrereqEngine: condition,1,2,HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{582EA838-9199-3518-A05C-DB09462F68EC},,, -- Successful
1-31-2019[01:51:35 PM]: PrereqEngine: operatingsystemcondition,6, -- Failed!,
1-31-2019[01:51:35 PM]: PrereqEngine: operatingsystemcondition,6, -- Failed!,
1-31-2019[01:51:35 PM]: PrereqEngine: operatingsystemcondition,6, -- Failed!,
1-31-2019[01:51:35 PM]: PrereqEngine: operatingsystemcondition,6, -- Failed!,
1-31-2019[01:51:35 PM]: PrereqEngine: operatingsystemcondition,5, -- Failed!,
1-31-2019[01:51:35 PM]: PrereqEngine: operatingsystemcondition,10,0,2, -- Successful
1-31-2019[01:51:35 PM]: PrereqEngine: file,,\SetupPrerequisites\VC 2017 Redist\vc_redist.x86.exe,https://download.microsoft.com/download/1/f/e/1febbdb2-aded-4e14-9063-39fb17e88444/vc_redist.x86.exe,,, -- Successful,
1-31-2019[01:51:35 PM]: PrereqEngine: execute,vc_redist.x86.exe,/q /norestart,/q /norestart,1641,3010,, -- Successful
1-31-2019[01:51:35 PM]: PrereqEngine: Id,{72AAD3AB-420C-41F0-9BE5-D854C4037DEF},http://saturn.installshield.com/is/prerequisites/Microsoft Visual C++ 2017 Redistributable Package (x86).prq, -- Successful
1-31-2019[01:51:35 PM]: PrereqEngine: behavior,Optional,,Reboot,2,Failure,
1-31-2019[01:51:35 PM]: PrereqEngine: Lua,
1-31-2019[01:51:35 PM]: PrereqEngine: Hidden,
1-31-2019[01:51:35 PM]: PrereqEngine: MsiProgress,
1-31-2019[01:51:37 PM]: PrereqEngine: file,,\SetupPrerequisites\VC 2017 Redist\vc_redist.x86.exe,https://download.microsoft.com/download/1/f/e/1febbdb2-aded-4e14-9063-39fb17e88444/vc_redist.x86.exe,,, -- Successful,
1-31-2019[01:51:37 PM]: PrereqEngine: execute,vc_redist.x86.exe,/q /norestart,/q /norestart,1641,3010,, -- Successful
1-31-2019[01:51:37 PM]: PrereqEngine: Id,{72AAD3AB-420C-41F0-9BE5-D854C4037DEF},http://saturn.installshield.com/is/prerequisites/Microsoft Visual C++ 2017 Redistributable Package (x86).prq, -- Successful
1-31-2019[01:51:37 PM]: PrereqEngine: behavior,Optional,,Reboot,2,Failure,
1-31-2019[01:51:37 PM]: PrereqEngine: Lua,
1-31-2019[01:51:37 PM]: PrereqEngine: Hidden,
1-31-2019[01:51:37 PM]: PrereqEngine: MsiProgress,
1-31-2019[01:51:37 PM]: Extracting '{72AAD3AB-420C-41F0-9BE5-D854C4037DEF}.vc_redist.x86.exe' to C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}\{72AAD3AB-420C-41F0-9BE5-D854C4037DEF}\vc_redist.x86.exe
1-31-2019[01:51:38 PM]: CSetupPrerequisite::ExecutePrerequisite
1-31-2019[01:51:38 PM]: PrereqEngine: Data File Location: C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}\{72AAD3AB-420C-41F0-9BE5-D854C4037DEF}
1-31-2019[01:51:38 PM]: Attempting to execute prerequisite: C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}\{72AAD3AB-420C-41F0-9BE5-D854C4037DEF}
1-31-2019[01:51:38 PM]: CSetupPreRequisite::ExecuteGenericPrerequisite
1-31-2019[01:51:38 PM]: PrereqEngine: Launching: C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}\{72AAD3AB-420C-41F0-9BE5-D854C4037DEF}\vc_redist.x86.exe [open] /q /norestart
1-31-2019[01:51:38 PM]: Creating new process for prerequisite, launching command line C:\Users\tomb1\AppData\Local\Temp\{AB5C83CD-ED9F-4C05-87AF-4FB537D8A7CD}\{72AAD3AB-420C-41F0-9BE5-D854C4037DEF}\vc_redist.x86.exe [open] /q /norestart
1-31-2019[01:51:38 PM]: Prerequisite process exited with return code 1638
1-31-2019[01:51:38 PM]: PrereqEngine: Return Code from EXE: 1638
1-31-2019[01:51:38 PM]: PrereqEngine: condition,1,2,HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{582EA838-9199-3518-A05C-DB09462F68EC},,, -- Successful
1-31-2019[01:51:38 PM]: PrereqEngine: operatingsystemcondition,6, -- Failed!,
1-31-2019[01:51:38 PM]: PrereqEngine: operatingsystemcondition,6, -- Failed!,
1-31-2019[01:51:38 PM]: PrereqEngine: operatingsystemcondition,6, -- Failed!,
1-31-2019[01:51:38 PM]: PrereqEngine: operatingsystemcondition,6, -- Failed!,
1-31-2019[01:51:38 PM]: PrereqEngine: operatingsystemcondition,5, -- Failed!,
1-31-2019[01:51:38 PM]: PrereqEngine: operatingsystemcondition,10,0,2, -- Successful
1-31-2019[01:51:38 PM]: PrereqEngine: file,,\SetupPrerequisites\VC 2017 Redist\vc_redist.x86.exe,https://download.microsoft.com/download/1/f/e/1febbdb2-aded-4e14-9063-39fb17e88444/vc_redist.x86.exe,,, -- Successful,
1-31-2019[01:51:38 PM]: PrereqEngine: execute,vc_redist.x86.exe,/q /norestart,/q /norestart,1641,3010,, -- Successful
1-31-2019[01:51:38 PM]: PrereqEngine: Id,{72AAD3AB-420C-41F0-9BE5-D854C4037DEF},http://saturn.installshield.com/is/prerequisites/Microsoft Visual C++ 2017 Redistributable Package (x86).prq, -- Successful
1-31-2019[01:51:38 PM]: PrereqEngine: behavior,Optional,,Reboot,2,Failure,
1-31-2019[01:51:38 PM]: PrereqEngine: Lua,
1-31-2019[01:51:38 PM]: PrereqEngine: Hidden,
1-31-2019[01:51:38 PM]: PrereqEngine: MsiProgress,
1-31-2019[01:51:38 PM]: The prerequisite appears to have failed...
1-31-2019[01:51:41 PM]: Prerequisites returning 0
1-31-2019[01:51:41 PM]: Creating setup dialog...
0 Kudos
tomb18
Level 3

Here is some more information.
I tried running my install program on a different computer that never had the c++ 2017 (x86) redistributable installed. During the install of the c++ redistributable, the installation failed yet again. If I then look in Programs and Features, it installed correctly!
So obviously something is not right in installshield.
What can I do about this?
Tom
0 Kudos
tomb18
Level 3

I have found what the issue is.
Installshield lite provides the wrong command line parameters.
Installshield does the following:

vc_redist.x86.exe /q/norestart

Notice that there is NO space between the /q and the /norestart. When this is done, the install is NOT in quiet mode and will fail if the redistributable is installed.

On the other hand doing this as vc_redist.x86.exe /q /norestart (notice the space) it will NOT give an error if the redistributable or a higher version is installed and will not attempt to uninstall it either if it is ionstalled again.
So how does one modify the command line used by InstallShield?

I should point out that this error has been there since VS 2010!
Tom
0 Kudos
tomb18
Level 3

tomb18 wrote:
I have found what the issue is.
Installshield lite provides the wrong command line parameters.
Installshield does the following:

vc_redist.x86.exe /q/norestart

Notice that there is NO space between the /q and the /norestart. When this is done, the install is NOT in quiet mode and will fail if the redistributable is installed.

On the other hand doing this as vc_redist.x86.exe /q /norestart (notice the space) it will NOT give an error if the redistributable or a higher version is installed and will not attempt to uninstall it either if it is ionstalled again.
So how does one modify the command line used by InstallShield?

I should point out that this error has been there since VS 2010!
Tom


Nope it indeed does install with the required spaces but STILL is not quiet.
0 Kudos
Jenifer
Flexera Alumni

tomb18 wrote:
Nope it indeed does install with the required spaces but STILL is not quiet.


Hi,

Just to understand bit more about where you are today with this issue,did your problem get solved?Did you still need some assistance in this matter?


Thanks,
Jenifer
0 Kudos