EDN Admin
Well-known member
Hello everyone,
I want to create a windows installer (using a Visual Studio 2008 Setup project) which checks before installing whether the VC redistributable 2008 (any version) is installed already or not. I read up on Bootstrap Manifest Generator and creating a package
that checks for a specific version of the redistributable turned out to be fairly easy when I followed the tutorial at<br/>
http://jcrawfor74.wordpress.com/2011/03/03/bootstrap-manifest-generator-2008-how-to-guide-v2/ http://jcrawfor74.wordpress.com/2011/03/03/bootstrap-manifest-generator-2008-how-to-guide-v2/
However I dont want to add a check condition for every possible version of the redistributable as there may be more after I released the installer anyway. Is there a way to check for each and every redistributable 2008 at once?
Since I didnt find a way to do that, I used a file check instead (i.e. to find mfc90.dll somewhere in the WinSxS-folder). This works fine, but I also need to be sure that msvcp90.dll and msvcr90.dll are there and if ANY of those are missing I want to install
the redistributable. If I check for each of them then the check succeeds as soon as any of them is found (like it says in the Bootstrapper Manifest Generator). But I want a check that succeeds (and therefore skips the installation of the redistributable) only
if ALL of them are found. Is there a way to do this? I dont mind editing the xml-file by hand, because once a product.xml is generated it looks fairly simple to edit (while creating one from scratch wouldve been a hassle).
If that isnt possible either, then Id like to know if it is safe to assume that a presence of mfc90.dll in the WinSxS-folder implies the presence of msvcr90.dll and msvcp90.dll. If you dont count users who feel smart by copying mfc90.dll in that folder
instead of installing the whole redistributable, then what are the odds of the other two dlls missing?
Thank you in advance for your help!
Kind regards<br/>
Squall83
View the full article
I want to create a windows installer (using a Visual Studio 2008 Setup project) which checks before installing whether the VC redistributable 2008 (any version) is installed already or not. I read up on Bootstrap Manifest Generator and creating a package
that checks for a specific version of the redistributable turned out to be fairly easy when I followed the tutorial at<br/>
http://jcrawfor74.wordpress.com/2011/03/03/bootstrap-manifest-generator-2008-how-to-guide-v2/ http://jcrawfor74.wordpress.com/2011/03/03/bootstrap-manifest-generator-2008-how-to-guide-v2/
However I dont want to add a check condition for every possible version of the redistributable as there may be more after I released the installer anyway. Is there a way to check for each and every redistributable 2008 at once?
Since I didnt find a way to do that, I used a file check instead (i.e. to find mfc90.dll somewhere in the WinSxS-folder). This works fine, but I also need to be sure that msvcp90.dll and msvcr90.dll are there and if ANY of those are missing I want to install
the redistributable. If I check for each of them then the check succeeds as soon as any of them is found (like it says in the Bootstrapper Manifest Generator). But I want a check that succeeds (and therefore skips the installation of the redistributable) only
if ALL of them are found. Is there a way to do this? I dont mind editing the xml-file by hand, because once a product.xml is generated it looks fairly simple to edit (while creating one from scratch wouldve been a hassle).
If that isnt possible either, then Id like to know if it is safe to assume that a presence of mfc90.dll in the WinSxS-folder implies the presence of msvcr90.dll and msvcp90.dll. If you dont count users who feel smart by copying mfc90.dll in that folder
instead of installing the whole redistributable, then what are the odds of the other two dlls missing?
Thank you in advance for your help!
Kind regards<br/>
Squall83
View the full article