- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Visual C++ 2019 x64 Prerequisite fails when Vi...
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Visual C++ 2019 x64 Prerequisite fails when Visual C++ 2017 x64 is installed
Thanks, @gogogroundhog. This workaround may help some people. In my case, I'm not sure our users will want to reboot in the middle of the installation, and again at the end.
I'd rather Microsoft accept responsibility for the problem and fix it, or have InstallShield make some change to accommodate whatever unexpected return value the VC++ 2019 redist installer is sending. I was dismayed that Microsoft closed the issue, and I don't know how I can get the attention of InstallShield developers to see if they can provide a fix on the IS side.

- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
If you would like to handle reboot at the end of the main installation then you can choose either of the below options from the prerequisite behavior tab
- Note it, fail to resume if the machine is rebooted, and reboot after the installation
- Ignore it, and fail to resume if machine is rebooted
Below link has more details.
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Visual C++ 2019 x64 Prerequisite fails when Visual C++ 2017 x64 is installed
Thank you, @Varaprasad. The prerequisite is set for /install /quiet /norestart. The Behavior is set to "Exit and resume on reboot" if the prerequisite appears to need a reboot. I include the SdFinishReboot dialog in OnFirstUIAfter(), so that the user will be prompted to reboot after all of the prerequisites and my software are installed. However, the problem is that the VC++ 2019 prerequisite crashes the rest of the installer. Are you saying that those settings will prevent it from crashing, and it will continue to the end of the installation?

- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Yes, those settings suppose to skip reboot flow and allow main installation to continue. Could you please try and let me know if it works for you?
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Visual C++ 2019 x64 Prerequisite fails when Visual C++ 2017 x64 is installed
It looks like your suggested setting prevents the problem. I still don't understand why the VC++ doesn't prompt for a reboot when you run it outside of InstallShield, but it does when it's run inside InstallShield as a prerequisite?
I will mark your solution as the fix, but I will wait a little bit, in case you have any ideas why VC++ behaves differently, and how to know in the future that a prerequisite requires a reboot if the external installer doesn't request it when run by itself.
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Visual C++ 2019 x64 Prerequisite fails when Visual C++ 2017 x64 is installed
@SpiderLily1
Hi,
Can you share the PRQ that you are using for the VC++ 2015-2019 prerequisite that you are using ?
I'm not certain I do it properly on my side.
Thanks.
Max.
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Visual C++ 2019 x64 Prerequisite fails when Visual C++ 2017 x64 is installed
Apparently I cannot. When I try to attach, I get "The file type (.prq) is not supported. Valid file types are: 7z, aacx, bat, bin, config, csv, dat, dl, dll, docx, eml, gif, gz, iap_xml, ini, irp, ism, issuite, jpg, lax, lic, log, mp4, msi, mst, ndi, opt, pdf, png, ppt, pptx, properties, ps1, request, response, return, rl, rul, sh, sln, tar, tar.gz, txt, vbs, xlsx, xml, zip, sql, rdp, xls, msg."
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Visual C++ 2019 x64 Prerequisite fails when Visual C++ 2017 x64 is installed
well, that's awkward. 🙂
Maybe you could copy and paste the PRQ text here (remove anything that is sensitive) ?
Max.
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Visual C++ 2019 x64 Prerequisite fails when Visual C++ 2017 x64 is installed
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Visual C++ 2019 x64 Prerequisite fails when Visual C++ 2017 x64 is installed
- « Previous
-
- 1
- 2
- Next »