I have my install set to require Visual C++ 2010 SP1 Redistributable x86. On the majority of systems, it installs fine but every now and then I have a customer report the install appears successful but when they run my app, it complains about a missing system DLL. These are all Win7 64 systems. I have them download the vcredist_x86.exe and run it which fixes the problem. Obviously the prerequisite didn't get installed from my install.
I'm using the default settings for instaling prerequisites and wonder if maybe I need to use different settings. Here are the settings I'm using now:
Properties - Options - "Continue with main installation...." is checked. Reboot is unchecked.
Properties - Compression - unchecked.
Properties - Registration - all unchecked.
Setup Files - Location - Use files from disk
Setup Files - Main Setup File - File path points to my local vcredist_x86.exe location.
Setup Files - Additional Files - none
Setup Files - Install Command Lines - Full UI is "/q /repair /norestart". All others are blank.
Setup Files - Maintenance Command Lines - all blank and unchecked.
Install Conditions - Supported Windows Versions - Vista, Server, Win7, and Win8 are checked. Note: The latest customer that had a problem was running Win7 64 Home Premium so that should be included in my checked Install Conditions. "Install only if the Windows language is..." is unchecked.
Install Conditions - Install Conditions - "Install prerequisite based on conditions" is checked with the following:
"Registry value with specified content - HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x86\Rbld"
"Registry value with specified content - HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x86\Rbld"
"Registry value with specified content - HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x86\Bld"
"Registry value with specified content - HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x86\Bld"
NOTE: Not sure why it has each registry entry duplciated.
"Install only if all conditions are false" is selected. Other checkboxes are unchecked.
I'd rather not set it to "Always install prerequisite" as that takes longer and if it's already installed then it's unnecessary. I'm wondering though if I should use "Install only if at least one condition is false" instead of the one requiring all conditions to be false?
Thanks for any advice!
FOLLOW US
Get the latest news in Application Packaging